Level's set between enemies and platforms

maxman

Well-known member
I'm not sure if I do place enemies over platforms right but coding order might be wrong I guess.


spawn  1spawn
coords  20 920 455
at      0

spawn Empty
coords 4500 920 200
at 0

spawn  Ice_Floor
coords  0 920 440
at      0

spawn  Respawn
coords  220 920 460
at      0

spawn  Ice_Block
coords  424 920 440
at      0

spawn Star
coords 700 920 600
at 0

#spawn  Empty
#coords  0 280
#at      500

spawn  Ice_Floor2
coords  781 920 632
at      17

spawn Star
coords 900 920 700
at 17

spawn  Respawn
coords  0 920 600
at      500

spawn  Ice_Panel
coords  528 920 714
at      682

#spawn  Ice_Panel
#coords 480 920 714
#at    730

spawn  Ice_Panel
coords  528 920 714
at      767

#spawn  Ice_Panel
#coords  480 920 714
#at      815

EDIT: I meant I need help here. I want to make sure if I put the enemy coords correctly. BTW Star is an enemy character.
 
Well I can't say there's anything wrong here, the best way for you is to try the level yourself and see if enemy is standing on correct platform or not.
Also since you spawned enemy offscreen quite far, you might want to spawn them closer so you can see if they are spawned correctly. If they are standing too far offscreen, they might fall down platform before you can even see them.
 
OK. I thought of using group for enemies, but I didn't put group in the code. Also, I wanted to know if group is required for enemies in a platform area 'cause I remember you said it in Lavalit. I didn't know what would be in the right order of spawning with scrollpos. (Dunno if I clearly remember it.) That's my concern. I think I did test it out. The enemy seems okay I think.
 
You have to be very very careful with grouping. Not only because it might prevent platforms to appear but it controls how enemies are spawned and thus how the level would play.

Remember, 2D games especially platformers have different rule than 3D beat'm ups. The latter usually requires player to defeat all enemies to advance.
2D platformers however doesn't have this rule. Usually they only require player to reach end of level (doesn't matter how). Because of this rule, 2D platformer mostly have static enemies which only stand blocking path or stand somewhere shooting at players.

Alright, before I go deeper on this subject, I need to ask this 1st, what is the rule in your mod? defeat every single enemy in level or just reach the end of level?
The former require special design to make it stable while the latter is simple and easier to set.
 
That means you should not use group at all. Since your level is already set to be endless, you only need to add portal to touch to end the level.

The tutorial to make such portal is ..... oh yes, it's gone. I'll repost it again :)
 
Back
Top Bottom