How do I download data assets for games

Get help using Construct 2

Post » Fri Jun 20, 2014 1:22 am

@Ashley talked about a way to package a smaller version of the game and put that in the stores. Then upon the first game run will download the assets. Now I have been playing around with this, but at this time have been unable to figure it out.

The process I started with was setting the website to a server.
I tried exporting the game as HTML5/Android. Copied the export to server.
removed the images/media from the first export. Then packed up the program into XDK.

however the closest I can get is the warning that the program must be hosted error.

Anyone have an idea how to go about this.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018

Post » Fri Jun 20, 2014 2:19 am

jayderyu wrote:@Ashley talked about a way to package a smaller version of the game and put that in the stores. Then upon the first game run will download the assets. Now I have been playing around with this, but at this time have been unable to figure it out.

The process I started with was setting the website to a server.
I tried exporting the game as HTML5/Android. Copied the export to server.
removed the images/media from the first export. Then packed up the program into XDK.

however the closest I can get is the warning that the program must be hosted error.

Anyone have an idea how to go about this.


You could maybe just package a game that just redirect to the game hosted on your website. The offline.appcache will let you access it offline after the first loading in theory.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Fri Jun 20, 2014 2:21 am

My question is: do you have the ability to save locally?

You would loose any advantages that a normal export gives, but you could use ajax to store base64 strings into webstorage.
Sool on audio on that method atm.
Image ImageImage
B
169
S
50
G
170
Posts: 8,291
Reputation: 108,726

Post » Fri Jun 20, 2014 2:43 am

Aphrodite wrote:
jayderyu wrote:@Ashley talked about a way to package a smaller version of the game and put that in the stores. Then upon the first game run will download the assets. Now I have been playing around with this, but at this time have been unable to figure it out.

The process I started with was setting the website to a server.
I tried exporting the game as HTML5/Android. Copied the export to server.
removed the images/media from the first export. Then packed up the program into XDK.

however the closest I can get is the warning that the program must be hosted error.

Anyone have an idea how to go about this.


You could maybe just package a game that just redirect to the game hosted on your website. The offline.appcache will let you access it offline after the first loading in theory.


That's totally what i'm trying to go for. Which is what Ashley was talking about. However I haven't managed to get the game to refer to the website download the assets at all. I figure one step at a time. The first is to get a asset less version to access the web version to get the assets. Then I'll move on the cache.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 54 guests