Skip to content

There is more than 1 bug in this game and some of them are intentional! 🦗 Entry for the 2021 Game Off jam.

License

Notifications You must be signed in to change notification settings

sionleroux/cr1ckt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cr1ckt

wakatime Build Executables Go Report Card

Entry for the 2021 Game Off jam, themed "BUG". You can download or play in-browser at sinisterstuf.itch.io/cr1ckt.

Some bugs in this game are intentional! ;)

Read on below for help:

Here is a list of improvements to be added to the game.

If you have feedback please leave a comment on the game's itch.io page:

Play on itch.io

Screenshot of actual gameplay

For game testers

For alpha testing use this link to download the latest development build including Windows EXE, Mac app, Linux binary, Android APK as well as the map file, tiles and other resources if you want to make your own levels.

During development there's debug info at the top showing things like player location and velocity, level number, etc. and some controls:

  • F: toggle full-screen
  • N: go to next map
  • Q: quit the game
  • Space: jump (this is a real game control, not just for testing)

If the game is crashing you can get extra information about what went wrong if you start it from the console. On Windows, that means:

  1. Open PowerShell
  2. Go to the folder where the game is, e.g. cd C:\Users\Alice\Downloads
  3. Run it like this: .\cr1ckt.exe

Some values the game uses can be overridden by putting a configuration "ini" file cr1ckt.ini next to the game EXE file. An example INI file is provided in the download bundle above.

For level makers

You can edit the levels using the Level Designer Toolkit (LDtk).

Get the latest version of the maps file and associated images from this download bundle.

If you put a copy of the maps.ldtk file with your changes in it in the same folder as the game binary (e.g. cr1ckt.exe) then it will load that instead of the maps embedded in the binary, which is useful for prototyping and testing when developing a map because you don't have to compile any code. This also requires you to have the tiles.png file in a folder called assets otherwise the game can't find it.

  • Auto-tiling is done on the layer called IntGrid (tutorial on auto-tiling)
  • Entities (e.g. the player, monsters, items) are on the Entities layer

For programmers

To build the game yourself, run: go build .

I'm using Go 1.21 for this. You might have luck with an older version but the go:embed feature is only available in 1.16 so you can't go lower than that.

The Go build system will handle the rest of the dependencies for you but if you're curious, it's using:

You can run the test suite with go test ./... but I haven't written any yet.

The project structure will probably stay quite simple, most logic is in the "game" file and gets extracted elsewhere as a clump of closely related code gets too big there. The main file does Window and game set up for all platforms except mobile. The Android mobile library is built from the mobile directory. There are notes on compiling for Android and Web in the doc folder.

About

There is more than 1 bug in this game and some of them are intentional! 🦗 Entry for the 2021 Game Off jam.

Topics

Resources

License

Stars

Watchers

Forks

Languages