Page 1 of 7

Automail10's Begginers (Now advanced) Teachings

PostPosted: Mon Jul 30, 2007 11:27 pm
by automail10
Hello begginer.

This is the topic tutorials for the begginers.
(like for the people that haven't expirienced it yet.)

Lesson 1. To create an actor, click add actor. after you clickon it,
you will see the add actor menu. name you'r actor and choose the type.
you created an actor after you click OK.

PostPosted: Tue Jul 31, 2007 12:33 am
by supa-tails
For beginers who want to move or jump.

First add an animation using either 1 page of sprites organized from up to down, or have different files and name them the same.(tailsfly1 tailsfly2 tailsfly3)

Then add keydown and press the right button, then do a script editor: x = x + 8; and also add a change animation.

And for the left type left type x = x - 8;

Then click on the upper button saying script, and global code, then click the bottom right button saying Variabals and click add, then type canjump.

Then make a ground actor called ground or something and add a collision on the player and a script editor saying: canjump = 1; Then add a collision, physical response, 1
1
0
1
And add it.

THEN add a key down and press your jump button, then script editor saying:

if(canjump==1)
{
yvelocity = -8;
canjump=0;
}

THEN add a global code/variabal called floater.

AND LAST BUT NOT LEAST, add a draw actor for your player and a script editor saying:

if (floater==0)
{
yvelocity += .3;
if(yvelocity > 20) yvelocity = 20;
}
if (floater==1 && canjump==0)
{
yvelocity += .2;
if(yvelocity > 20) yvelocity = 20;
}



:D :D :D THE END!!! :D :D :D

PostPosted: Tue Jul 31, 2007 2:01 am
by automail10
supa-tails wrote:For beginers who want to move or jump.

First add an animation using either 1 page of sprites organized from up to down, or have different files and name them the same.(tailsfly1 tailsfly2 tailsfly3)

Then add keydown and press the right button, then do a script editor: x = x + 8; and also add a change animation.

And for the left type left type x = x - 8;

Then click on the upper button saying script, and global code, then click the bottom right button saying Variabals and click add, then type canjump.

Then make a ground actor called ground or something and add a collision on the player and a script editor saying: canjump = 1; Then add a collision, physical response, 1
1
0
1
And add it.

THEN add a key down and press your jump button, then script editor saying:

if(canjump==1)
{
yvelocity = -8;
canjump=0;
}

THEN add a global code/variabal called floater.

AND LAST BUT NOT LEAST, add a draw actor for your player and a script editor saying:

if (floater==0)
{
yvelocity += .3;
if(yvelocity > 20) yvelocity = 20;
}
if (floater==1 && canjump==0)
{
yvelocity += .2;
if(yvelocity > 20) yvelocity = 20;
}



:D :D :D THE END!!! :D :D :D


Thanks supa_tails! :D :D :D :) :D :D :D :) (the tutorial that supa_tails just said and contained in the quote i recondemened you learn
after you learn the simple things.)

PostPosted: Tue Jul 31, 2007 2:05 am
by supa-tails
Hopefully begginers will refer to this part of the forum. :D

PostPosted: Tue Jul 31, 2007 2:37 am
by automail10
hopefully, i will attract begginers that haven't expienced Game Editor
yet thanks to you supa_tails.

PostPosted: Tue Jul 31, 2007 2:41 am
by automail10
Lesson 2. to make an actor move.

to go right:
Code: Select all
x=x+5;


to go left:
Code: Select all
x=x-5;


your actor will now move.

Lesson 3. to test a game, do the following.

    click game mode and press left and right keys or whatever your movement
    key are.


you have tested the game.

PostPosted: Tue Jul 31, 2007 3:31 am
by Rux
automail10 wrote:
to go right:
Code: Select all
x=x+5;


to go left:
Code: Select all
x=x-5;




You can also type

Code: Select all
x+=5;
Wich is a shorter way of going right.
Code: Select all
x-=5;
Wich is a shorter way of going left. :wink:

PostPosted: Tue Jul 31, 2007 2:38 pm
by automail10
Rux too, Yay! hopefuly begginers will refer to difrrent parts of the topic.

PostPosted: Tue Jul 31, 2007 2:50 pm
by automail10
Lesson 3. how to make RPG movements up and Down.

to go up

Code: Select all
y-=5

or
Code: Select all
y=y-5


to go down

Code: Select all
y+=5


or

Code: Select all
y=y+5

PostPosted: Tue Jul 31, 2007 3:24 pm
by supa-tails
Hey, yeah, that could be important for RPG fans! (I just now woke up and it's 11:24 in the morning!!! :shock:

PostPosted: Tue Jul 31, 2007 3:32 pm
by automail10
Lesson 4. To make the view follow the player.

Select the Veiw Actor and make the player the parent of the view.

PostPosted: Tue Jul 31, 2007 3:46 pm
by supa-tails
Oh yeah! That's very important! I almost forgot! You wouldn't want your character walking off screen. :D

PostPosted: Tue Jul 31, 2007 4:34 pm
by Freddy
Lesson 4, or is it 5? anyway, animations.
Nobody wants to play a game with a dumb pacman. Thats why GE has the add animation option. In the actor control menu, select add animation. Here, you can give your actor animations that you copied or have drawn. I like use microsoft paint personally. When you have chosen an image you like, press ok. And now your actor is someone else! :D

PostPosted: Tue Jul 31, 2007 4:46 pm
by automail10
Freddy! you'r teaching too, yay!

PostPosted: Tue Jul 31, 2007 4:47 pm
by automail10
Rux wrote:
automail10 wrote:
to go right:
Code: Select all
x=x+5;


to go left:
Code: Select all
x=x-5;




You can also type

Code: Select all
x+=5;
Wich is a shorter way of going right.
Code: Select all
x-=5;
Wich is a shorter way of going left. :wink:


Rux, one point for you!