This is driving me mad :D

Get help using Construct 2

Post » Sat Oct 18, 2014 4:06 pm

Hi, is there any way to disable touch functions? for example when i pause my game. when i press the directional buttons it still performs the animations and it's driving me insane :p Thx
B
5
S
1
Posts: 25
Reputation: 427

Post » Sat Oct 18, 2014 4:11 pm

on pause -> set animation speed to 0

or

on pause
- > [game logic here]

on pause off
-> [menu logic here]
Developing Surolace, the survival role playing space game.

surolace-survival-role-playing-space-game_t116953
B
14
S
4
Posts: 303
Reputation: 1,730

Post » Sat Oct 18, 2014 4:33 pm

As I said in the previous topic you opened about the exact same question.. (Why would you do that?)

Put the events in seperate groups and activate/de-activate those groups based on whether or not the game is paused..
If you put the on touch events for the game in a group, they won't trigger if the group is de-actvated..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Oct 18, 2014 5:56 pm

https://www.scirra.com/manual/80/groups


TIL about event groups that let you switch groups of game logic on and off at runtime. Very cool, not sure how I've missed this one.
Developing Surolace, the survival role playing space game.

surolace-survival-role-playing-space-game_t116953
B
14
S
4
Posts: 303
Reputation: 1,730


Return to How do I....?

Who is online

Users browsing this forum: FilmosYT and 15 guests