Clickteam Fusion 2.5

Clickteam Fusion 2.5

Alpha17x Jun 26, 2015 @ 9:28pm
Effect method of having a pause button for android?
Is there an 'easy' method of having a simple pause button for android? The normal in-built version is easy enough to pause with but doesn't seem vaiable to allow for an unpause.

I've also grouped every event other than the pause/resume events under one main group and tried to make it so those groups are 'disabled' upon pressing pause, but even that doesn't work. It just ignores having been pressed.

Overall CTF is great but I find it puzzling that a basic action like pausing a game still seems to be one of the most unecessarily complicated things to do. :(

I'm sure i'll get it eventually but it sure would be nice if that normal pause/unpause event was useful... for something more modern than Windows 95.
< >
Showing 1-3 of 3 comments
Squatter Jun 26, 2015 @ 10:40pm 
so havent messed with android but on the iOS side this how i get the CTF pause function to work:

You can change this all around, but I set it up to put up another screen (you could make Pause Screen semi-transparent)

Condition 1:
User Clicks with left button on Button X
and
Value = 0
and
Pause Screen is invisible (I attach this to all buttons that are clickable so that when the pause screen is up, you cannot accidently click any other button... mind you that my Pause screen covers the ENTIRE screen)
-->
Set Value to 2 (I attach this value to the Button)
and
Pause Screen reappear

Condition 2:
Value = 2
-->
Set Value to 1
and
Pause application and resume when anykey is pressed

Condition 3:
User Clicks with left button on Pause Screen
and
Value = 1
-->
Pause Screen Make invisible
and
Set Value to 0
----------------------------------------

Now if you want buttons to work on your pause screen just dont add the condition "Pause Screen is invisible" to the button

then you also need another condition to negate clicking on the pause screen but click on that button

like so

Condition 4:
User Clicks with left button on Button A
and
A is visible (remember to make Button A visible when Pause comes up and invisble when Pause goes away to stop accidental button clicking)
-->
Whatever you want button to do

Condition 5: (Replaces Condition 3)
User Clicks with left button on Pause Screen
and
X mouse pointer is over Button A (sounds counterinutive, but yes with android and iOS this condition works... ALSO that X infront means it is negated... as in opposite action)
and
Value 1
-->
Pause Screen Make invisible
and
Set Value to 0
Last edited by Squatter; Jun 26, 2015 @ 10:44pm
Squatter Jun 27, 2015 @ 9:50am 
Originally posted by DiggityBam:
Originally posted by Ravage!:
Is there an 'easy' method of having a simple pause button for android? The normal in-built version is easy enough to pause with but doesn't seem vaiable to allow for an unpause.

I've also grouped every event other than the pause/resume events under one main group and tried to make it so those groups are 'disabled' upon pressing pause, but even that doesn't work. It just ignores having been pressed.

Overall CTF is great but I find it puzzling that a basic action like pausing a game still seems to be one of the most unecessarily complicated things to do. :(

I'm sure i'll get it eventually but it sure would be nice if that normal pause/unpause event was useful... for something more modern than Windows 95.


For groups, what I usually do is set up a global value for pausing them.

I set up 3 always events.
The first: always, if global value = 2, set global value to 0.
Second: always, if global value = 0 turn group on
Third: always, if global value = 1 turn group off.

Then you just set your pause button to add 1 to the global value when its clicked.

What I do not like about this approach is that if your using gravity or what not... deactivating a group does not stop the object from continuing to use gravity. Adding a function to put everything using gravity to "stop" is even worse... and then you have acceleration and deacceleration issues when it starts up again.

The CTF in game pause function works perfectly fine and is easier, you just need to understand its limitations and mechanics to work around its issues
Alpha17x Jun 28, 2015 @ 11:29am 
I'll give these a shot. I think I was way over thinking it.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Jun 26, 2015 @ 9:28pm
Posts: 3