Skip to main content

Progress update on "dragboxes": switch boxes, banning areas, and basic scripting

In my first post I described a small Game Maker project I am working on. Today I implemented a few additions to the project.


  • Implemented a very basic scripting module, to allow dynamic behaviour
  • Created switch blocks that execute a script when they are placed properly on switch plates
  • Created banning areas, which prevent player boxes (heart boxes) from passing though but let other blocks through
  • Made the motion of the boxes smoother, to allow finer player control

Switch boxes are shown with letters A, B, C, D. A switch box is activated when it is moved exactly on the center of a plate with the same letter, and must also be rotated straight upwards. The box glows purple once it is activated.

The scripting module allows for some basic scripting of the game. Scripts can be executed by pressing L in-game and choosing a script file to load. A script is also executed when a switch block is placed on a switch plate. Currently three commands are implemented:

  • clear; Clears all objects on the map.
  • create x y object; Creates a specified object in given position.
  • destroy objname; Deletes object with given name.

I will not go into more technicalities for now, more about the scripting can be learned by inspecting the game's source code. Go ahead and ask about any questions you may have.

Feel free to test the game and see the new additions in action. Be sure to try out the sample script by pressing L in-game and choosing it (sample_script.txt).


EXE: dragboxes_d2.exe on Dropbox (Windows only, 2.75 MB)
Source: dragboxes_d2.gmk on Dropbox (Game Maker 8.0 file, 0.36 MB)


The screenshots show the sample script in action (first: the switch block is placed on its switch plate, second: the switch block is activated and creates two blocks)

-Kostas V


Popular posts from this blog

Barbara vs Zombies

A few years back I made a game, Barbara vs Zombies, for my then-girlfriend Barbara. She used to like an old light-gun game, House of the Dead , so I depicted her dodging and shooting zombies in this one. Included a backstory with silly romanticism, cats, and inside jokes. It's been nearly a year since we broke up, and this game has been sitting forgotten in my hard disk. I eventually decided it shouldn't go to waste. It is, after all, a game meant to remind us of happy times. Download and play the game on Gamejolt  or . I had made an Android version too, maybe I'll get around to publishing it someday. Hang in there, 2020 was a tough year, but you've made it this far already, so congrats. 💖 -Kostas

Stick Veterans online: Good news & Bad news

After loads of work, online multiplayer for Stick Veterans seems to be progressing very well. In fact, it is nearly complete, as showing in recent tests. Today I ran the first playtest with 3 people; we connected over Hamachi , a free VPN solution, and it pretty much went smoothly (except for some non-critical bugs). Bad news is that LAN connections might be the only thing supported , with little hope for worldwide online games. I already mentioned that in the game's web pages ( post / Gamejolt post ) but I shall lay down the whole story here. In commercial games, online multiplayer is achieved by putting up dedicated 24/7 servers (preferably in various locations throughout the world) to which the players connect. In non-commercial games  (like Stick Veterans), we have to make do without servers, as they cost money (non-trivial amounts of it). As such, we simply allow any player to act as a server themselves, and other players connect to them. This is called

Ludum Dare 44 (late update): Alleycat Faust

Two months ago was the time at which the Ludum Dare 44 gamejam took place. It's been 2 years since I took part in a gamejam ( Global Game Jam in 2017 ), and 3 years since I took part in my first Ludum Dare ( LD35 in 2016 ), so it was about time I re-lived the experience.