Search found 5 matches

by drag0natt3r
Tue Jul 04, 2017 8:41 pm
Forum: Beginner Help and Support
Topic: i need help with this peace of code
Replies: -1
Views: 4285

Re: i need help with this peace of code

i have updated the link. file:///C:/Users/RB/Desktop/maze/maze.html
take a pic and tell me whats rong
by drag0natt3r
Mon Jul 03, 2017 7:39 pm
Forum: Beginner Help and Support
Topic: i need help with this peace of code
Replies: -1
Views: 4285

Re: i need help with this peace of code

i thought it'd be something like that. but how do i solve it? i did this if(keysDown[38]) {sprite = 0; } else if (keysDown[40]) {sprite = 1; } else if (keysDown[37]) {sprite = 3; } else if (keysDown[37]) {sprite = 2; } var sprite= sprite; now the player its shown only when i press a key,else it gows...
by drag0natt3r
Sun Jul 02, 2017 4:35 pm
Forum: Beginner Help and Support
Topic: i need help with this peace of code
Replies: -1
Views: 4285

Re: i need help with this peace of code

the player moves with the keyboard arrows
by drag0natt3r
Sun Jul 02, 2017 7:16 am
Forum: Beginner Help and Support
Topic: i need help with this peace of code
Replies: -1
Views: 4285

i need help with this peace of code

i have this code <!DOCTYPE html> <html> <head> <script type="text/javascript"> var ctx = null; var gameMap = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0,...

Go to advanced search