76
Resolved Questions / follow the line game **SOLVED**
« on: July 18, 2014, 11:11:10 pm »
so i have a few questions.
1. how do i set an actor to move a set distance when a key is pressed? i cant get it to stop moving after the key is pressed( is there a way to move it across so many pixels?)
2. how do i spawn my already created lines, that show up when you press play and then starts moving downwards towards the bottom but i need it to spawn another one so it looks like one continuous line? is there a block for that?
3. the player u control is a cube and you have to move from side to side to follow the line if you dont the line carries u off the screen and you die but if you move over and you touch a vertical collision side you get carried down as well i need it to just slide down with no effect on the player/cube? The player can only move down if the player runs into a horizontal line not a vertical line! how do i put no friction on those vertical sides?
Thanks for all your help if its confusing i can add pictures as well.
1. how do i set an actor to move a set distance when a key is pressed? i cant get it to stop moving after the key is pressed( is there a way to move it across so many pixels?)
2. how do i spawn my already created lines, that show up when you press play and then starts moving downwards towards the bottom but i need it to spawn another one so it looks like one continuous line? is there a block for that?
3. the player u control is a cube and you have to move from side to side to follow the line if you dont the line carries u off the screen and you die but if you move over and you touch a vertical collision side you get carried down as well i need it to just slide down with no effect on the player/cube? The player can only move down if the player runs into a horizontal line not a vertical line! how do i put no friction on those vertical sides?
Thanks for all your help if its confusing i can add pictures as well.