Simple Pacman method turns out to be not so simple...

mardin

"...pretty please?"
Veteran
Joined
Nov 8, 2015
Messages
252
Reaction score
125
First Language
German
Primarily Uses
I wanted to have a simple pacman event where the player gets hunted by events. Movement: Approach, Priority: Same as characters, Trigger: Player Touch, Call: Game Over.


It could have been so simple, but it turns out I have to run into the hunter to cause "Game Over". If the event (the hunter) runs into me (which is almost always the case, since he chases me and not otherwise), nothing happens. Player touch only seems to work when the player touches the event, not when the event touches the player.


So, how can I fix that?
 

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
219
First Language
English
Primarily Uses
RMVXA
Use Event Touch instead.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
Right, you need event touch. Event touch is triggered when the event runs into you, and player touch is triggered when you run into the event.
 

mardin

"...pretty please?"
Veteran
Joined
Nov 8, 2015
Messages
252
Reaction score
125
First Language
German
Primarily Uses
Nice, as simple as it can get. And it won't trigger when 2 events touch each other?
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
Nope, though if they are both on same as player the events will be unable to pass through each other. Be sure to keep that in mind.
 

mardin

"...pretty please?"
Veteran
Joined
Nov 8, 2015
Messages
252
Reaction score
125
First Language
German
Primarily Uses
Awesome. Thanks for the quick help!
 

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

Latest Threads

Latest Profile Posts

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'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,855
Messages
1,017,007
Members
137,563
Latest member
MinyakaAeon
Top