Code Crusader
Learn to code in GDScript* in this top-down puzzle dungeon crawler, in which you can only control the character by writing code. Learn basic programming concepts and overcome the evil errors along the way!
You can skip levels if you want, just type this at the start of your file
goto_level(1) # takes you to level 1, etc
get_tree().root.get_child(0).current_level+1 # gets current level for use with goto_level
Game Design; Zshandi Krahn and Lachlann MacUisdin
Programming; Zshandi Krahn and Lachlann MacUisdin
Art: Lachlann MacUisdin
Music: Brendan Marney
*There are several differences with GDScript, including:
- There is no for loop, and instead a repeat loop (we'll add for loop after the jam)
- The repeat loop is more convenient for simple usage, and while loop can do anything for can.
- Variables do not get scoped to if statements and loops (we'll add scoping later)
- There is no "await", however code is automatically awaited, so functions such as move will wait for the movement to complete
- Variables can be re-declared (we'll change this later)
- There is a bug which lets you put multiple function calls on the same line, but only the first one is actually executed (no error)
- There are no functions, but we plan to add this in the future
Known Issues:
- FIXED: The check_move function does not include enemies and the floppy disk. This makes some of the later levels unplayable. We have a fix for this and may upload an external build for that.
- You can place multiple function calls on a single line without errors, but it will only run the first one
- Autocomplete doesn't work great, and at some points may insert quotes with the options
- Although it's fun to do, we'll probably need to limit what is accessible so the game can't be broken from the code, especially if incorporate multiplayer or high scores
Possible Future Additions:
Coding:
- For loops
- Functions
- May completely revamp the code execution to execute everything as a proper GDScript file
- Breakpoints
- Immediate code line execution mode (like a command prompt)
Game Play:
- Items, switches, and other interactive objects
- More variety of enemies
- More levels
- Scoring, saving and loading progress
- Tutorial type help pop-ups (as opposed to current "go read the docs" approach)
- Eventually, maybe we'll add some form of multiplayer
Status | In development |
Platforms | HTML5 |
Authors | Zshandi, Orabidon Games |
Genre | Puzzle, Educational |
Made with | Godot |
Tags | Godot |
Average session | About a half-hour |
Inputs | Keyboard, Mouse |
Comments
Log in with itch.io to leave a comment.
I've uploaded a separate version of the game, v0.3.1, which has a fix for a bug in the check_move function. Without this fix, the later levels are essentially unbeatable (unless you sort of cheat). Note that for fairness you should still rate based on the jam version, I just wanted to make this available for anyone who wants it with the fix:
https://zshandi.itch.io/code-crusader-v031