iPhone style menu maker

Show us your completed creations made in Construct 2

Post » Thu Feb 09, 2012 2:53 pm

iPhone style menu maker for Construct 2




You need Construct r2 (Not C2) to run run it (its a cap file), and Construct 2 to view the Finished menu.

How it works:

The zip file contains the following files/folders-

1, Folder 'bg' containing various background textures.
2, Folder 'C2 Example' containing 'Test1 caproj'
3. File ' iphone.ini'
4, MobiMaker1.cap
5, Read me.xls file

1, Basically, you run MobiMaker1.cap, create your menu (see instructions) and save it.
2, Open 'Test1 caproj' with Construct 2(inside the C2 Example folder) and your menu should appear in the main window.

Really confusing I know, but the instructions will make things clearer(?)

Currently you can only create a single page, its just for testing.

Work in progress.

Download files

Good luck

All feedback welcome
B
19
S
6
G
7
Posts: 1,203
Reputation: 7,294

Post » Tue Feb 21, 2012 4:56 pm

It looks great! Thank you for sharing that!
B
106
S
27
G
8
Posts: 209
Reputation: 12,525

Post » Tue Feb 21, 2012 8:32 pm

[QUOTE=gonzdevour] It looks great! Thank you for sharing that![/QUOTE]

Thanks, I'm trying to work out a way to do the same thing but with C2 as the menu creator, where you just drag and drop buttons and components into the window and it allows you to save the objects positions...sizes..ect as a template that C2 can load.

I know there is a sprite bank plugin, but Im not 100% how to use it, or if it would even work?

B
19
S
6
G
7
Posts: 1,203
Reputation: 7,294

Post » Wed Feb 22, 2012 2:43 am

@chrisbrobs

The concept of sprite bank plugin is very simple: it stores properties of instance in a hash table, then use JSON to transfer hash table into string.
I failed to access file system by javascript since browser can not allow user to do this, local data only can be saved by webstorage (as I know)
So currently, sprite bank plugin is not suitable in this case.
rexrainbow2012-02-22 02:48:36
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Wed Feb 22, 2012 3:12 am

@chrisbrobs

If you know how to access file system by javascript/browser, please share this knowledge. Thanks.rexrainbow2012-02-22 03:13:10
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Wed Feb 22, 2012 7:48 am

@rexrainbow
You just can't.
B
44
S
12
G
13
Posts: 628
Reputation: 10,471

Post » Wed Feb 22, 2012 9:52 pm

[QUOTE=rexrainbow] @chrisbrobs

The concept of sprite bank plugin is very simple: it stores properties of instance in a hash table, then use JSON to transfer hash table into string.
I failed to access file system by javascript since browser can not allow user to do this, local data only can be saved by webstorage (as I know)
So currently, sprite bank plugin is not suitable in this case.
[/QUOTE]
---------------------------------------------------

The idea was to have the elements(buttons, background etc) stored on the server. After the user creates the layout and saves it....the sprite positions\sizes would be saved in a format that C2 would be able to read?
B
19
S
6
G
7
Posts: 1,203
Reputation: 7,294

Post » Sat Feb 25, 2012 10:55 am

@chrisbrobs

Sorry for missing this thread.

Yes, sprite bank could save instances positions\sizes then transfer to a JSON string. It could be send to server. And finally, sprite bank could be used in parsing this saved (JSON) string then create them (by plugin).


But, it's pity that we need send data to server then receive them instead of save them directly.

I found it --File system on HTML5, but I'm not sure what's it.rexrainbow2012-02-25 11:02:05
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Sat Feb 25, 2012 12:19 pm

@rexrainbow & @chrisbrobs : you can access filesystem in HTML5 on recent build. You can use shims like Filesaver.js (http://eligrey.com/demos/FileSaver.js/.
If I have the time this week, I'm going to make a plugin of that.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Sat Feb 25, 2012 12:51 pm

@Pode @rexrainbow
It seems to be supported only by Chrome... ?
B
44
S
12
G
13
Posts: 628
Reputation: 10,471

Next

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 2 guests