Game logic for RANDOMIZED MAPPING

Ziudiu

Knowledger
Member
Joined
Mar 20, 2018
Messages
2
Reaction score
7
First Language
Portuguese
Primarily Uses
RMMV
Hi ALL,

I discovered months ago the card solitaire game ZIMP (Zombies In My Pocket). I already know that there is the downloadable version for mobiles. Yet, just for knowledge, I was trying to make a game based on ZIMP.
Link for detailed info HERE.​

So, the game is based, the feature that I want to make functional is to randomly point what the next map that the player in going to go. MAP (in RM) = TILE (in ZIMP). Like drawing a card, when the Player goes through a door, I want to set the next map to be Kitchen or Bedroom, and so on. But, it need to have the option to go back to previous room, so I need a remembering system for the MAP's ID's.
Right now, I got this far:
and it works like this:
It works, the randomize system to go to new rooms.​
Yet, when trying to make the comeback to previous room, it transfers me to a black map with the Ships of the games on top of one another, like a debug map or, I think, it's the MAP ID 0 (zero). The logic is like this:
Note: The Text in the middle, 'OI JULIETA!' was to check if the Commands were happening. The Text was not show/command were not happening. So the Else was not happening, still, a transferring player occurred, even when on other Room (C or D) there were NOT the B Room.

I want to discover where is the logic ERROR and make it work without using Plugins.
Either way, if you know any Plugin that can help make that system, i would like to try it.
Also, is there a game, made with RM's that use this system? I would like to see.
Can you help me?
:95:
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Requests. Please be sure to post your threads in the correct forum next time. Thank you.

 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I don't understand why you need a plugin for this. I haven't looked at your images (too lazy to open half a dozen other windows then switch between them trying to find the one I'm looking for).

Before you teleport to the random location, use Control Variables to set three variables to the current map ID, player X and player Y coordinates. When you are ready to transfer back, just use those variables in the Transfer command.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top