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
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Wed Oct 05, 2011 7:57 pm

You could create a shortcut to the index file, and place it outside the folder.
Image ImageImage
B
166
S
49
G
154
Posts: 8,106
Reputation: 100,233

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
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Wed Oct 05, 2011 10:42 pm

Not sure about those, but installers often have that option.
Image ImageImage
B
166
S
49
G
154
Posts: 8,106
Reputation: 100,233

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
15
G
11
Posts: 243
Reputation: 9,492

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,653

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
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

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,653

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,653

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
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Next

Return to Construct 2 General

Who is online

Users browsing this forum: AekiroStudio and 4 guests