00:00
00:00
610Games
i love playing games and i'm just trying to learn AS3, so wish me well.

Age 30, Male

610, 19061

Joined on 8/19/13

Level:
3
Exp Points:
50 / 100
Exp Rank:
> 100,000
Vote Power:
2.82 votes
Rank:
Civilian
Global Rank:
> 100,000
Blams:
0
Saves:
7
B/P Bonus:
0%
Whistle:
Normal
Medals:
56

4 a.m

Posted by 610Games - August 20th, 2013


Well, I had to re-install CS5.5 because CS6 sucks dick. I been fucking with this platformer tutorial for the most of the night and it's not easy. Lots of confusing things, I'll have to go through it and try to study some of it. Some piece of code that I did understand --

//This is just telling the computer when the arrow keys are being pressed down.
function keyDownHandler(e:KeyboardEvent):void{
if(e.keyCode == Keyboard.LEFT){
leftPressed = true;
} else if(e.keyCode == Keyboard.RIGHT){
rightPressed = true;
} else if(e.keyCode == Keyboard.UP){
upPressed = true;
} else if(e.keyCode == Keyboard.DOWN){
downPressed = true;
}
}


1

Comments

Comments ain't a thing here.