Spacemine Defense by Jimbly

[raw]
made by Jimbly for Ludum Dare 51 (COMPO)

cover.png

You are tasked with harvesting all resources from the sector as quickly as possible. Your boss tells you there is no danger and everything will go just fine.

Heavily inspired by an old Flash game I remember fondly, called The Space Game.

Some notes: * Supply is created every 10 seconds, and distributed to anything that needs it * One Factory creates 10 supply, so can supply at most 10 Miners * You also need supply to build, so you'll likely want to build a second Factory after building 3-4 Miners

Links * HTML5(WebGL): dashingstrike.com/LudumDare/LD51 * Source Code: Jimbly/LD51-spacemine-defense

Controls: Mouse with keyboard shortcuts (recommended), should also work with Touch controls (tablet or large phone required to see clearly, though!)

Some additional hints if you get stuck: * Most things you build go through their entire supply every 10 seconds if in use * When you encounter a second kind of enemy, you'll need fighters created by the Flybay to deal with them * A single Flybay will consume 10 supply every 10 seconds, so will need a dedicated Factory to be optimal

Screenshots: 2.png 3.png 4.png

Post-submission bug fixes: * Fixed a bug where a high score would not be submitted if you replayed a level

Development Notes

I seem to alternate between super simple ideas (like last Compo, where I had a playable game in 45 minutes), and overly complicated beasts that I just barely manage to get functional with almost no time for polish and balancing. This is one of the latter, with lots of complicated stuff going on under the hood, and lots of design space to explore, but I basically just had time to do what seemed like the minimal "2 different weapons, 2 different enemies, 2 levels". However I did have at least some time to add sounds, and the music turned out better than I expected (first time using 1BITDRAGON, highly recommend!). The balance is... I really have no idea, we’ll see how people do!

Tools Used * Custom Engine: GLOV.js * Mtn Dew * Music and SFX in 1BITDRAGON * SFX in Bfxr * Aseprite * Photoshop * Audacity * PICO-8 Color Palette (used poorly) * Fonts: 04b03 and Perfect DOS VGA 437

Ratings

Overall 2th 4.474⭐ 41🧑‍⚖️
Fun 1th 4.564⭐ 41🧑‍⚖️
Innovation 111th 3.679⭐ 41🧑‍⚖️
Theme 266th 3.538⭐ 41🧑‍⚖️
Graphics 152th 3.705⭐ 41🧑‍⚖️
Audio 35th 3.974⭐ 41🧑‍⚖️
Humor 255th 2.5⭐ 37🧑‍⚖️
Mood 58th 3.838⭐ 42🧑‍⚖️
Given 30🗳️ 35🗨️

Feedback

LDJam user 259831
03. Oct 2022 · 23:20 UTC
Really cool! I love the ability to fast forward/speed up time, would be nice if I could toggle it instead of having to hold down F though.
Serxiolas
03. Oct 2022 · 23:23 UTC
Wow! Impressive entry! This kind of games are just adictive and you nailed it!
JohnnyDZ0707
03. Oct 2022 · 23:27 UTC
This was fun. I really enjoyed the audio feedback when an action is completed or when a node is built. (Though I did get slightly confused for a bit when the enemies were stuck on the boarder of the screen)
And the leaderboard! How did you finish everything in such a short while and have time to spare to implement it! Amazing
LDJam user 302729
03. Oct 2022 · 23:46 UTC
Honestly that was addictively fun. it took a while to figure it out even with reading everything but once i got it, it was great. music is great aswell, overall this game is polished well
SomeCodingGuy
03. Oct 2022 · 23:46 UTC
Love it! Well executed, would love to see the non-jam version of it! Will be sharing around!
🎤 Jimbly
03. Oct 2022 · 23:55 UTC
@gabriel-chan Glad you liked it! I considered having fast-forward be a toggle, but it seemed like time could really get away from you quickly doing that ^_^. Probably would have been good (even if it were a different key or something ^_^).

@serxiolas Thanks for playing, and glad you liked it!

@johnnydz0707 Heh, yeah, the enemies on the border are a little weird, I was planning on making that better/clearer, but, I didn't have the spare time, and a `clamp()` was easy ;). As for finishing everything, it was a stretch, I definitely really had to push up until the end. It helps working in an engine that I spend my work week working in though, too, and the high score system is part of the engine too, just had to hook up the game's logic / leaderboard display to it.

@gcrexx Glad you figured it out! Some things are a bit overcomplicated, if there's anything that was the most unclear, would be good to know what, I could leave a note here on the description for those who come after you =). Glad you liked the music, it was my first time playing with `1BITDRAGON`, and it turned out pretty great!

@somecodingguy This one was lots of fun, maybe there'll be a non-jam version some day ^_^.
csnxs
04. Oct 2022 · 12:20 UTC
I really liked this game! I just wish there more of it - I can see it becoming easily addictive. Great work.
nyxkn
04. Oct 2022 · 13:08 UTC
I was absolutely addicted. I've stolen all the high scores :D This is so incredibly fun! Really well made and great amount of polish. The menus and leaderboards are also very pretty. Difficulty was spot on. You say you didn't have time for polish but I think you managed to take care of all the essential things, so great job on scope and task prioritization! I haven't got any criticism really. Great entry!
🎤 Jimbly
04. Oct 2022 · 15:11 UTC
@csnxs Glad you enjoyed it! Yeah, it needs some additional levels, wouldn't be too hard to expand to have more content, I think =).

@nyxkn Those are some great scores!
Pixelydian
04. Oct 2022 · 18:54 UTC
#6 as of this posting! :grin: Holy smokes, great job! I love strategy games, and you hit it out of the park. Very addictive gameplay, music hit that sweet spot where it set the mood but didn't feel repetitive. Your game feels very balanced - difficult, but achievable. *applause* I had a lot of fun!
🎤 Jimbly
04. Oct 2022 · 19:39 UTC
@pixelydian Thanks, and, great job! If it makes you feel better, you're #2 on the level 3 leaderboard, as far as Ludum Dare folks go (I recognize all the rest from a Discord I shared the game in ;).
sebbernery
04. Oct 2022 · 20:02 UTC
WTF, I'm the first to note this gem ???
I followed you while scrolling in the during the jam because you posted a screenshot that appealed me, and boy, what a wonderful game ! Best entry I saw in this ludum, but I have to admit that's totally my kind of games.

It was a pleasure to play, the game is correctly balanced (which is very hard for this type of game in a jam). The game concept is perfect, the 10seconds trick is perfectly integrated in the game play and you understand quickly the game thanks to a first level with near no enemies (at first I believed it was a bug that there was laser tower with no enemies).

10:26s for the last level, I'm pretty happy :).

Congratulations for this entry and I hope you'll continue to develop this game, because I really enjoyed it.
TheDevDuellist
05. Oct 2022 · 00:34 UTC
Wow! I seriously played this for FAR too long 😊. The music is very “industrial-space-intrigue”. Be proud of this one! I’m baffled at how some folks got times so low… I’ll likely try again once I’m done rating games.
🎤 Jimbly
05. Oct 2022 · 00:52 UTC
> I followed you while scrolling in the during the jam because you posted a screenshot that appealed me

@sebbernery That's great to hear! I sometimes wonder if anyone sees those while we're all scrambling to get things done. But, I was so excited when I had the basic build packets flowing around I had to share it, kinda thought it would appeal to programmer-gamers ;).

Mostly I left the laser tower in the first level so you could take the time to read what it does / requires... and then when I was playtesting I forgot to disable enemies on the first level and literally laughed out loud, cursing my darn boss who said everything would be fine, so I decided to leave it (and, much delayed, the enemies) in (also as an extra... learning experience... for new players, I guess? =)

@thedevduellist Glad you enjoyed it, and your time is not too bad! At least a couple of people who have the top scores are some gamer friends who are pretty competitive, and _may_ have played the first level a dozen times or so competing... Glad you liked the music, `1BITDRAGON` was really fun and easy to make something pretty good sounding.
Last Angle
05. Oct 2022 · 14:44 UTC
Super fun game! Even though it has enemies, it's quite relaxing. I made it through the first two levels for now, might come back later to finish it!
jaykayey
05. Oct 2022 · 20:05 UTC
Spectacular game! I got really invested after seeing the resources move around. Really well polished as well. UI was nice although I wished the text was a bit bigger. I think this is one of my favs so far
🎤 Jimbly
05. Oct 2022 · 22:40 UTC
@last-angle Glad you enjoyed it, and that it was relaxing! Third level might be slightly less relaxing, but mostly once you're defenses are up it's pretty chill ^_^

@jaykayey Thanks for playing! Yeah, the text is a _little_ small, but I ended up with a lot of information I wanted to convey, and kinda picked a resolution to use and stuck with it ^_^. Out of curiosity, were you playing on mobile or on a small display, or in a small window, or anything like that? If on desktop, your browser's fullscreen function (`F11` by default, usually) is super handy ;). On my monitor, the text is slightly larger (if harder to read, due to the pixel font) than the text here in the Ludum Dare website, but that'll vary greatly by device...
Faust_Mi
06. Oct 2022 · 08:49 UTC
Cool and interesting! Excellent use of sound and music! Good job!
Rob6566
06. Oct 2022 · 11:07 UTC
Very nice game - loved the music and game idea, and nice work adding high scores. Good job getting this done in 48 hours.
PurpledArtFrog
07. Oct 2022 · 08:31 UTC
Another favorite... it took a little to get in to. I had a weird issue where no music played - and then fly's showed up - a little music started... and then suddenly it ended again. Very very well put together except for that minor thing. :thumbsup_tone1:

and now... while writing this.. it started randomly in the background again :smile:
🎤 Jimbly
07. Oct 2022 · 14:13 UTC
@purpledartfrog Thanks for playing, glad you got into it! It seems like most players either play the first level and drop off immediately, or really get into it =).

That's weird with the music, definitely sounds like a bug. What browser on what platform are you using? This might be affecting my commercial game too, so would be great to track it down if there's a bug =).
SLEEPYMENACE
07. Oct 2022 · 14:46 UTC
Absolutely excellent! Blown away by this game, to be honest. I thoroughly enjoyed every aspect of it. Simple in design, but still challenging. Great aesthetic making excellent use of the simple graphics. I was thoroughly disappointed when there were no more levels to play.

Absolutely brilliant, 10/10, probably my favorite game so far!
OadT
07. Oct 2022 · 14:46 UTC
Wow, I love the feeling that this game gives me! At first I was afraid I won't understand the mechanics, but you quickly get the hang of it. It was a good idea to start with a level where enemies only spawn after a long time, and you managed to get good challenges in Level 2 and 3.

Currently my highest rating in fun so far and I also like the music! Only small nitpick I have is that sometimes placing buildings is a bit weird.
PurpledArtFrog
07. Oct 2022 · 15:18 UTC
@jimbly
You're welcome :smile:
It was windows 10 64-bit
Chrome latest version
WebGL
tanis
07. Oct 2022 · 15:25 UTC
Lovely strategy/management game. I enjoyed it soooo much! I don't know how you achieved to squeeze so much out of the compo time. It feel really great. I even find it pretty well balanced. And good idea to have leaderboards there. Even the minimalist graphics fits very well.
🎤 Jimbly
07. Oct 2022 · 17:10 UTC
@sleepymenace Thanks for playing, really great to hear you enjoyed it so much! It's likely the jam game that I had the most fun playing while making/test ^_^.

@oadt Yeah, the learning curve is a little steep, and there's a lot of mechanics to grasp, with no tutorial, so that first level works out pretty well. I'm really glad I changed it at the last minute to 5 minutes without enemy attacks from my original 3 minutes, which probably would have wiped many users =). It was actually originally intended to be no enemies spawning at all, but I had a bug and it caused me to laugh out loud and curse my tricksy boss, so I thought it was best left in ;). Building placing is a bit weird (not overlapping other buildings and not having the supply line overlap other supply lines is finicky, as well as running out of supply links on routers (maybe one of the least obvious mechanics, as there's no real feedback, you just don't see a link show up...). If I work on this game again I'd definitely add something where it finds the nearest valid place to make placing buildings much easier, and need to color-code overtaxed routers, or highlight those with open links, or something.

@tanis Thanks for playing, glad you enjoyed it, and glad the balance felt good, as I did not have much time to spend on balance (really just squeezing in a couple self playtests at the very end, 0 playtests by people other than me ^_^). I guess either I chose some good random, arbitrary numbers for the (rather large) set of parameters, or all of these Ludum Dare Compos have been refining my game design instinct ;).
Sipfindel
08. Oct 2022 · 11:09 UTC
This is great. I am terrible at this kind of games but I loved it. The audio worked nicely with the whole asthetic. It was a treat to run those supply lines and figure out how the gameworks. good job
🎤 Jimbly
08. Oct 2022 · 13:33 UTC
@sipfindel Thanks for playing! Glad to hear that it was fun to figure out how the game works instead of baffling without a tutorial =).
pianoman373
11. Oct 2022 · 03:59 UTC
Wow that was really great. I'm not usually in to strategy games but I really like factory builders and this seemed like the perfect blend of both. I can't think of any problems with the game at all. It really felt like a fully realized game, complete with even a leaderboard.
Nikolaj
12. Oct 2022 · 02:04 UTC
wow, very well balanced, engaging, polished.. amazing job for 48 hours!
monika
12. Oct 2022 · 04:11 UTC
Saw your post and my first reaction was "That looks like... what was it called?"

"Heavily inspired by an old Flash game I remember fondly, called The Space Game."

Thank you so much, that would have been bothering me all night.

