Pause Menu [RPG Like]

Get help using Construct 2

Post » Sat Jul 14, 2012 10:00 pm

Hi, i began a project longtime ago and i have few more question. But i can't question all in one post ? right ?


I want in game, you can make a pause (Character,enemies...etc stoped) and menu showing + you can see Character statue...etc
I tried few time, but nothing working as i want.


Here my project, i know it's totally unfinished but i'm bored can't make appear the pause menu, and some other problem
http://www.mediafire.com/?et88dqi1ocvco89

PS : Sorry for my bad english, i'm french
B
3
Posts: 3
Reputation: 456

Post » Sun Jul 15, 2012 6:48 am

I have this in my project...works perfectly. first, create a global variable called "paused"; start it at 0. on click on pause button, have system set global variable "paused" to 1. then on a new event, have system compare variable "paused"...when equal to 1, set system timescale to 0. make another new event...have system compare variable "paused"...when equal to 0, set system timescale to 1.

this can be modified in many ways to make it work for you...for instance, you can restore individual object timescales immediately after setting system timescale to 0 so that you can still have button animations and stuff like that.
B
14
S
5
G
4
Posts: 121
Reputation: 3,938

Post » Sun Jul 15, 2012 6:50 am

I highly recommend creating a separate event sheet for your pause/menu functions. Then on each layout you right click on blank space and select "Include event sheet" and then the pause/menu event sheet.
B
14
S
5
G
4
Posts: 121
Reputation: 3,938


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest