Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ccoddes

Pages: 1
1
Windows / Mac / Flash / HTML5 / Little Big Eater is released!! [HTML5]
« on: March 24, 2021, 09:42:49 pm »
I've finally published Little Big Eater, a Flash game I worked on a while ago. It's a Snake Meets Match-3 where you eat shapes, gain points, and aim for the leaderboards!

Play it here in the browser: https://chinjieh.itch.io/little-big-eater

On a side note, Stencyl really helped in making the process from Flash to HTML5 easy. Let me know what you think!

2
Thanks Justin, that workaround to delete the html5 folder solves the building issue. I do have to delete the folder every time I build but its workable for now :) It seems like the assets are now packed except the sfx and music ones (is this expected?)

Appreciate the help!!

3
Thanks for the fast replies!

You're right, I'm currently on the public release 4.0.4. As suggested above, I tried adding
Code: [Select]
<section if="html5">
    <library name="default" type="gzip" if="publishing" />
</section>
to the settings but it didn't work out of the box, resulting in this error at the bottom of the log:

Code: [Select]
C:\Users\CJ\AppData\Roaming\Stencyl\stencylworks\games-generated\Chomper\Export\html5\bin\index.html
2021-03-03 11:27:38,661 DEBUG [pool-1-thread-5] stencyl.sw.util.FileHelper: Trying to delete file that does not exist: C:\Users\CJ\AppData\Roaming\Stencyl\stencylworks\games-generated\Chomper\Export\html5\bin\config
2021-03-03 11:27:38,661 DEBUG [pool-1-thread-5] stencyl.sw.util.Util: Running command: [C:\Program Files\Stencyl\plaf\haxe-bin\windows64\haxelib.exe, run, openfl, -verbose, build, -debug, project.xml, html5, -minify]
2021-03-03 11:27:39,246 INFO  [Thread-46] stencyl.sw.util.StreamGobbler: [haxelib.exe] OpenFL Command-Line Tools (8.9.5-Lpv3od)
2021-03-03 11:27:39,246 INFO  [Thread-46] stencyl.sw.util.StreamGobbler: [haxelib.exe] Initializing project...
2021-03-03 11:27:39,246 INFO  [Thread-46] stencyl.sw.util.StreamGobbler: [haxelib.exe] Using project file: project.xml
2021-03-03 11:27:39,246 INFO  [Thread-46] stencyl.sw.util.StreamGobbler: [haxelib.exe] Reading Lime config: C:\Users\CJ\AppData\Roaming\Stencyl\stencylworks\prefs/.lime_config.xml
2021-03-03 11:27:39,999 INFO  [Thread-46] stencyl.sw.util.StreamGobbler: [haxelib.exe] Running command: UPDATE
2021-03-03 11:27:40,000 DEBUG [Thread-46] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Creating directory: Export/html5/obj/libraries
2021-03-03 11:27:40,857 DEBUG [Thread-46] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Copying file: Assets/data/game.mbs -> Export/html5/bin/
2021-03-03 11:27:40,859 ERROR [Thread-46] stencyl.sw.util.dg.MessageDialog: Encountered errors while building your game.: Check your logs and post them to the forums.  - Please describe what you have been doing. Be as specific as possible. Your game could not be written, because the destination file appears to be in use. Make sure you have closed all previous instances of your game, and use Run -> Clean Project.
2021-03-03 11:27:40,909 DEBUG [pool-1-thread-5] stencyl.sw.util.Util: Process 'haxelib.exe' exited with code: 1

Good to know that it will be supported in the future, however! If I may ask, is there an estimated time for the next public release?

4
Hi,

I'm revisiting my old Stencyl game which was previously exported in Flash. Currently I'm trying to reexport it into HTML5. What I do is to unzip the .zip file and host the contents on a webserver, but what I noticed is that there are a lot of HTTP GET Requests to individual assets used in the game during Loading (when the game is first accessed)

Although I'm new to HTML5 game creation, this doesn't seem optimal to me as a lot of HTTP GET Requests sounds like it slows down the load time of the game. I was was wondering if there is a way to "bundle" the assets together, so we use fewer requests to retrieve a "bundled" pack of assets and extract the assets once we get them on the client.

I also saw this forum post http://community.stencyl.com/index.php?topic=59252.0 which seems to be saying that HTML5 game assets can be in a .pak format. This seems like what I want but I didn't manage to find a way to do so through the Stencyl editor.

Has anyone else encountered this problem, or knows a solution to this? Thanks!

Pages: 1