Showing controls

A controls object is one which allows you to control a prerecorded game. It provides with 6 buttons to control the game. You need a place for your controls, so place something like this somewhere in your html:

<div id="myid"></div>
Then you can create a Controls object from your javascript code by calling the constructor of Controls.
var controls=new Controls({
	id:'myid'
})

Here is the result:

Copyright Mark Veltzer © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 mark.veltzer@gmail.com