[plugin] nwPop - Manage multiple windows

Post your completed addons to share with the community

Post » Thu Sep 04, 2014 8:16 pm

Image
Manage multiple windows with node-webkit and nwPop
- Create and manage multiple popups
- Communicate window to window by function call or js
- Snapshot the window (easy way to do html to canvas)


:?: What properties can I use when defining a new window? : link

:?: Is it safe to load content from an untrusted source?
Windows have access to the node env! To restrict this, use an iframe to display your content. (Add nwdisable & nwfaketop attributes)
Code: Select all
Example - Define popup ("iframe.html","","","tag")
iframe.html - <iframe src="app.html" nwdisable nwfaketop></iframe>


:?: Can I snapshot the main window? : Try the Argv plugin.

:?: Why is the example download so large? : There's multiple use cases provided, one of them is exported as well. * The alert dialog can be removed from the exported project by editing the html of the html5 export.

ACES
Image
Although I've tried to make things as simple as possible this plugin still favors knowledge of html/css/js.
As always bug reports and feature requests are welcome.

:arrow: Download
:arrow: Examples
Last edited by Noncentz705 on Sat Sep 20, 2014 2:41 am, edited 2 times in total.
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Fri Sep 19, 2014 9:11 am

Updated. @Kyatric could you move the the completed addons forum? :)
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Fri Sep 19, 2014 11:10 am

Moved.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,329
Reputation: 71,300

Post » Thu Dec 04, 2014 5:27 pm

One of the most interesting plugins I've seen! Especially useful when not creating a game but a tool of sorts in C2.

Was only really missing show() and hide() from the available actions (was easy enough to add). Again, great work! Thank you for this plugin!
B
23
S
6
G
11
Posts: 1,047
Reputation: 8,065

Post » Mon Dec 12, 2016 7:52 am

@Noncentz705 🎊🎇🎉🎈🙌🎈🎉🎇🎊 I was looking for something just like this. Thanks for giving me the tools to take a game out of planning stage, I wasn't sure I would be able to do in C2.
B
52
S
26
G
8
Posts: 121
Reputation: 8,526

Post » Tue Dec 20, 2016 1:44 pm

"Functions" and "properties of the window" does not work in the new version nw.js
I exported my project , but two windows are not connected together.
What is the problem
c2: v239
nw.js: v 0.18.7 and v0.14.7
B
8
S
2
G
1
Posts: 5
Reputation: 888

Post » Wed Dec 21, 2016 6:01 am

sampro wrote:"Functions" and "properties of the window" does not work in the new version nw.js
I exported my project , but two windows are not connected together.
What is the problem
c2: v239
nw.js: v 0.18.7 and v0.14.7

OH NO! Maybe we can get someone to fix this for X-Mas.
B
52
S
26
G
8
Posts: 121
Reputation: 8,526

Post » Tue May 09, 2017 8:39 pm

Hey the link is broken, please reupload :( .
My addons:
[PLUGIN]Value Monitor
[PLUGIN] Text Alignement
[BEHAVIOR]Timescale Ratio
[BEHAVIOR]Polar Coordinates
[PLUGIN]Action Sequence
[BEHAVIOR]Action Sequence
[BEHAVIOR]Instance Variable Control
B
36
S
7
G
2
Posts: 230
Reputation: 3,517


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest