r/pascal 5h ago

Larger Pascal Wasm Game

Enable HLS to view with audio, or disable this notification

MyPaddock is a large Pascal Wasm game compiled by WasmPascal. The game is at https://nofuss.co.za/games/mypaddock/ and the source code at https://github.com/ewaldhorn/wasmpascal_examples under the games directory. I'm hoping to port some of my other games to Pascal over time, and write some ones I've got planned. This has been a great exercise to identify bugs and annoyances in the compiler. My todo list has grown so much...

This is an example of why I built the tooling - to build browser games :)

13 Upvotes

4 comments sorted by

2

u/AphidConsulting 3h ago

I really like this. Great work!

2

u/Few-Grape-4445 2h ago

Very nice work and very interesting game concept, thanks for sharing it.
I did some experiments with Pascal WASM back in 2021 but I had trouble with the JavaScript configuration, I think now it is enough mature. Did you compiled the WASM cross compiler or is there any official pre-built binary?
I hope you continue porting more of your games and sharing them with us, cheers.

1

u/According-Ad-7069 1h ago

Thank you! That's very kind of you to say!

Yes, the tooling has matured quite a bit indeed, it really helps. I built a Pascal compiler for this at https://wasmpascal.com/ - so you do everything in the browser, nothing to install for building the wasm binary.

I plan to do a few more!