Pleogravity devlog #1
Published at 2026-11-13
Size: 3
Progress is sparse and bursty which makes it appear slow or non-existant, but it's still going, which is good. A lot of fundamental blocks are in place and it's now technically possible to create blockouts of first levels, though it's really difficult to do
Unfortunately there's currently a trend of copying indie developers' games without their consent so I will not be talking about or showing much of the core mechanic of the game. A hint is in the game's codename and on the projects page.
The idea came to me a long time ago and the first ever prototype was made in 2023 in… Scratch. Yeah. I didn't even know how to program yet, but wanted to make a game with a complex gameplay mechanic. Funnily enough that was the most complete prototype for the last 4 years as I learned about gamedev and IT in general
Most of the time between that and what we have now was spent searching for an engine and language that would feel best to work in. It was an analysis paralysis situation: what if I'll have to fight the engine in the middle of the project? What if something I need will be impossible to create in it? I tried many options: from the Big 3 to using a graphics API directly. This time I decided to use LÖVE. It's one of the frameworks I tried first and the framework I came back to after trying all the other options. Though it's very barebones compared to, for example, the Big 3, it was featureful enough for LocalThunk to make Balatro. LÖVE is more like a collection of bindings to some libraries useful for a game, plus bootstrap code to get it working, which means that you know your execution flow preciesly and have control over how you want to organize your project (OOP, ECS, something else?)
(I'm just realizing how hard it is to write about a game without showing the game…)
The game and my project layout are heavily inspired by Source engine. In fact, the core game mechanic came to me when I heard about Portal 2's cut one. Whenever I hit a roadblock on how a thing should be done, I look up how it's solved in Source. It's important to note that I don't make everything like Source, that I copy their code (or even look at it lol), or that any part of the game will feel or work exactly like Source, inside or outside. It is funny though that the prop holding mechanic turned out to be so similar that you can use the same glitches as in Source, for example wallclimbing
Scene loading is very straightforward: inside the game it's just a function that resets some variables and lauches a script that has all the actual scene info. The script literally just spawns all the entities, so it's like a run commands script. This is also what Source does for player settings: a file with commands that get executed in the console. Though I still need to figure out how to do saving and loading level progress
I really need a level editor. No matter how simple I make summon functions for the scene script, keeping track of coordinates for even mediocre complexity geometry begins to get over anyone's head. There are three ways to solve this: make an in-game level editor (definitely not right now, there's not even a UI!), make a custom level editor like Hammer (development of which will take even more from an already overambitious project), or use an existing one. The last option seems most reasonable at this development stage, though I will still need to parse it's output into the script file, but that's way easier than making a whole level editor
Near future todo list:
- Level editor
- More levels
- Conduct an actual playtest
- A UI system and some menus