Im a dumbass, I need help

Talk about making games.

Im a dumbass, I need help

Postby Randum Idoit » Mon Nov 21, 2005 3:44 am

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. :oops:
Randum Idoit
 
Posts: 5
Joined: Mon Nov 21, 2005 3:39 am
Score: 0 Give a positive score

Postby makslane » Mon Nov 21, 2005 6:25 pm

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
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Randum Idoit » Mon Nov 21, 2005 10:37 pm

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.
Randum Idoit
 
Posts: 5
Joined: Mon Nov 21, 2005 3:39 am
Score: 0 Give a positive score

Postby willg101 » Mon Nov 21, 2005 11:25 pm

Make the Z-Depth of your background "0".
http://www.wish-games.com
Old betas now available!!
User avatar
willg101
 
Posts: 473
Joined: Thu Dec 16, 2004 12:08 am
Location: West Michigan
Score: 5 Give a positive score

Postby Randum Idoit » Tue Nov 22, 2005 12:06 am

willg101 wrote:Make the Z-Depth of your background "0".


Thanks, I'll try not to ask anyore questions for a while now... :p
Randum Idoit
 
Posts: 5
Joined: Mon Nov 21, 2005 3:39 am
Score: 0 Give a positive score

Postby willg101 » Tue Nov 22, 2005 1:31 am

Don't worry about it! That's what we're here for!
http://www.wish-games.com
Old betas now available!!
User avatar
willg101
 
Posts: 473
Joined: Thu Dec 16, 2004 12:08 am
Location: West Michigan
Score: 5 Give a positive score

Postby Randum Idoit » Tue Nov 22, 2005 11:48 pm

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.
Randum Idoit
 
Posts: 5
Joined: Mon Nov 21, 2005 3:39 am
Score: 0 Give a positive score

Postby willg101 » Wed Nov 23, 2005 1:18 am

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.
http://www.wish-games.com
Old betas now available!!
User avatar
willg101
 
Posts: 473
Joined: Thu Dec 16, 2004 12:08 am
Location: West Michigan
Score: 5 Give a positive score

Postby Randum Idoit » Wed Nov 23, 2005 1:54 am

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.
Randum Idoit
 
Posts: 5
Joined: Mon Nov 21, 2005 3:39 am
Score: 0 Give a positive score

Postby makslane » Wed Nov 23, 2005 12:46 pm

Move the bullet in the "Create Actor" event.
So, when your player create new bullets, they will move.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest