Delivery Squares by Elementary

[raw]
made by Elementary for Ludum Dare 53 (COMPO)

A simple HTML game about squares. Keyboard required (wasd or arrows to move, space to skip text).

I fixed the speed issue in v1.1. The original is in the downloads so that they can be compared.

Controls - WASD or arrows to move player - SPACE to skip text or restart

How to play

Tiny squares around player indicate direction of sources, the distance of these squares change depending on the closest source to the player, orange square does not change distance as this is the direction of the city.

Four bars on the left indicate amount of squares currently in the city, the right four bars indicate the player's storage.

To collect squares follow the indicator squares around the character and hover over the same colored square to collect, then return to the city to deliver. Sources can be drained, when this happens the source will disappear and a new one will spawn in a new location.

The aim is to keep the bars from falling below the red bars, which will decrease your score by one every second for every bar below the red, red bars can be decreased by overfilling and they will slowly increase over time. Overfilling will grant a bonus to the score value for the resources that would have been consumed.

If your score reaches zero or one of the bars fall to zero it is game over. You can then press space to try again.

Difficulty

For those interested I've also added the relevant difficulty variables at the top near the script tag, so that the speed and difficulty can be adjusted, these variables are also available from the console when played from the downloads.

  • consumptionRate can be set to 3.2 or above to make it slightly harder.

  • playerSpeed determines acceleration.

  • friction determines the deceleration.

  • maxSpeed determines the players maximum speed

Known bugs

There's still some movement issues, for example acceleration not going to zero, so the screen might appear like it's flickering at times when the player moves without input, it can also cause some other interesting effects.

Acceleration and deceleration are tied to frame rate, which was a mistake on my part, but it shouldn't be a problem in most cases due to the speed cap.

Changelog for v1.1:

  • Fixed a mistake with calculating the maximum speed for the player.

  • Fixed the range for area blocks to give a better indication of speed.

Ratings

Overall 389th 2.586⭐ 31🧑‍⚖️
Fun 368th 2.655⭐ 31🧑‍⚖️
Innovation 311th 2.946⭐ 30🧑‍⚖️
Theme 349th 3.155⭐ 31🧑‍⚖️
Graphics 398th 1.81⭐ 31🧑‍⚖️
Audio 339th 1.185⭐ 29🧑‍⚖️
Humor 336th 1.857⭐ 30🧑‍⚖️
Mood 386th 2⭐ 31🧑‍⚖️
Given 41🗳️ 39🗨️

Feedback

Rustywolf
01. May 2023 · 03:47 UTC
Player can get really fast, and its hard to keep track of your position. Fun otherwise
Hiinds
01. May 2023 · 08:02 UTC
Fun concept, feels like you need to fill a printer with ink! The player movement might be a bit too fast so it is difficult not to die in few seconds.
made3
01. May 2023 · 08:16 UTC
I can only agree with the others, the player can rocket around. Maybe it would have made more sense to have a separate minimap instead of around the player or something.
It's always interesting though how hooked one can get from such a simple game.
Xwilarg
01. May 2023 · 13:01 UTC
It was already said 3 times but yeah things really go too fast, making it a bit hard to play and enjoy the rest of the game, otherwise it looks interesting
🎤 Elementary
01. May 2023 · 13:12 UTC
@xwilarg, yes I know, I had trouble balancing the player movement, but at the end I seem to have gotten used to it. The trick is to not hold down the direction key for too long, I did cap the max speed, but it might still be an issue. I'll upload a fixed version later reducing the max speed and increasing the friction, since it seems to be a major issue.
Xwilarg
01. May 2023 · 13:21 UTC
Indeed the game is much better once you have a good grasp of the speed, managed to fill the 4 "printers" bar full of ink
The Hat Guy
01. May 2023 · 14:10 UTC
Pretty fun game! It took me a couple of tries but I managed to get the gauges to stay filled in practice as long as I would continue. Good job!
Papaya
01. May 2023 · 14:25 UTC
Took me somee tries to understand how the game works. Once I did, I was having trouble keeping my square inside the larger squares. But overall, a solid entry.
KyleTheCoder
01. May 2023 · 17:50 UTC
I had struggled for a bit, but once I got used to the movement, it was okay! Pretty cool submission ultimately, nice to see a lot done with simple geometry.
LDJam user 277876
01. May 2023 · 18:36 UTC
I found the controls and indicators to be very intuitive which is something many games don't do. Alas, I found the game to be quite difficult not due to a lack of understanding of the controls, but simply because of the immense tokyo-drifting. Keep it up!
Defrag
01. May 2023 · 20:41 UTC
I kept the city alive for at least 3 minutes. I gave up after a while because the bars were full and draining very slowly. The core game loop is simple, which is good, but also can be limiting if the skill ceiling is reached too quickly. Were there any additional features that you had planned to include but weren't able to due to time?

I really don't like typewriter effects because I often read faster than the type appears. My little pet peeve, I guess. I didn't realize I could skip with [space] until I started trying different things.

The radar feature was nice, although I don't quite understand why it was smack in the middle of the screen. It didn't block anything, but I didn't realize initially what it was trying to tell me.
🎤 Elementary
02. May 2023 · 03:46 UTC
@defrag I'll add the skip option key to the description, sorry about that. I also hate the text, so I added the option.

The game balance was upset after fixing the speed problem, so it's relatively easy now and I didn't want to change the code too much to compensate, but even before the the fix, game balance wasn't perfect, so I moved the variables to the top of the script so that anyone can change it to make it harder or easier depending on preference. There are a few other things I can do to fix the game balance, for example the distance of the sources, but I'll leave it like it is for now and maybe add a fixed version to the downloads when I get time, if it's even possible to fix.

