im a newbi

Game Editor comments and discussion.

im a newbi

Postby Bonix » Fri Nov 11, 2005 2:21 pm

ok so im new and the tutorials dont help me figure out how to make an actor jump if i press w or up etc.

can anyone help me?
You can do it.... all... night... long!
Image
Bonix
 
Posts: 2
Joined: Fri Nov 11, 2005 2:18 pm
Score: 0 Give a positive score

Postby Kodo » Fri Nov 11, 2005 2:36 pm

When i was starting out I found an example here in the forums somewhere, complete with ged file to download so I could see how to do it... it's always worth using the forums Search feature to find answers as most things seem to have been covered before :) I'll see if I can find it for you!
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

Postby Kodo » Fri Nov 11, 2005 2:38 pm

Take a look at this...

http://game-editor.com/forum/viewtopic. ... light=jump

Check out the post by jazz_e_bob for a file with example in

One thing to remember is that there usually more than one way to do anything, I started with this example but now do it differently, the end result is the same though :)

Hope that helps!
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

Postby Bonix » Fri Nov 11, 2005 3:12 pm

Thanks and thanks but i used the pong download to maek a pong gamew and well i can figureout how they got the ball to well bounce around and is there a way to, on start up of the game, have somethink that says "Press Enter"

i know i am asking alot but i just cant read c++ or anything

THX SO MUCH :D
You can do it.... all... night... long!
Image
Bonix
 
Posts: 2
Joined: Fri Nov 11, 2005 2:18 pm
Score: 0 Give a positive score

Postby Chai » Wed Nov 16, 2005 10:30 pm

may be you can look the tutorial in the GE because it's tell u the basic how to Make the 2d platform game

wish u luck
-- the power is your >_<
User avatar
Chai
 
Posts: 361
Joined: Sat Apr 30, 2005 2:26 pm
Location: Thailand
Score: 30 Give a positive score

Postby willg101 » Thu Nov 17, 2005 1:58 am

1. Event > key down > "w" > script editor >
Code: Select all
yvelocity-=4;

2. Event > draw actor > script editor >
Code: Select all
yvelocity+=.5;


Here you have in (step 1) the code for jumping, making the number higher will make you jump higher.

In (step 2) you have gravity. Making this number higher will increase gravity.
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


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron