Sharing C2 Games without the Internet?

Discussion and feedback on Construct 2

Post » Wed Oct 05, 2011 6:39 pm

I am looking for a simple way to distribute C2 games without using the the Internet?...say on a pen drive or cd/dvd.
I did a bit of research and came up with the following solutions:

1, An exe. that triggers the index.html
2, A bat. that triggers the index.html
3, A cmd that triggers the index.html

These methods will start the game without the user having to open the game folder and search for the the index.html file.

examples

Click on play1, play2 or play3 to start the game.

Are there any other methods i could use ?
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Wed Oct 05, 2011 7:57 pm

You could create a shortcut to the index file, and place it outside the folder.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Wed Oct 05, 2011 10:11 pm

[QUOTE=newt] You could create a shortcut to the index file, and place it outside the folder.[/QUOTE]

How would you include this on a CD OR DVD ?
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Wed Oct 05, 2011 10:42 pm

Not sure about those, but installers often have that option.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Wed Oct 05, 2011 10:54 pm

Yeh also Autorun on a CD can be used, there's actually some FREE CD MENU creating stuff around on the net, to create menu's and launch HTML from CD/DVD etc i've used it before in the past. try a google for it.
B
40
S
14
G
11
Posts: 243
Reputation: 9,432

Post » Thu Oct 06, 2011 1:31 am

C2 itself (r60) runs a web page right in start-up (Start Page).

But if you really want to get snazzy then download the source code for firefox and hard code the export files of your html5 app right into it. Kind of like a personalized web browser that only opens to your game. You can then leave it as a normal operating browser or delete the dialog boxes for the web address, change the buttons, graphics, etc to mimic your game. Sky's the limit.
B
22
S
9
G
3
Posts: 203
Reputation: 3,647

Post » Thu Oct 06, 2011 1:48 am

[QUOTE=droptank21] C2 itself (r60) runs a web page right in start-up (Start Page).

But if you really want to get snazzy then download the source code for firefox and hard code the export files of your html5 app right into it. Kind of like a personalized web browser that only opens to your game. You can then leave it as a normal operating browser or delete the dialog boxes for the web address, change the buttons, graphics, etc to mimic your game. Sky's the limit.[/QUOTE]


Tried that with Prism and WebRunner, but they dont work in Firefox7

The standalone Prism App works but when you convert a C2 Game it is too slow.
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Thu Oct 06, 2011 2:42 am

Prism was a tad slow on the load screen. But once it was past that it was just as quick as IE9.

But it doesn't actually seem to create a desktop app. More seems to operate as an offline browser, storing the webpage files in a temp folder, then loads the offline content in a mini-browser like Opera mini with a shortcut directing to it.droptank212011-10-06 02:54:10
B
22
S
9
G
3
Posts: 203
Reputation: 3,647

Post » Thu Oct 06, 2011 2:57 am

I think for anything like this to be feasible there would have to be a preconfigured mini apache server operating behind the scenes.
B
22
S
9
G
3
Posts: 203
Reputation: 3,647

Post » Thu Oct 06, 2011 10:10 am

[QUOTE=droptank21] Prism was a tad slow on the load screen. But once it was past that it was just as quick as IE9.

But it doesn't actually seem to create a desktop app. More seems to operate as an offline browser, storing the webpage files in a temp folder, then loads the offline content in a mini-browser like Opera mini with a shortcut directing to it.[/QUOTE]

Checkout these guides 'Packaging WebRunner Applications'


files
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Next

Return to Construct 2 General

Who is online

Users browsing this forum: KaMiZoTo and 13 guests