Collectorio by Tkap1


Collect energy through machinery
Research new technologies
Become THE COLLECTOR
Reach the TOP of the leaderboard
Development
Made in C++ without an engine in about 20~ hours
I was busy doing more important things (like playing DotA) so I didn't have time to polish as much as I would like to
Programming, design, most sounds, and programmer art by Tkap
Good art by Superku
Music by TeknoAXE
| GAME | https://pakt.itch.io/collectorio |
| Link | https://github.com/Tkap1/ldjam58 |
| Original URL | https://ldjam.com/events/ludum-dare/58/collectorio |
Ratings
| Overall | 452th | 3.442⭐ | 28🧑⚖️ |
| Fun | 91th | 3.88⭐ | 27🧑⚖️ |
| Innovation | 614th | 2.82⭐ | 27🧑⚖️ |
| Theme | 314th | 3.792⭐ | 26🧑⚖️ |
| Graphics | 466th | 3.5⭐ | 26🧑⚖️ |
| Audio | 286th | 3.435⭐ | 25🧑⚖️ |
| Humor | 617th | 2.316⭐ | 21🧑⚖️ |
| Mood | 366th | 3.587⭐ | 25🧑⚖️ |
| Given | 17🗳️ | 21🗨️ |
-J
How did you get emscripten to work with SDL. Can you use the external libraries because I use SDL_mixer for the music. I loved programming in the SDL VS Studio environment but these game jams pretty much need the game playable in a browser window.
If you could throw any guidance my way it would be greatly appreciated.
By the way the game is awesome. Plays well, graphics simple yet effective, chill game. One of the few games in this builder genre that I was willing to play.


There is nothing special you have to do to get SDL and emscripten working together. You can look at my build_em.bat and platform_emscripten.cpp
You can use SDL mixer, in fact, I was doing that 2 jams ago, but it didn't have support for something I wanted (can't remember what it was), so I'm directly messing with the audio samples now using just SDL (shared_between_platforms.h)