Fangames > Programming Questions

roomChanger problem

(1/2) > >>

bart_xs:
I have made it like in klazens tutorial, where i want the player to walk off the side and send you to the next level and you walk in from the opposite side, but for some reason the game changes over to the level but my player dissapears.

I have made it like this https://imgur.com/W7Tg0zk

im using yuuutos engine

What could be the problem?

Skulldude899:
Well, are you sure you placed the playerStart object on the room you are supposed to warp to? It could be something else, but I'm not rly experienced with the Yuuutu engine.

bart_xs:
hm do i need a playerStart on the next level? In klazen tutorial it sounds like its supposed to just spawn me at the edge of the map on the opposite side.

"The roomChanger will do the rest for you, sending you to the next room, on the opposite side of the screen from where you left the last room. You shouldn't need to change it, but the actual room transition code is located in the player object's Intersect Boundary event if you want to see it."

Skulldude899:
The playerStart object makes it so the Kid spawns wherever you want, the roomChanger only leads the Kid to whichever room you want. Idk if the roomTo=rStage01 is the only code you put there, cuz that code only warps the player to the room called rStage01. Again, that might not be how it works on Yuuutu cuz I use Lemon's and I only know the basics.

lemonxreaper:
if you are using the latest version of yuuutu I think you need to use the object called "OutsideRoomChanger" as opposed to the normal roomChanger, this was made different to fix a few bugs.

Navigation

[0] Message Index

[#] Next page

Go to full version