Good use of the theme, and a good game in general. My leaderboard score doesn't seem to update with additional plays though, don't know if I'm missing something or if that's a bug. Didn't get to 100% but also did way better than my first 10% on the third level.
🎤 Jimbly
12. Oct 2022 · 05:01 UTC
@monika Thanks for playing. And, yeah, that game is ridiculously hard to remember and search for, with such a generic name ^\_^. Hmm, maybe there's a bug with the leaderboard... in theory it should update if you had more progress, or equal progress and lower time. If you got more than 10%, it definitely should have updated! Maybe that explains some people who I thought gave up during the intro level ^\_^. Thanks for reporting!
monika
12. Oct 2022 · 05:05 UTC
@jimbly Yeah, it was a lot higher percent, but definitely took more time, so maybe the order it's checking things in is weird?
UnitedFailures
12. Oct 2022 · 05:08 UTC
Shoutout to the dude that speed ran the final level in ~8 minutes O__O
Human Writes Code
12. Oct 2022 · 05:13 UTC
Fantastic game! I really enjoyed that. A great amount of strategy and paths to optimize. Good scaling of difficulty and great pacing so that you always feel like there's something that needs attention. I love that, at the end of a level, you just end up with a node graph. Very satisfying! Well done!
Miche
12. Oct 2022 · 05:20 UTC
Super fun experience!
The first two are easy to beat while the last one offers more of a challenge, really like the resource management and the use of the theme!
🎤 Jimbly
12. Oct 2022 · 05:55 UTC
@monika Ah, was just a simple bug - if your score was ever lower than your previous best, e.g. when you were still at 0%, it would get stuck and stop submitting scores... should be fixed now. Thanks a bunch for reporting =).
TwoWolf
12. Oct 2022 · 06:49 UTC
Was fun mining resources. Impressive graph pathfinding, especially since it's dynamic.
BlackLambert
12. Oct 2022 · 10:07 UTC
Wow, I really had fun playing this. Definitely my type of game. The concept is pretty similar to our game. :D How did you manage to do this in only 48 h? Pretty impressive.
digital bacon
12. Oct 2022 · 11:45 UTC
This is a really neat little game. Well done!
🎤 Jimbly
12. Oct 2022 · 13:40 UTC
@twowolf Glad you had fun! The graph pathfinding was pretty simple (basically just a 4-line Floyd-Warshall to find the shortest path between all pairs, whenever the graph changed), and the actual allocation of packets was greedy (find the nearest factory with supply), which often runs into some cases that bug me (if you've got a miner M1 between A and B and slightly towards B, and a miner M2 next to B, and A and B both have one supply left, it'll first grab a supply from B for M1 and then grab a supply all the way from A to go to M2. I really wanted to take a moment to run min-flow on the whole graph (or, at least, the part of the graph that was receiving packets during each 10-second tick) and use that instead of greedy, but didn't get around to it. Quite possibly no one besides me even notices this, or, if they do, hey, it's a game, and that's just a supply chain issue you need to work around by building more factories ;).

@blacklambert Really helps to be working in an engine I know inside and out that I also spend my work days working in ^_^, then can spend all of my energy on actually implementing gameplay and no time wondering how I do any particular thing. _1BITDRAGON_ also really helped get music better than any I've ever made in a jam in significantly less time (I think I spent maybe an hour total on music and SFX).
Rs11s21n
12. Oct 2022 · 15:48 UTC
For compo... Very good!Congrats!
natpat
12. Oct 2022 · 23:52 UTC
That was very fun! Really scratched that itch for me like Factorio or Civ of planning ahead and just needing to get around to that one next thing. The concepts were very straightforward, easy to learn and introduced well. The third level especially felt very hard the first time I tried it, but with some thought I managed to beat it.

The sound was great, the sound effects worked very well, and the music was very in keeping with the theme. Just the right vibe. The graphics were a little bit old school and maybe a bit rough around the edges, but it definitely had a style.

My only gripes were that sometimes it was hard to place a building - I worked out that the nodes only had a certain number of connections, but I do wonder if some automatic re-jiggling of connections would make gameplay smoother - there were times were I was sure if I had build my connections in a different way, it would all be fine, so changing where the connections were on the fly might be all it takes to make it less frustrating to place buildings. I also wish it was a bit easier to assess damage - maybe something like factorio where destroyed buildings have a shadow of themselves and a `/!\` or something.

Potentially also being able to control the attack spaceships might be nice too - they were pretty dumb and I wished I could have been able to tell them where to go, and it might have also added an extra layer of complexity.

The theme worked well too - it kind of became defunct after a certain point though, as power just got to places as it got there. I think it would be a different game without it though, so perhaps it is more key than I think.

Really great job, especially for a compo entry!
🎤 Jimbly
13. Oct 2022 · 00:54 UTC
@natpat Thanks for playing, and thanks for the great feedback! Yeah, placing buildings I think is the biggest annoyance, that could definitely be made better (even just snapping to the nearest place it was valid, if there was one nearby, and display a message why not otherwise would probably go a long way...).
Senover Games
15. Oct 2022 · 05:06 UTC
Wow, great entry! Very addictive and it's looking beautiful in late game.
Ingo_holle
15. Oct 2022 · 16:32 UTC
Cool! One of the games I really enjoyed playing all the way through :)
Aside from the nice mechanics, I found the levels well balanced in terms of difficulty (especially the third one: challenging, but makable).
Really impressive, even more so for a compo!
nevyn
22. Oct 2022 · 19:12 UTC
I really loved this game. The node grid of routers is very satisfying, and the mining/production/defense balancing is really direct and satisfying. very nice to not have/be able to control my attack units :sweat_smile:
nyxkn
22. Oct 2022 · 21:02 UTC
@jimbly my friend, congrats on the ranking! Well deserved. See you in the next one!
🎤 Jimbly
23. Oct 2022 · 01:18 UTC
@nevyn Thanks for playing and glad you enjoyed it!

@nyxkn Thanks, cheers!
icxon
24. Oct 2022 · 19:00 UTC
Congrats on your 2nd place in Compo! I had a lot of fun playing this. :zap:

https://youtu.be/iHlxBPwYDcU
🎤 Jimbly
24. Oct 2022 · 19:42 UTC
@icxon Thanks for playing, and thanks a ton for posting a video, always nice to see where people struggle, though it seems you pretty quickly figured out all of the important stuff =).
Nanaschi1984
04. Jan 2024 · 10:10 UTC
Cool visual style!