[PLUGIN] Pause , [Behavior] Pause

Post your completed addons to share with the community

Post » Sun Mar 29, 2015 4:07 pm

consternation wrote:sorry, can you provide a download link?



rex_pause plugin
https://dl.dropboxusercontent.com/u/577 ... pause.html

rex_pause_dt behavior
https://dl.dropboxusercontent.com/u/577 ... se_dt.html

Or you might download all by this tool, included installing.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Fri Apr 03, 2015 2:31 am

Everytime I try to download and unzip the .7z file it says its not valid archive and even when I use the Tool to down it, it says error.. I have no idea what Im doing wrong, I have others plugins from you but this plugin doesnt seem to work for me at all..


"WindowsError: [Error 5] Access is denied: u'C:\\Program Files\\Construct 2\\exporters\\html5\\behaviors\\rex_rotateto"

is the error im getting for all plugins
B
6
S
1
Posts: 13
Reputation: 380

Post » Fri Apr 03, 2015 5:52 am

@Savenko

User might need to run C2Repo in administer mode if your C2 root path is on "C:\Program Files\Construct 2\".
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Fri Mar 04, 2016 10:53 pm

Great stuff man, spared me a lot of time.
Thanks so much
B
6
S
1
Posts: 26
Reputation: 448

Post » Sun Apr 03, 2016 8:04 am

Can someone please explain in more details to how to use this plugin and behavior after installing?
I made an sprite called btnpause, then added the behavior to it. what should I do next?
B
3
Posts: 5
Reputation: 185

Post » Sun Apr 03, 2016 4:27 pm

@sinaemar

If you want to pause the whole game (by set global timescale to 0), call "Action:Set pause state" with "Pause" parameter. After paused the game, "Condition:On pause" will be triggered.
See this document.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Wed Apr 06, 2016 7:05 am

Message: sinaemar can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
https://onedrive.live.com/redir?resid=BA519063A0F33121!118&authkey=!AGZU3FbBMDxHJHk&v=3&ithint=photo%2cPNG

I did per your instructions. As you can see it in the attachment. Still it is not working for me. Can you please let me know what I am doing wrong? Thanks alot.
B
3
Posts: 5
Reputation: 185

Post » Wed Apr 06, 2016 8:08 am

@sinaemar
Sorry, I did not describe clearly.
You can try pause plugin follow these steps
1. open a new project
2. add a sprite with sine behavior.
3. add pause plugin and a button sprite object
4. add event
+ on touch button sprite
- pause: toggle
5. run this project, now the test sprite with sine behavior will be stopped when touch the button sprite. Resumed when touch this button again.

All objects in this layout will be paused.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Wed Apr 06, 2016 8:53 am

rexrainbow wrote:@sinaemar
Sorry, I did not describe clearly.
You can try pause plugin follow these steps
1. open a new project
2. add a sprite with sine behavior.
3. add pause plugin and a button sprite object
4. add event
+ on touch button sprite
- pause: toggle
5. run this project, now the test sprite with sine behavior will be stopped when touch the button sprite. Resumed when touch this button again.

All objects in this layout will be paused.


Thanks for prompt reply. Still after doing so per your instructions, it just stops the bullets that the player shoots, it does not stop enemy movement and player movement.
What can I do now? I appreciate your help.
B
3
Posts: 5
Reputation: 185

Post » Wed Apr 06, 2016 9:04 am

@sinaemar

What's the implementation of "enemy movement and player movement" in your case?
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 4 guests