Page 1 of 1
		
			
				Im a dumbass, I need help
				
Posted: 
Mon Nov 21, 2005 3:44 amby Randum Idoit
				Okay, Okay, this is really dumb, but I need help on getting my little guy to move.
So I got to the keydown event, pressed the up key, clicked add action, now im lost. This is embarrasing and probably dumb, but I really would like help on this. 

 
			
		
			
				
				
Posted: 
Mon Nov 21, 2005 6:25 pmby makslane
				Add a "Move To" action and:
- set a positive x value to move right
- set a negative x value to move left
- set a positive y value to move down
- set a negative y value to move up
Relative to "Event Actor"
Velocty: 1000
			 
			
		
			
				
				
Posted: 
Mon Nov 21, 2005 10:37 pmby Randum Idoit
				While I have this topic, I need one more thing.
How do I the background actually in the back. Whenever I move the guy I made just goes behind the background.
			 
			
		
			
				
				
Posted: 
Mon Nov 21, 2005 11:25 pmby willg101
				Make the Z-Depth of your background "0".
			 
			
		
			
				
				
Posted: 
Tue Nov 22, 2005 12:06 amby Randum Idoit
				willg101 wrote:Make the Z-Depth of your background "0".
Thanks, I'll try not to ask anyore questions for a while now... :p
 
			
		
			
				
				
Posted: 
Tue Nov 22, 2005 1:31 amby willg101
				Don't worry about it! That's what we're here for!
			 
			
		
			
				
				
Posted: 
Tue Nov 22, 2005 11:48 pmby Randum Idoit
				Well since you put it that way...
Okay, im looking to make a bullet move. I have the bullet created once I press spacebar, but it doesn't move. All I need is how to make it move though, I know what to do for the collision.
			 
			
		
			
				
				
Posted: 
Wed Nov 23, 2005 1:18 amby willg101
				Do event > key down > spacebar > script editor
- Code: Select all
- xvelocity=z;
where 
z equals how fast the bullet moves, positves numbers move right, negative numbers move left.
 
			
		
			
				
				
Posted: 
Wed Nov 23, 2005 1:54 amby Randum Idoit
				Now, do I do this code for the bullet or the guy that shoots the bullet? Im guessing the bullet.
Edit:I got it, thanks for all of your help.
			 
			
		
			
				
				
Posted: 
Wed Nov 23, 2005 12:46 pmby makslane
				Move the bullet in the "Create Actor" event.
So, when your player create new bullets, they will move.