Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> gamemaker shifting every drawn action
Unspecified
mr.mario
Posted: Nov 8 2007, 05:25 PM
Quote Post


and you people thought Mugen coded in GML would never work
[*][*][*]

Group Icon
Group: Members
Posts: 4755
Member No.: 2349
Joined: 17-July 06

Status: (0d) [--]


how do I make every thing thats being drawn jump to another position, is this even possible?


--------------------
mr.mario's emulated music engine(gamemaker)http://archive.mfgg.net/index.php?showtopic=214636here

Gmugen: here
PMEmail Poster
Top
Unspecified
rabbitears
Posted: Nov 8 2007, 05:30 PM
Quote Post


Epic battle
[*][*][*]

Group Icon
Group: Members
Posts: 609
Member No.: 2911
Joined: 5-November 06

Status: (0d) [--]


While this may not be the most efficient way, it works:

Just have it be so that

if variable = x, draw this here

Then make the variable change and the location change.

So it would be:

if variable = x, draw here
if variable = y, draw there
if variable = z, draw way over there

Etc.

This post has been edited by rabbitears on Nov 8 2007, 05:30 PM


--------------------
user posted imageuser posted image
My Reference
People who sprote or drew me: LakiPlant Neopolis(old ref)
PMEmail Poster
Top
Unspecified
mr.mario
Posted: Nov 8 2007, 06:01 PM
Quote Post


and you people thought Mugen coded in GML would never work
[*][*][*]

Group Icon
Group: Members
Posts: 4755
Member No.: 2349
Joined: 17-July 06

Status: (0d) [--]


Sorry, I'm looking for a more "on the fly" way


--------------------
mr.mario's emulated music engine(gamemaker)http://archive.mfgg.net/index.php?showtopic=214636here

Gmugen: here
PMEmail Poster
Top
United States
Noone
Posted: Nov 8 2007, 10:27 PM
Quote Post


You win the prize!!!
[*][*][*]

Group Icon
Group: Members
Posts: 511
Member No.: 3101
Joined: 23-December 06

Status: (0d) [--]


CODE
with(all){
if(visable=true){
//position changing code here
};
};


--------------------
user posted image
PMEmail PosterUsers WebsiteICQAOLYahooMSN
Top
United States
Grant
Posted: Nov 8 2007, 11:38 PM
Quote Post


John Freeman said
[*][*][*][*][*]
[*][*][*]

Group Icon
Group: Members
Posts: 8260
Member No.: 2900
Joined: 31-October 06

Status: (0d) [--]


QUOTE (mr.mario @ Nov 8 2007, 05:25 PM)
how do I make every thing thats being drawn jump to another position, is this even possible?

I have no idea what this even means.

Please be more clear.


--------------------
user posted image

QUOTE (oh youtube trolls)
u guys r retarded hippocrates

QUOTE (Piemanthe3rd)
Pie is not random. I wish people would realize this.
PMEmail PosterUsers WebsiteAOLMSN
Top
Finland
Ultramario
Posted: Nov 9 2007, 02:36 AM
Quote Post


Dan Dan Dan!
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 11240
Member No.: 2164
Joined: 9-June 06

Status: (0d) [--]


QUOTE (Grant @ Nov 9 2007, 06:38 AM)
I have no idea what this even means.

Please be more clear.

*How do you make drawn stuff to change position during the game?*
I think that's what he means.


ON TOPIC: It's possible and indeed quite simple. Just have a separate variable and its value will effect to the position of the drawn stuff.


--------------------
PMEmail PosterUsers WebsiteAOL
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.0454 ]   [ 14 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.26 ]