Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> How do I make something happen...
United States
Weston404
Posted: Mar 1 2008, 05:57 PM
Quote Post


Cool beans
[*]

Group Icon
Group: Members
Posts: 956
Member No.: 3784
Joined: 19-May 07

Status: (0d) [--]


If image_xscale variables are the same as another object when they collide?

(GM7)


--------------------
user posted image
If a pokemon breaks it's legs, does that mean it can't sleep?
PMEmail PosterAOL
Top
Uruguay
EDGE
Posted: Mar 1 2008, 06:38 PM
Quote Post


I'll be back...
[*][*]

Group Icon
Group: Members
Posts: 2775
Member No.: 2518
Joined: 18-August 06

Status: (0d) [--]


In the collision you could try this:
if image_xscale=other.image_xscale
{
//code here
}
It may not work, but you could try it.

This post has been edited by EDGE on Mar 1 2008, 06:42 PM


--------------------
"You've been playing Super Mario Sunshine. haven't you?"
~The Yoshi Army~Team 1-Up~MFGG Submissions~Ref~
PMEmail PosterMSN
Top
Unspecified
Lightning
Posted: Mar 1 2008, 06:38 PM
Quote Post


Ignorance isn't stupidity but choosing to remain ignorant is
[*][*]

Group Icon
Group: IRC Operators
Posts: 6381
Member No.: 583
Joined: 31-August 04

Status: (0d) [--]


I'd like to take this moment to point out that this topic's title is horrible and says nothing about the issue at hand
that is all


--------------------
click here to change my avatar. / gosh why are you even here lightning
hacker, n.an individual who enjoys learning computer system details and how to capitalize on his or her capabilities...not a criminal.
(from webster's new world hacker dictionary)
fedora linux 10
Fedora 10 Final!

Download today!
quality web comics (stories):
  1. girl genius: adventure! romance! mad science!
  2. punch an' pie: try a slice of life, then swallow.
  3. dresden codak: most interesting comic ever
quality web comics (one-shots):
  1. a softer world: truth and beauty bombs
  2. smbc: saturday morning breakfast cereal
  3. buttersafe: pictures and probably some words
"Religion is comparable to a childhood neurosis." - Sigmund Freud
“It is not by delusion, however exalted, that mankind can prosper, but only by unswerving courage in the pursuit of truth.” - Bertrand Russell
“To kill an error is as good a service as, and sometimes better than, the establishing of a new truth or fact.” - Charles Darwin
PMUsers WebsiteMSN
Top
Greece
rogueyoshi
Posted: Mar 1 2008, 06:54 PM
Quote Post


Watch out for that zoo
[*]

Group Icon
Group: Members
Posts: 346
Member No.: 3742
Joined: 8-May 07

Status: (0d) [--]


QUOTE (EDGE @ Mar 1 2008, 07:38 PM)
In the collision you could try this:
if image_xscale=other.image_xscale
{
//code here
}
It may not work, but you could try it.

this will work if you're using the collision events for the collision checking.


--------------------
#SNKPlaymore @ EFnet
Don't have a clue how to play KOF? Want one? http://tinyurl.com/kofguide
Tell SNK their netcode sucks ASS!! http://tinyurl.com/snkonline

user posted image
PMAOLYahooMSN
Top
Uruguay
EDGE
Posted: Mar 1 2008, 07:26 PM
Quote Post


I'll be back...
[*][*]

Group Icon
Group: Members
Posts: 2775
Member No.: 2518
Joined: 18-August 06

Status: (0d) [--]


That's why I said "in the collision".
But you could try this if you don't want to do it in the collision event:
if place_meeting(x,y,otherobject)
{
//the above code here
}
Just mess with the codes around, it could be a simple mixed of codes, just try it.


--------------------
"You've been playing Super Mario Sunshine. haven't you?"
~The Yoshi Army~Team 1-Up~MFGG Submissions~Ref~
PMEmail PosterMSN
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0565 ]   [ 16 queries used ]   [ GZIP Enabled ]   [ Server Load: 1.28 ]