Stream: show and tell

Topic: My roc-wasm4 game


view this post on Zulip Will Alexander (Jul 30 2024 at 21:20):

https://walexander.github.io/1864-year-of-decision/1864.html

This is a (very much wip) game I wrote using roc-wasm4 (Netplay not working ATM, just local two player)

Big thank you to @Brendan Hansknecht and @Luke Boswell for their work on the platform in general and optimization help. It's much faster than it has any right to be!

view this post on Zulip Brendan Hansknecht (Jul 30 2024 at 21:31):

This is still amazing to me. Seeing the pieces path and just watching a real-time wasm4 game in roc is awesome!

view this post on Zulip Richard Feldman (Jul 30 2024 at 21:39):

whoooooa, super cool!!!

view this post on Zulip Richard Feldman (Jul 30 2024 at 22:53):

@Will Alexander is this an original design? If it's based on something, I don't recognize it :big_smile:

view this post on Zulip Luke Boswell (Jul 31 2024 at 00:15):

Am I doing it right? Looks super awesome

yod-1.gif

view this post on Zulip Brendan Hansknecht (Jul 31 2024 at 00:22):

I mean you won

view this post on Zulip Will Alexander (Jul 31 2024 at 00:29):

Richard Feldman said:

Will Alexander is this an original design? If it's based on something, I don't recognize it :big_smile:

It's a rip off of Command & Conquer Rivals. 1864 is a board game (err, historical simulation) my dad made in the 80s.

view this post on Zulip Will Alexander (Jul 31 2024 at 00:31):

Luke Boswell said:

Am I doing it right? Looks super awesome

yod-1.gif

Haha, yeah, you have to start for both players Pressing A and Space should do the trick. (Player2 uses SDFE for the arrows and A / Tab for the x and z buttons)

view this post on Zulip Luke Boswell (Jul 31 2024 at 00:37):

I'm too uncoordinated to play two players at once... :sweat_smile:

view this post on Zulip Will Alexander (Jul 31 2024 at 00:42):

Luke Boswell said:

I'm too uncoordinated to play two players at once... :sweat_smile:

The Netplay was working (at least between players on same LAN) but got broken last week by a wasm4 feature to sync globals over Netplay. (At least I think).

view this post on Zulip Peter Marreck (Sep 13 2024 at 14:07):

I didn't know about wasm4 (just got back from the rabbit hole!) and literally 3 or so days into my Roc journey this is blowing me away. It really validates the "platform" idea in Roc as well.


Last updated: Jul 06 2025 at 12:14 UTC