Rookie Needs Help! Character won't walk on platforms...
My character keeps falling through my platforms, and I can't figure out what I'm doing wrong. Here is what I have...
stop();
import flash.events.KeyboardEvent;
var KeyIsDown:uint;
var rightKeyIsDown:Boolean = false;
var leftKeyIsDown:Boolean = false;
var upKeyIsDown:Boolean = false;
var downKeyIsDown:Boolean = false;
var canJump:Boolean = false;
var gravity:Number = 2;
var yVelocity:Number = 0;
var wall_mc:Wall_mc = new Wall_mc();
addChild(wall_mc);
I fixed the name and got rid of the var with the wall_mc rule, and put one instance of the block. I then double clicked it and added jpg of the object in the mc.