Metroidvania Game Kit (Templates)

Discuss Scirra's 2D Asset Store

Post » Tue Jun 13, 2017 9:28 pm

Tokinsom wrote:@JouBqa Yeah that's one downside to having the rooms right next to each other and on the same layout. "Is not on-screen" is probably killing the player in the beginning because it doesn't exist on the first tick - it has to be created at the position of the Player_Spawn object first. So to use that you would have to check if it exists first.


I just can't get the "is not on-screen" to work. player just dies when starting the game. I tried checking if player mask, base or spawn are on Player layer first. I tried giving player mask a "created" boolean and setting it in eMain and checking if it's true in ePlayer before killing.

and the Player_Base Y > RoomZone.BBoxBottom thing is not good because you can't jump to a room below
B
11
S
2
G
1
Posts: 26
Reputation: 700

Post » Thu Jun 29, 2017 8:09 pm

Just play other day
B
3
Posts: 1
Reputation: 177

Previous

Return to Scirra Store

Who is online

Users browsing this forum: No registered users and 3 guests