Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

JaykTheJackal

4
Posts
2
Topics
1
Followers
A member registered May 28, 2016

Recent community posts

(1 edit)

Here's what I got:

subleq 0, @IN
subleq 15, @IN
subleq 0, 15
subleq @OUT, 0
subleq 15, 15, 15

No idea how you could do better. Looking at the leader-board, presumably some have. I *guess* it's data dependent but that doesn't fit too well with how things line up. Mine is 28 cycles for 4 tests. The better ones are 20 (most of them) and 21 ( just 1). This makes me think I can remove an instruction somehow.

Came back to this game yesterday after like 2 years because I like some programming brain teasers sometimes. I reviewed what I had written for Addition.

This works but only because the case where it would fail is at the end of a Test:
.data 0, -3, 3
.data 0, -3, 6
.data -2, 0, 0

The solution that actually *should* work generally:
.data 0, -3, 3
.data 0, -3, 6
.data -2, 0, 9

I was scratching my head over why the first thing worked at all when reviewing it. All I had given was an unhelpful comment:

; instruction 0, 0, 0 -> sets first byte to 0, restarts

Think maybe I decided to get cheeky and failed to update the comment. But it seems to me the only reason this works is because you do not expect negative numbers aside from at the end of tests. And when a test ends, it gets reset.

[Yes it was using .data notation, probably for the achievement. Though I will say to past self ".data 0 -3 3 0 -3 6 -2" -- literally the same thing. Less legible but there are a lot of places I could've improved that so why start there really.]

(2 edits)

Is this a thing you have personally tested? Seems attempting to set hotkeys with Wine crashes the program, even when running with Proton.

Edit: Okay, *setting* hotkeys is borked, but if I load an avatar where the hotkeys are already defined, the hotkeys work *and* the sound works. So for anyone else who has this issue, it does seem that running this through Proton (like, through steam, but I'm sure you could set up any wine prefix for this and it'd work just the same) and loading an already-defined avatar is the solution. Thanks mpasu9999

Bit of a conundrum. It seems that in order for hotkeys to work in linux, I must run it as root. But if I run it as root, it cannot access my sound. This seems to actually be by design; most sound servers don't allow being run as root due to security concerns.

Is there a known workaround? Maybe I'm being stupid about something.