Page 1 of 1

TTD in javascript for pointJS

Posted: 17 Mar 2023 11:18
by vldb
Hi. I decided to build a copy of TTD in javascript using poitJS. and I already build a map with all rendering it needs. Was very hard as it was created in PointJS, not the greatest game engine, but works good with animations.


Image

There is lot more stuff to do. I have almost all menus for this game done, doesnt show the menu bar on a screen, I turned it off while working with the map. That was a hell of a job and if not the ChatGPT, i never would accomplish something like that.
Is there anybody wants to help this project? We can have our own TTD for browsers with our own scenarios and what ever.

Re: TTD in javascript for pointJS

Posted: 20 Mar 2023 14:30
by pelya
If you just want to run OpenTTD in a web browser, it's already possible, with help from Emscripten.

https://pelya.github.io/openttd-touch-w ... enttd.html

https://github.com/pelya/openttd-touch-webapp

It's a touchscreen version, there was also regular version somewhere, but it would not load anymore.

If you want to re-implement OpentTTD in pure Javascript, well, it's a huge codebase.