hexlar

Villager
Member
Joined
Oct 9, 2016
Messages
11
Reaction score
2
First Language
German
Primarily Uses
RMMZ
Heyo!
I've been trying to figure out a kind of visual calender for my game for some time but I keep running into the same problem. See, the calender - as an ingame item - now teleports the player onto a seperate map where the player funtions as a cursor. I got this working, so big deal.

However, what I want to achieve is, that the cursor just jumps from one position to the next, instead of being able to wander freely across the map. Like snapping to a grid. Here are some pictures of what I have now (haha don't judge, everything's in test phase):

KalenderHilfe2.PNGKalenderHilfe1.PNG

I tried putting everything into conditional branches, checking whatever button is pressed and moving the cursor the according direction through move routes but it just doesn't work. If the events are set to playertouch they completely ignore the player if he's standing still on them and he's free to walk everywhere he can on the map, the complete opposite of what I want, haha. Setting the events to parallel doesn't work either and individually creating teleportation events seems tedious...

Feels like I'm completely missing out on something, anyone got an idea? :)
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
3,174
Reaction score
2,434
First Language
Portuguese - Br
Primarily Uses
RMMZ
Maybe this would help:
Block the regions that you do not want for the cursor(player) walk. You can use yanfly regions plugin.
On the other side, for the snappimg effect, you put in each event a conditional branch:
If move up { set position of the player to x,y.
Im not sure if in the conditional branch has the option for press button like dpad. I know there is for shift, ok, cancel...
But you can do this as i said more easily with script command.

Then when the player press up he will be set to a position x, y, instead of walking to a position x, y
 

Latest Threads

Latest Posts

Latest Profile Posts

I've got good news and bad news. The good news is, there aren't any bad news to report. The bad news is, there aren't any good news to report.

Or as others say, yesterday was uneventful.


I am curious that can you "understand/get the point" about what does this place do generally?
(ARPG game)
If anyone knows any C# programmers, please send them my way.
Chilling at night in a tavern.
ChillingAtTavern.png

After 'multiple breakdowns', it's finally over. 10/10 will do this again.
Ever notice that villains can reform and become better people, but heroes can only ever die... or live long enough to see themselves become villains?

Isn't that interesting?

Forum statistics

Threads
129,844
Messages
1,205,657
Members
171,000
Latest member
Nurseval
Top