Using Arrow Keys
In the game I'm coding, the user controls his "cycle" with the A,S,D, and W keys. I wanted to use the arrow keys, but I could not get the program to acknowledge them.My current code looks like this,...
View ArticleUsing Arrow Keys
Yes Up, Down, Left and Right are the words for the arrow keys. U must set them in "" .Sub MoveCycle key= GraphicsWindow.LastKey If (key= "Up") Then delY=0 delX= 12 ElseIf (key= "Down") Then delY=12...
View ArticleUsing Arrow Keys
I tried what you told me. Instead, the "cycle" didn't move at all, no matter what key I pressed. How do I put in the GameExtension code you were talking about into my code, if that would make it work?
View ArticleUsing Arrow Keys
I don't know what is the "cycle" but how about this?cycle = Shapes.AddEllipse(10, 10) GraphicsWindow.KeyDown = MoveCycle Sub MoveCycle key= GraphicsWindow.LastKey delX = 0 delY = 0 If (key = "Up") Then...
View ArticleUsing Arrow Keys
pleasehelpmeicantcode,I've read your code VFQ142 (written in article "X and Y Variable"). It calls GraphicsWindow.TextInput = MoveCyclebut this event happen only "text" input. Arrow keys are not...
View Article