Our Network: VGFacts - DidYouKnowGaming? - The Spriters Resource - Muscle Tower


User(s) Viewing This Thread: 1 Guest(s)
Post Reply 
Game Maker codings anyone knows of?
Author Message
ZeldaClassicEXPERT Offline
Member
*

Posts: 124
Joined: Jul 2008
Reputation: 12
Post: #1
Game Maker codings anyone knows of?
Code:
if ( hspeed> 0 && x < other.x )
{
  move_contact_all(direction,12);
  hspeed = 0;
}
if ( vspeed> 0 && y < other.y )
{
  move_contact_solid(direction,12);
  vspeed = 0;
}
if ( vspeed< 0 && y > other.y )
{
  move_contact_solid(direction,12);
  vspeed = 0;
}
if ( hspeed< 0 && x > other.x )
{
  move_contact_all(direction,12);
  hspeed = 0;
}

Not sure where to put something or somethings or both? Please post in this ultimate and also awesomest and also coolest thread
here > http://www.spriters-resource.com/communi...?tid=23097 thank you.

An ultimate and awesomest and coolest clear ups regarding using spriters-resource sprites, video game music, etc.
is here v
http://tinyurl.com/awesomestsuggestions which is http://greatsafety.webs.com/

The Legendary Anubis (Click to View)
12-02-2009 11:29 PM
Find all posts by this user Thank this post Quote this message in a reply
Login or Register to remove these ads!
Vipershark Online
Smells like ~Desire~
***
Moderators

Posts: 5,112
Joined: May 2008
Reputation: 115
Post: #2
RE: Game Maker codings anyone knows of?
DO you/me/other(s) know Game Maker

this is GML, by the way
at a glance, it appears to be something that would be in a collision event for a player object colliding with the floor or something.

What's the context?

(This post was last modified: 12-03-2009 08:09 AM by Vipershark.)
12-03-2009 08:09 AM
Find all posts by this user Thank this post Quote this message in a reply
[-] Thanked by
PrettyNier (12-09-2009)
Kitsu Offline
Totally Not Cookies
***

Posts: 1,804
Joined: May 2008
Reputation: 52
Resource - Sprites Steam
Post: #3
RE: Game Maker codings anyone knows of?
Yeah, it looks like something that's just supposed to be used to make something move up against a block when you collide with it.

What exactly is the purpose of this topic?

[Image: 8f2PUF][Image: opXDL.gif][Image: d2Qsj.gif][Image: Q1of][Image: YBdkSE]

What is love (Click to View)
12-03-2009 08:26 PM
Find all posts by this user Thank this post Quote this message in a reply
Alpha Six Offline
bringer of disorder
***

Posts: 4,541
Joined: Jun 2008
Reputation: 128
Facebook Last.fm Tumblr Twitter YouTube
Post: #4
RE: Game Maker codings anyone knows of?
I think he's having an issue with the code? I dunno, but if I don't find a reason for this topic to still be open later, I'm probably gonna end up locking it. Just seems like a waste of a topic (as are 90% of ZCE's topics)

12-04-2009 05:07 AM
Visit this user's website Find all posts by this user Thank this post Quote this message in a reply
PrettyNier Offline
rolling havel lightning +5zweihander asshole
***

Posts: 987
Joined: May 2008
Reputation: 60
Post: #5
RE: Game Maker codings anyone knows of?
You are supposed to post game maker scripts here to help people I guess.

I love this topic and zeldaclassicexpert.
12-09-2009 08:53 AM
Find all posts by this user Thank this post Quote this message in a reply
[-] Thanked by
Stooben (12-09-2009)
Post Reply 


Forum Jump:


 Quick Theme:


Login or Register to remove this ad!