HELP ME

Game Editor comments and discussion.

HELP ME

Postby Setokyo » Fri Jul 09, 2010 1:58 am

Hi i am new to game-Editor and game making i need a easy tutorial on making a simple game wit one lvl
can anyone help me wit this
thank you if you can
:D :mrgreen:
Laws control the lesser man. Right conduct controls the greater one

"I'd rather be hated for who I am than loved for who I am not
User avatar
Setokyo
 
Posts: 85
Joined: Fri Jul 09, 2010 1:52 am
Location: Holetown barbados
Score: 3 Give a positive score

Re: HELP ME

Postby jimmynewguy » Fri Jul 09, 2010 2:06 am

um. can you be just a little more specific? a game with one level could really be anything :)
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: HELP ME

Postby Setokyo » Fri Jul 09, 2010 2:20 am

Something like a Mario type like game
and one lvl
:D
Can you help? :)
Can anyone
Laws control the lesser man. Right conduct controls the greater one

"I'd rather be hated for who I am than loved for who I am not
User avatar
Setokyo
 
Posts: 85
Joined: Fri Jul 09, 2010 1:52 am
Location: Holetown barbados
Score: 3 Give a positive score

Re: HELP ME

Postby krenisis » Fri Jul 09, 2010 4:09 am

ok i made one here
viewtopic.php?f=4&t=8572
Tutorial Database for all beginners click this link
viewtopic.php?f=4&t=8680
krenisis
 
Posts: 606
Joined: Sat Jul 25, 2009 3:27 pm
Score: 51 Give a positive score

Re: HELP ME

Postby Setokyo » Fri Jul 09, 2010 3:19 pm

I don't get the
if(jump==1)
{
yvelocity=-20;
jump=0;
}
can you help me on this more in depth?
Laws control the lesser man. Right conduct controls the greater one

"I'd rather be hated for who I am than loved for who I am not
User avatar
Setokyo
 
Posts: 85
Joined: Fri Jul 09, 2010 1:52 am
Location: Holetown barbados
Score: 3 Give a positive score

Re: HELP ME

Postby DilloDude » Fri Jul 09, 2010 3:37 pm

In this case jump is a variable created to store a true/false (1/0) value, representing whether or not you can jump.
Code: Select all
if (jump == 1)

this is an "if" statement - a type of conditional. In this case, the condition is "jump == 1". The "==" makes a comparison, so it will return true if both values (jump and 1) are equal.
After this there is a code block, which is surreounded by { } This is what should be done if the condition (jump == 1) returned true.
Code: Select all
yvelocity = -20;

This sets the event actor's (the actor the event is on) velocity on the y-axis to -20; that is, moving upwards at twenty pixels per frame.
Code: Select all
jump = 0

This sets jump back to zero, so that next time the event occurs, the condition at the start will return false, so we can't keep jumping indefinately. We must wait for some other action (presumably a collision with the ground) to set jump back to 1.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Re: HELP ME

Postby Setokyo » Fri Jul 09, 2010 3:44 pm

Thanks

So that's it 2 make him Jump?
Laws control the lesser man. Right conduct controls the greater one

"I'd rather be hated for who I am than loved for who I am not
User avatar
Setokyo
 
Posts: 85
Joined: Fri Jul 09, 2010 1:52 am
Location: Holetown barbados
Score: 3 Give a positive score

Re: HELP ME

Postby krenisis » Sat Jul 10, 2010 12:20 am

Ok yes that is to make him jump properly. If you dont use that code , your charactor will be jumping all over the place. If your having trouble , go back to the tutorial and go slowly. It should cover that question and more.
Tutorial Database for all beginners click this link
viewtopic.php?f=4&t=8680
krenisis
 
Posts: 606
Joined: Sat Jul 25, 2009 3:27 pm
Score: 51 Give a positive score

Re: HELP ME

Postby Setokyo » Sat Jul 10, 2010 2:40 am

Thanks you all :mrgreen:
Laws control the lesser man. Right conduct controls the greater one

"I'd rather be hated for who I am than loved for who I am not
User avatar
Setokyo
 
Posts: 85
Joined: Fri Jul 09, 2010 1:52 am
Location: Holetown barbados
Score: 3 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest