English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   News (http://eab.abime.net/forumdisplay.php?f=29)
-   -   Flashback for the web (http://eab.abime.net/showthread.php?t=107610)

Leo42 13 July 2021 10:47

Flashback for the web
 
REminiscence has been rewritten for the web: this allows to run Flashback in a web browser: https://warpdesign.github.io/flashback-web/

Unfortunately Amiga version is not supported yet, but it's a start :)

Full source code is available: https://github.com/warpdesign/flashback-web/

gimbal 13 July 2021 11:31

Great, thank you! I'm very much into Javascript game development myself, browsing through this will be a big help.

Cool to see that they do the same trick as me - use Typescript instead of pure Javascript. The code is -so- much easier to read and maintain that way.

EDIT: okay not really because it is C code translated to Typescript code, it works but it is not really all that useful :) I might pick some ideas from the audio playback and the physics and collision code.

Leo42 13 July 2021 12:10

Quote:

Originally Posted by gimbal (Post 1495586)
Great, thank you! I'm very much into Javascript game development myself, browsing through this will be a big help.

Cool to see that they do the same trick as me - use Typescript instead of pure Javascript. The code is -so- much easier to read and maintain that way.

EDIT: okay not really because it is C code translated to Typescript code, it works but it is not really all that useful :) I might pick some ideas from the audio playback and the physics and collision code.

Not sure it's so helpful to learn indeed, although I learnt a few tricks already.
Audio is simple, as is Canvas/drawImage stuff.

I suggest you check AthenaJS if you want to learn stuff about gaming: it's written in ES6 and very simple compared to Flashback :)

jotd 14 July 2021 00:26

that's excellent


All times are GMT +2. The time now is 09:09.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.

Page generated in 0.05983 seconds with 10 queries