Homestar Runner Wiki Forum

A companion to the Homestar Runner Wiki
It is currently Sun Oct 08, 2023 7:07 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Help with game maker
PostPosted: Sun Apr 23, 2006 9:45 pm 
Offline
User avatar

Joined: Wed Jul 27, 2005 2:31 pm
Posts: 845
Location: Looking for a new avatar
I'm making a mario game and when Mario lands on the ground, he can't move. But when luigi lands, he can jump but not move left or right.
When they're falling, they can move left or right. what the heck? I need help.

Luigi's object:

in the the step event:
if the posion is colission free,
Execute pice of code(
Code:
gravity_direction=270;
gravity=0.2;
)
else
Execute piece of code(
Code:
gravity_direction=270;
gravity=0;
)

in the key press event(up)
if there is a collision at the relative possion(0,1)
set the verticall speet to -10

key press left:
Execute piece of code(
Code:
x-=2
)

Key press right:
execute piece of code(
Code:
x+=2
)

Collission(ground):
move to contact possion in the direction direction at most 12 'till a collision with a solid object.




Mario:
same as luigi but the verticall speed in the key press up event is -5
and in the key press left&right events replace all 2's with 4's.

Untill then, I'm gonna work on graaaaaaa2[/code]

_________________
Alright! You win, The Noid! No more memes.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 23, 2006 10:00 pm 
Offline
User avatar

Joined: Tue Apr 26, 2005 7:32 pm
Posts: 1527
Location: England
For those who don't know, maybe you should post a link to Gamemaker?

http://www.gamemaker.nl

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 23, 2006 10:09 pm 
Offline
User avatar

Joined: Wed Jul 06, 2005 1:01 am
Posts: 6245
I didn't even read the code, it wouldn't help me unless I could test it, but I believe that they are going into the ground a pixel or two. Try something that'll make them go up.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 23, 2006 10:17 pm 
Offline
User avatar

Joined: Mon May 10, 2004 6:05 am
Posts: 5636
Location: swirlee.org for great justice
If you're really having problems with Game Maker, strongfan, why don't you try posting your question in the only place guaranteed to have Game Maker experts: The official Game Maker community.

In other words, there are probably more effective trees you could be barking up.

_________________
StrongCanada wrote:
Jordan, you are THE SUCK at kissing! YAY! Just thought you should know! Rainbows! Sunshine!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group