The Daily Click ::. Forums ::. Klik Coding Help ::. "bring to front" in a beat em up
 

Post Reply  Post Oekaki 
 

Posted By Message

gene arvan



Registered
  25/06/2005
Points
  7
25th June, 2005 at 16:21:37 -

im working on a ninjaturtles style beatemup with 8 directional movement. its coded so the player controls the shadow, and the character is always centered over the shadow, but extends vertically above it, obviously.

there are 2 players and many baddies, so how do i control overlap, making sure that when a character is lower on the screen, he is not behind a character thats higher than him on the screen..

in other words.. im assuming theres a dynamic way to use the bring to front function in a beatemup so everything looks right, and one guys feet rent in front of another guyes head..

thanks =

 
n/a

Destroyer (CrobaSoft)



Registered
  10/10/2004
Points
  1106
25th June, 2005 at 16:33:04 -

make sure the players and all of the enemies hot spots are at theyr'e feets, then use layer object to always sort by y decreasing.

Image Edited by the Author.

 
Visit www.crobasoft.com or you're a Noob.

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
25th June, 2005 at 16:52:59 -

There is an extension for MMF that automatically puts objects in front of objects behind it. It's called the Layer Object.

 
a/n

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
25th June, 2005 at 18:24:33 -

http://www.clickteam.info/extensions/extview.php?id=129

 
http://www.klik-me.com

gene arvan



Registered
  25/06/2005
Points
  7
25th June, 2005 at 23:11:39 -

thanks everyone =

 
n/a
   

Post Reply



 



Advertisement

Worth A Click