Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+3)

EDIT: ignore the first part of this comment, you do indeed have to download the game to run it. The given command only works if you are inside the game folder itself.

For anyone trying to play, I think running this from the terminal is probably the fastest way to go (no executables bundled in the zip, or if you are on linux):

go run github.com/matthewsedlacek/reverse_gravity@68ce9a0

There's one funny part of the game that I don't want to spoil...

We had similar small games in the previous jam, and again, it's nice to have these as an example of how to write a little game in less than 300 lines and, pretty much, a single code file. I checked the repo and saw there were extra graphical assets and removed audio files among that, so extra points for trying, even if you didn't manage to get it all in in the end.

As a small comment, notice that ebiten/v2/text can be used instead of having to roll your own text width computations. Or you may also consider tinne26/etxt.

Anyway, hope you enjoyed making this game and are encouraged to try bigger projects in the future!

I failed to play the game on my macOS unfortunately...

`panic: open assets/images/space_background.png: no such file or directory`

(2 edits)

I was only trying to be helpful, it's not like I'm the person responsible for this game. But I have to admit that this is somewhat surprising to me. The game is using this:

ebitenutil.NewImageFromFile("assets/images/space_background.png")

If this code won't work on macOS, I think the biggest opportunity for improvement would lie on ebitenutil itself.
EDIT: (could it be related to missing the _ "image/png" import instead..? hmmm, most likely not, ebitenutil already makes that import)

I tried 

go run github.com/matthewsedlacek/reverse_gravity@68ce9a0 

But did this work on your machine, Tinne?

(2 edits)

I see what happened, yeah, that's my fault... I had the game downloaded too and ran this within the game folder itself. That explains why it was ok for me. So silly. I basically downloaded, played, then went like, hmmm, can't I do this easier with just "go run"? Tested, worked, shared without realizing I was already in a unique context myself.