Game Development Reference
In-Depth Information
On the event selection window, click on Keyboard and then on <Left> . This will add a
new event to our object. This event will be triggered at every step while the key is being
held down. This will allow us to move the object while the key is being pressed.
Add another event for < Right> , <Up> , and <Down> by repeating the process we men-
tioned earlier. We now have an event for each arrow key.
In the blank box to the right, we put our actions. Each event can have its own actions. Ac-
tions can be either drag and drop or code. In this case, we will be using drag and drop. To
Search WWH ::




Custom Search