Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+2)

I might've gave somebody an idea on making a PP-like engine, but for the Sega Master System or even a PP converter. What do you think of that? Because I would like PP games to run on platforms other than just the internet browser.

(+1)

i thought more of pp converter to .exe . apk and so on…

(+1)

You can always learn to make a webpage wrapper using Electron, but it's rather painful and bloaty that way.

(+1)

There are tools out there that can convert an HTML into an APK,  like webintoapp , or similar.

Not sure if webintoapp would work with a zip file on that front.

(+1)

One way to make it easier to convert to other platforms/engines could be the ability to export the game data into something that can be read by other platforms, like, for example:

  • A JSON or a YAML with all the data: easy to implement, but the graphics may have to be represented in an akward way;
  • A PNG containing the graphics, plus a set of Tiled-compatible TMX and TSX files: would require more implementation work, but would load on Tiled without any additional effort, and many engines have plugins for importing those, or may even be able to work with them out of the box.

The idea would be that, if someone ever wanted to migrate their game to other engine, it would be as painless as it could possibly be. Of course, the various behaviours would have to be implemented from scratch on the target engine.

Hmm...yeah, this is gonna be a challenge, but I like it tbh.

(4 edits)

Starting to experiment with data extraction: https://github.com/haroldo-ok/pocket-platformer-exporter

 The work-in-progress script above extracts the level/sprite data from the exported HTML into a JSON file.

Example exported JSON:  https://github.com/haroldo-ok/pocket-platformer-exporter/blob/07180426cd61af45f6...

(+1)

that's awesome! :)

Already useful as it is, even if you don't continue with this project.

Thanks! ;)

The script has been updated to generate a PNG spritesheet, too:

(+1)

:o nice!

Now, the script can also generate a Tiled-compatible TSX file, including custom properties and animations.

Example TSX file: https://github.com/haroldo-ok/pocket-platformer-exporter/blob/71daea0e84569760a9...

The tileset opened in Tiled:


(+1)

cool! thx!

The script now exports the levels into Tiled-compatible TMX files (only map layer for now; objects will be next):

https://github.com/haroldo-ok/pocket-platformer-exporter/blob/bb766f5f469b8c7ea8...

Original level:


Converted to Tiled (so far):