The Daily Click ::. Forums ::. Klik Coding Help ::. Need help concerning the object "Bring to front/Bring to back" option.
 

Post Reply  Post Oekaki 
 

Posted By Message

MIG2



Registered
  26/07/2003
Points
  936
29th April, 2005 at 21:25:47 -

I am building a beat them all ( like double dragon , final fight, Streets of rage etc...).
I have a serious problem , when 2 characters are overlapping each other i can easily bring to front the character who is lower than the other .

http://perso.wanadoo.fr/thetgfbigboss/overlap.gif

When several sprites are overlapping , i may have this problem.

http://perso.wanadoo.fr/thetgfbigboss/overlap2.gif

I have no idea to solve that problem , please help !!

Image Edited by the Author.

Image Edited by the Author.

 
n/a

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
29th April, 2005 at 21:35:34 -

Have you tried adding

Enemy overlapping enemy + EnemyY > EnemyY -- Bring Enemy to back

It's a really, really spotty event for those of you who know better, but it does sometimes work.

The only other way I could think of was to build an ID tagging system in Fastloops.

 
Craps, I'm an old man!

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
29th April, 2005 at 23:55:26 -

http://create-games.com/article.asp?id=1334

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
30th April, 2005 at 01:21:59 -

Layer Extension, It automatically orders your objects by Y axis, X axis or alterable value.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

MIG2



Registered
  26/07/2003
Points
  936
30th April, 2005 at 10:02:16 -

Thanks very much for yours posts

Shabadage : your solution is the one i used first but it's not effective when more than 2 objects are overlapping each other.

Radix : your foregrounding tutorial is very good .

Assault Andy : The layer extension works amazingly , thanks very much for the tips

 
n/a
   

Post Reply



 



Advertisement

Worth A Click