- This topic has 6 replies, 3 voices, and was last updated 3 years, 6 months ago by
deWiTTERS.
-
AuthorPosts
-
January 6, 2021 at 11:10 pm #32380
Dr_Héctor
ParticipantSee this video: https://youtu.be/1LcaKIAj0SY
My game: https://rpgplayground.com/game/the-modern-gym
I want to do the next:
- See the intro
- Choose be the hero, and teleport to my first level
- Go toward the first signal and read a message to introduce the player
- Start playing wth key arrows
In the 4th step, as you can see in the video, the hero… walks automaticaly and then… make disappear all the tilemaps from the level… ¿Why?
January 6, 2021 at 11:47 pm #32385Comprehensible
ModeratorHey Dr.Héctor!
I’m not sure exactly what’s happening, but there’s either a piece of the screenplay that is teleporting the hero back to the room, or a door around there doing the same thing. Maybe check if one of those two things are there?
January 7, 2021 at 4:08 am #32386Dr_Héctor
ParticipantHi Comprehensible!
Thanks for your fast answer but no… I’ve checked all your advices.
1. My only teleport code. Teleports the hero to the other level: Centro_cultural
2. Code teleports, exactly, to this door.
3. At the same point, I’ve put another tilemap, who launchs this code. That’s all.
Otherwise, as I didn’t know how it works RPG Playground, I created all the levels first, and now I’m coding the behaviour. I had one mistake, when I saw that I have to use the first level as the level who starts when someone’s play. When I detected this, I copied the level, deleted it and change the name to make another as the first and reused as Centro_cultural (sorry if my english is not the best and the process is not really clear…).
¿Maybe when I did this process… some bug was instaled in the code?
January 8, 2021 at 9:28 am #32441deWiTTERS
KeymasterI’ll take a look what’s going wrong here
January 13, 2021 at 8:15 am #32675deWiTTERS
KeymasterIn the level ‘Centro_cultural’, the invisible floor switch ’empezando_a_jugar’ contains the following last action:
tilemap becomes inactive
So if you remove that one, all will be fine 🙂
January 14, 2021 at 3:33 pm #32759Dr_Héctor
ParticipantThan you @deWitters
In the level ‘Centro_cultural’, the invisible floor switch ’empezando_a_jugar’ contains the following last action:
tilemap becomes inactive
I put the action “becaomes inactive” because if not, when the Hero walks through this tilemap after, he moves to the information post another time. And I need that just the first time that he was teleported to this tilemap moves automatically to read the information.
Do you understand me?
If doesn’t work with my idea, I’ll try to make it different 😉
January 15, 2021 at 7:05 am #32785deWiTTERS
KeymasterYeah, but in that case deactivate the invisible floor switch. Deactivating the tilemap means the background level itself will not be visible anymore.
-
AuthorPosts
- The forum ‘Get help’ is closed to new topics and replies.