Now that I got some quality sleep the game seems pretty terrible in my opinion, but I haven't entirely given up yet. Besides I did get some pretty good ideas and base code for future projects from this.
LDJam user 364744
02. May 2023 · 05:24 UTC
i like this exploration of the delivery mechanic! i think with some sort of increasing difficult & upgrade system this could be quite addicting
🎤 Elementary
02. May 2023 · 05:43 UTC
@dishwand I was planning on adding an upgrade system and increasing difficulty, but getting everything to balance in time would have been impossible, I was already spending about half my time play testing to make sure I wasn't making it impossible, so I stuck to the basics, but at the end I still messed up the balance. I'm planning on fixing a few things and making it a bit more complete after the jam, but thanks for at least trying it.
kgurniak91
02. May 2023 · 08:16 UTC
Got me a while to understand what I am doing, then it got fun with resource management. Reminds me of io games like agar.io
the neon shark
02. May 2023 · 14:07 UTC
There's something clever at the core here of collecting various inks needed "stay alive". From a game design perspective, the mechanics feel a bit flat. If you're going to give me 4 ink resources to track, I'd like them to be evolving at different rates / have impactful traits. Without variety in ink behavior, everything feels a bit monotonous. Good concept!
🎤 Elementary
02. May 2023 · 16:02 UTC
@the-neon-shark A lot of ideas had to be left out due to time constraints and me trying to get the game balance right. I never thought trying to keep stuff balanced could be this hard, just changing one variable could mess up the entire game and then everything else would need changing, which was what happened with the speed fix.

The four different types were actually meant to be lives, with different rates. Rates changing depending on how much it's filled, which is kind of still left in the game in the form of the red bar limits. Having a bar fall to zero would lead to losing a life, but I couldn't really get everything to balance so I removed it. There was a lot of other things that also had to removed due to balance issues for example the four towers of the city were actually meant to represent the ink stores, which could break or be rebuilt and upgraded. I would really have liked to make it more coherent and fun, but I'll leave it for after the jam if I have time. I still think there's potential here, kind of reminds me of Leaf Blower Revolution in a sense, but I thought it would have been slightly too ambitious to make it an idle type game instead of a simple score based system, since it would require decent variation in content, but now that I had more time to think, it might have been the better approach to this style.
vydra
02. May 2023 · 16:27 UTC
Don't know about gameplay but controls here sucks.

I tried to win. But it were too hard for me.
🎤 Elementary
02. May 2023 · 16:46 UTC
@vydra Sorry, sometimes the squares you have to collect spawn too far and after the speed fix it might be impossible to collect and return in time, another strategy you could try is only filling up around half of each and getting back, or do the nearest one first, since the score decline depends on the number of bars below the red.

If you have trouble with controls let me know what's wrong, is it the speed, slow down rate or acceleration, there's still a bug with the acceleration speed which is tied to the frame rate. I accidentally removed a delta multiply with the fix, but it shouldn't be significant enough to cause issues since the max speed is capped.
Hakro
02. May 2023 · 22:52 UTC
There's been an issue for me with two of the colors too similar (I'm mildly color blind), but other than that, it's a fun concept.
Cheers
🎤 Elementary
03. May 2023 · 04:54 UTC
@hakro Thanks for trying at least, sorry about that, I was actually keeping it in mind while working, but I guess I didn't vary the hues enough to make the colors distinctive. I should have tried playing in black and white before uploading to make sure the colors were different enough. I was also considering adding shapes, but time constraints were a problem.
Wahooney
03. May 2023 · 15:51 UTC
I enjoyed this, but once you get enough juice in the main box the challenge basically goes away, some sort of adversary that knocks the juice on of you in transit might be a good idea. But overall it was fun.
LDJam user 240168
04. May 2023 · 10:08 UTC
I agree with others that the player has too much inertia when they stop moving (the high speed itself it fine for my taste). The game doesn't have a fullscreen option, and when I used the arrow keys they applied to the whole web page first, so e.g. when pressing the down arrow key the page would scroll down a bit and only then it would start being applied to the game itself, which was quite frustrating. It took me a long time to figure out what to do; the colored bars on the bottom left are basically unreadable until you realize what they mean, and I didn't realize the little colored squares are actually directions - I thought they are the squares you need to gather, and couldn't figure out why they move in such a wierd way and why I can't ever reach them. Overall the game concept is a good one, but I'd say the game needs some work with explanations & providing feedback to the player.
🎤 Elementary
04. May 2023 · 10:39 UTC
@lisyarus What browser did you use, since it was tested on Firefox and Chrome variants. Sometimes you have to click on the embedded window so that it can grab the input keys, otherwise I could disable arrow keys for page navigation, which should work on the download version, but I'm not sure how it would react to embedding.

I'll add an explanation of what to do to the description and I'm working on a post jam version so any feedback on bugs or mistakes are welcome, thanks for playing.
LDJam user 302410
06. May 2023 · 09:32 UTC
Fun idea. I think this game would look much better if you changed the colors to be of the some color palette.

Also bug: WASD controls don't work on non-english keyboard layout.
Robertthebastian
06. May 2023 · 09:39 UTC
Cool concept, I like the idea to integrate the minimap into the game the way you did. Good job :)
MPK90
06. May 2023 · 10:30 UTC
It was a nice little experience. I find the display of the other squares very good (map)
neonlare
10. May 2023 · 21:27 UTC
Nice little jaunt, good clear concept that has a fair bit of potential to build up from, good stuff!
Roka Josh
17. May 2023 · 14:37 UTC
I agree with the comments about the controls being a little fast and floaty, but a solid entry non the less. Good job!