#Spawn in previous room if dying after room transition
131 messages · Page 1 of 1 (latest)
you can set the spawnpoint of a room outside of the room!
so simply move the spawnpoint of the 2nd room to the same position that the spawnpoint of the 1st room is
upon dying in the 2nd room the player will instantly retransition back to the first room
then, you can add a change respawn trigger to the area that you consider safe ground (presumably the floor in the 2nd room at the end of the speed chain)
ooooh
let me try that
its killed me upon respawn lol
might be a save issue one sec
ill record a clip
unless u knoww whats happening
hm
so like
after entering 2nd room
and dying
you get stuck in an infinite loop of instantly dying?
oh ok so thats um
yea i don't think this'll work with the rooms shaped like that
ok i had a different room layout in mind
im not sure how to stop the void from instakilling you
lollllll
i think what you can do instead is have the default spawn point inside a solid or something and put a teleport trigger that puts you at the previous room
^ but to make things simpler just put a spike lol
like uhhh
lemme draw it
place the respawn point for the 2nd room in that topleft corner of the 1st room
and just put a spike over that respawn point
so upon dying in the 2nd room, the player will instantly go back to the first room, die, and then respawn at the bottom right
i hate that lol
if it doesnt kill the player you ccan move it up a pixel or two
i wonder if there's a helper for this
you can like tick a box to fix this
one sec
not sure that'll work great here
you can't really diagonally transition between rooms in any capacity
afaik
qhar
is the camera doin smth weidr
yeah it focuses on the first room in the map, before the first room in the clip, and when i jump it brings madeline into the doorway
where the key block is
ah ok
yeah that's what i mean by you can't transition diagonally
ok so all the rooms are perfectly placed to prevent uh
if it's trying a downward transition you'll always get pushed within the current horizontal bounds of the room
just do the teleport trigger thing tbh
ill try it, and update if it works!
also madeline can't transition vertically while grounded which is why it waited before jumping first, if this trick did work here you'd want to place the spawnpoint slightly above the ground by a px or two
but it wouldn't solve the underlying problem of it putting you in the wrong room
introducing an extra helper just to fix a room respawn is kinda weh but i do understand the frustration with a setup that kills the player twice 😭
that would be annoying to play
also judging by what the rooms look like rn it looks like walking right from 2nd room respawn will softlock the game XD
just pointin it out in case you didnt know
oh. is there a way to make a wall fade in there after walking in?
never done this before lol, first map
im not sure how to do that tbh
what i do is like
a sideways jumpthrough behind the screen
one way platform?
but thats probably not good practice
yeah
it would also add another helper
rq, how do you aadd the target of the teleport? i have the trigger, but it doesnt do anything lol
nvm
found it
you can do this with an invisible barrier
just outside the screen
one more q
thank you btw thats perfect
how do i get it to switch to the new respawn point
does the change respawn trigger have to contain the respawn point?
it just goes to the closest one by default when you touch the trigger
but when i die it just spwans me in at that point lol
instead of going to the other point in the other room
argh
put the teleport thing closer to the transition
so it defaults to that spawnpoint when you enter the room
or if that's not feasible, use a respawn target trigger near the transition (which is distinct from a change respawn trigger, this one only works immediately after screen transitioning) and place the node by wherever the setup is
ill try that out
thank yall so much for the help, this is aa weird issue. now i know that diagonal is bad lol
viv helper has spawnpoints for specifically this
I forget the exact name of them but if you search @viv into loenn it'll show things only from viv helper (technically any helper starting with viv
)
if you mean these then uhh 
uh maybe?
if they are I can probably get the placements for them rq
target (place in the first room)
{
{
Color = "White",
Depth = 5000,
OutlineColor = "Black",
ShowTexture = false,
Texture = "VivHelper/player_outline",
_fromLayer = "entities",
_id = 13,
_name = "VivHelper/InterRoomSpawnTarget",
_type = "entity",
flipX = false,
forceFacing = true,
tag = 1,
x = 16,
y = 96
}
}
spawner (put in the rooms you want to take you back to the first, with no normal spawnpoint)
{
{
Color = "White",
Depth = 5000,
Flags = "",
OutlineColor = "Black",
ShowTexture = false,
Texture = "VivHelper/player_outline",
_fromLayer = "entities",
_id = 12,
_name = "VivHelper/InterRoomSpawner",
_type = "entity",
flipX = false,
tag = 1,
x = 24,
y = 136
}
}
wait what happens if there is supposed to also be a normal spawnpoint in the room though
like it's supposed to take you back but only up until you reach a certain point in the room at which point you should just respawn there normally
I don't know quite how it works with other normal ones
might still work but I never tested it
also wait that's a different shade of purple than i remember your name being 
gg on the Mod But Better
haiii somehow I can't find these even with vivhelper installed
I'm so confused
sorry for ping but I had to grab someone's attention 
the "Ahorn":
yep
that's so sad
however you can copy paste the entity
ah that's a decent workaround
it won't show up correctly but it will be there
thanks!
it also just so happens that another mod just added this separately #modding_updates message
omg yay thanks for notifying
