Beginners Tutorial 1 make a Platform action game

Learn how to make certain types of games and use gameEditor.

Re: Beginners Tutorial 1 make a Platform action game

Postby zxcvbnm » Sun Sep 05, 2010 10:51 pm

Ok I am trying to figure out what part your asking . Just copy and paste the part that you dont understand and include it in your next post. Then I will be able to help you.
Check out Momo AlienStarcatcher , featured in apples new and noteworthy and has 5 star reviews!!!
http://itunes.apple.com/us/app/momo-ali ... 61779?mt=8
zxcvbnm
 
Posts: 248
Joined: Sun Aug 22, 2010 7:57 pm
Score: 10 Give a positive score

Re: Beginners Tutorial 1 make a Platform action game

Postby NightOfHorror » Mon Sep 06, 2010 5:57 pm

okay


Click add and close the small window....now where it says add next to where you type move click on the add and the words dissapear.


I just don't see where it says add next to where
viewtopic.php?f=2&t=12136
"I have not failed. I just found 10,000 ways that wont work." quoted by Thomas Edison.
Over the year, I decided my motto for me is I am knowledgeable, but not practical.
User avatar
NightOfHorror
 
Posts: 1823
Joined: Fri Aug 27, 2010 2:50 am
Location: Cedar Hill, MO, of the USA
Score: 51 Give a positive score

Re: Beginners Tutorial 1 make a Platform action game

Postby TSO » Mon Sep 27, 2010 3:33 pm

NightOfHorror wrote:okay
Click add and close the small window....now where it says add next to where you type move click on the add and the words dissapear.

I just don't see where it says add next to where


Click 'add' next to where you would type 'move'. Click on add and the words disappear.
That is a more accurate description to anyone that cares.

krenisis wrote:You have done much work with this, and that's great you help people. :D
But your tutorial has one problem. It's moonwalk....... I found out that my actor keeps repeating two first frames of animations all the time while moving. But it's easy to fix. :D

Add variable called direction (or what you want) and then change the moving script to be like this:
(key right)
Code: Select all
x+=10;
if(direction!=1)
{
    ChangeAnimation(blah blah blah all this... xD);
    direction=1;

    //First line checks if the value of direction is some else than 1
    //Second line changes the animation
    //And third line makes direction equal to 1, so it can't repeat changing animation
}

This way the variable direction can hold all the directions, then you just have to decide different values for all directions and change them to the code. :D I hope this helps you to help people! :)

I'm dealing with this problem now. And don't quite understand this fix.
Where does it get the variable 'direction' to check if it is not equal too one? Make it a global like jump?
And i supposed if the if statement checks out it doesn't repeat 'ChangeAnimation'??
I'll see if I can get this to work.

EDIT:
I got it now. It sorta tricks it self by stopping any further recalling of 'ChangeAnimation'... but the animation doesn't stop after the first call either so it looks normal.
Clever in a way.

I figured if it stopped being called upon it would default my character to his 'idle' animation. I have it to do so for both right and left keys when 'key up' to go idle yet it works anyway... odd since I'm only holding walk left down yet right is up and no idle glitching... guess I'll learn that mystery another time.

This didn't click in my head with the !=1 trick.
I tried it exactly your way for walking left and saw the results.
Copy paste to walking right script and change the 1's to 2's and animation from WalkL to WalkR.

Used a 'moveing' global variable instead of 'direction' which is already in use by GE I suspect.
Yes 'moveing' is spelled wrong.

Thx for tutorial and movement with animation code.
TSO
 
Posts: 87
Joined: Thu Sep 02, 2010 5:53 pm
Score: 4 Give a positive score

Re: Beginners Tutorial 1 make a Platform action game

Postby lcl » Mon Sep 27, 2010 6:24 pm

So, TSO, do you still have some problem with movement..? I could help you. :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Beginners Tutorial 1 make a Platform action game

Postby happycrab » Fri Oct 15, 2010 6:30 am

very nice thank you! :D
~Meow~
User avatar
happycrab
 
Posts: 16
Joined: Fri Oct 15, 2010 3:48 am
Location: USA
Score: 0 Give a positive score

Re: Beginners Tutorial 1 make a Platform action game

Postby again » Thu Feb 24, 2011 4:16 pm

Click add and close the small window....now where it says add next to where you type move click on the add and the words dissapear. Now click close and save your game.

Okonscreen there is no next to .. If you look it means look next , I should have use the word look.
Free windows mobile games like doodle jump and super mario bros
http://krenisis.freeforums.org/
again
 
Posts: 258
Joined: Wed Jan 19, 2011 7:06 pm
Score: 33 Give a positive score

Re: Beginners Tutorial 1 make a Platform action game

Postby aamod » Sat Oct 19, 2013 12:22 pm

Please give me video for jump
aamod
 
Posts: 5
Joined: Tue Oct 08, 2013 3:28 pm
Score: 0 Give a positive score

Re: Beginners Tutorial 1 make a Platform action game

Postby stormknife » Fri Feb 28, 2014 12:34 am

Please help :( i cant find this in game editor im using (1.4.0) please tell me if im wrong or its not visible in GE im using. thanks n more power.


(here) ::Go to the top of your screen where it has a tab called script.Click on that tab and a big menu will open up. Ok now type this in the menu

jump;

Now on the lower part of the menu it has the word name and next to it a space// in the space next to name type

move
stormknife
 
Posts: 1
Joined: Thu Feb 27, 2014 1:27 am
Score: 0 Give a positive score

Re: Beginners Tutorial 1 make a Platform action game

Postby Hares » Sat Mar 01, 2014 5:40 pm

stormknife wrote:(here) ::Go to the top of your screen where it has a tab called script.Click on that tab and a big menu will open up. Ok now type this in the menu

jump;

Now on the lower part of the menu it has the word name and next to it a space// in the space next to name type

move


On the top of the game editor screen you see a button "Script":

Image

If you click on "Script" you can choose "Global code".
When you choose that, a big window will pop up, like this:
Image

That is the screen you need for this step in the tutorial.
User avatar
Hares
 
Posts: 105
Joined: Fri Dec 20, 2013 8:39 pm
Location: Belgium
Score: 14 Give a positive score

Previous

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest