LD50.exe by Antsa

[raw]
made by Antsa for Ludum Dare 50 (JAM)

Your machine is infected with something. You don't know what it is, or why it is there, but one thing is for sure: It want's to fill up your ram really badly! Blue screen of death seems to be inevitable, but how long can you delay it?

Take on the most exciting popup closing simulator out there.

screenshot.png

Patch 1.0.2: Fix a texture loading error on launch

Ratings

Overall 803th 3.447⭐ 21🧑‍⚖️
Fun 483th 3.579⭐ 21🧑‍⚖️
Innovation 585th 3.421⭐ 21🧑‍⚖️
Theme 346th 3.947⭐ 21🧑‍⚖️
Graphics 786th 3.526⭐ 21🧑‍⚖️
Audio 722th 3.083⭐ 20🧑‍⚖️
Humor 168th 3.921⭐ 21🧑‍⚖️
Given 19🗳️ 11🗨️

Feedback

LDJam user 202408
05. Apr 2022 · 11:28 UTC
hello I would like to play the game but I don't have my linux computer right now, can you please make a build for windows (it's name ld50.exe after all lol), or web
🎤 Antsa
05. Apr 2022 · 11:40 UTC
@0x-void-x0 Sorry but I'm afraid I can't make a Windows build. I have tried my best with a virtual machine and wine, but getting g++ (gcc) running on windows wasn't too successful. My friend had some luck with compiling my game engine on windows and he might be able to port it some day but he's not home right now.

As for web builds, that is in the plans but not implemented yet into the game engine

Thanks for your interest though :P
LDJam user 202408
05. Apr 2022 · 11:45 UTC
@antsa ok I see, I'll give it a try when I could, I which you best of luck!
phoenix-gi
05. Apr 2022 · 12:02 UTC
Can't run your build on Ubuntu 19.10. Output:

[14:59:17] [] Failed to load texture [/tmp/.mount_LD50.eIcQ64j//usr/share/application/res/sprites/x_button.png]: Invalid renderer
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 96
Current serial number in output stream: 97
NicolasJL9
05. Apr 2022 · 12:16 UTC
Dont have linux but still. The idea is really atractive, I would have really liked to play but anyway, keep up doing what you enjoy!
🎤 Antsa
05. Apr 2022 · 12:24 UTC
@phoenix-gi that error should be harmless. I got the game running in a PopOS virtual machine, but maybe I should also setup a Ubuntu VM and fix the texture loading bug. Thanks for the heads up!

Edit: The bug should be fixed now

Edit 2: Spun up a Ubuntu 21.10 VM and had no issues.
subvertissement
05. Apr 2022 · 17:08 UTC
trying to run the .AppImage returns the following error:

./LD50.exe-1.0.1-x86_64.AppImage
[13:05:52] [] Failed to load texture [/tmp/.mount_LD50.ekcZ8oF//usr/share/application/res/sprites/x_button.png]: Invalid renderer
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 107
Current serial number in output stream: 108

(on ubuntu 21.10)
Helen
05. Apr 2022 · 18:42 UTC
Could you make a small video of your game? I'm also interested in playing the game on windows.
🎤 Antsa
06. Apr 2022 · 14:01 UTC
@subvertissement did you try the 1.0.2 version? If not, then I'm not entirely sure what would be the cause, since I can't reproduce the issue on my system.
🎤 Antsa
06. Apr 2022 · 14:44 UTC
@helen I guess I should. In its core the game is simply a point and click thingie, so you aren't missing out on much :D

I'm sorry about not being able to provide windows builds. I'll aim for more cross-platform compatibility before the next LD comes around
Tsugumi
06. Apr 2022 · 15:49 UTC
Lol. Is it a virus? or a game? Nice idea.
🎤 Antsa
06. Apr 2022 · 16:04 UTC
@tsugumi Good question :D

As far as I know, it is a game. If you want to verify for yourself, you can read the source code right here:
- https://github.com/Toasterbirb/Ludum-Dare-50
- https://github.com/Toasterbirb/Birb2D

You can also compile it from source and run it in Firejail to contain it completely. You should actually use firejail etc. with all Ludum Dare games if you are running them on your own computer locally. I don't know of any malware being in LD games, but you should always be cautious when running random binaries
dot_dev
09. Apr 2022 · 12:19 UTC
Getting similar error to @subvertissement:

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 108
Current serial number in output stream: 109

:( looks really cool
Daniikk1012
09. Apr 2022 · 12:33 UTC
Nice clicker, survived for 1:34 minutes. Didn't have enough time to read everything written on the windows unfortunately.

Osu players will like this
🎤 Antsa
09. Apr 2022 · 13:30 UTC
@daniikk1012 I may or may not be an osu player myself lol
🎤 Antsa
09. Apr 2022 · 13:37 UTC
@dot-dev What distribution do you use? I could probably spin up a vm and try to reproduce the issue. I have so far tested the latest Ubuntu release, Gentoo and the latest PopOS release.

I also can't test it on AMD GPUs and that might be a problem with the AppImage. Me and my friend also found a possible bug in the font rendering library we used and I'm a bit powerless against that. The problem has to do with a text wrapping function that has near zero documentation and doesn't seem to behave in a stable way on every system.

I'm almost a bit scared of rating other peoples games because it puts this game to the front page and encourages others to play this buggy mess that seems to crash on every other system :D. Kinda counter intuitive
Minus
09. Apr 2022 · 13:50 UTC
Couldn't test due to not having working linux machine right now.
Wanted to compile for windows, but code is not suitable for porting. It references linux code everywhere and works based on getting environment variables from Linux. Also memory managements was an issue, got it to compile and launch, but would need to rewrite alot of directory things to get it work properly. @antsa if I manage to port it tho, I'll send compiled version here.
dot_dev
09. Apr 2022 · 14:03 UTC
@antsa I'm on PopOS 20.04 on a laptop with Nvidia graphics.
🎤 Antsa
09. Apr 2022 · 15:32 UTC
@minus Yea, I'm aware of my memory management issues :P. I'm quite new to C++ in the grand scheme of things and this has been a big learning project. Also about half of the LD game was written by a friend of mine who was completely new to C++ so that should explain the weird code style clashes, if there are any

Also, I'm aware of the directory problem. The main issue is that I don't have access to windows devices and can't really test anything on windows. My PC has a storage shortage and my laptops proprietary BIOS has completely crapped itself and selectively recognizes boot media.

I don't ideologically have anything against a Windows port, but I have no clue how to do Windows development when not on Windows. I'll clearly have to solve this issue though if I want to take part in LD next time around.

I'll happily accept a Windows port if you manage to create one and/or accept any pull requests to the repositories
🎤 Antsa
09. Apr 2022 · 15:35 UTC
@dot-dev I guess the problem lies somewhere with graphics card drivers then most likely. I have tested my stuff in a PopOS 20.10 virtual machine, but that has a virtualized graphics card and I don't have a spare GPU to passtrough right now.
Minus
09. Apr 2022 · 23:26 UTC
@antsa Got it to work. **It requires Microsoft Visual C++ Redistributable 2019 available here**: https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

Link below will have two archives available as soon as I upload them. Release.zip contains built game that **should** run properly if people have redistributable available. Other one will contain whole project adjusted to Microsoft Visual C++ Compiler with Visual Studio 2019 project files. I didn't try to get it to work with MinGW (which is windows port of GNU GCC).
I also didn't really fix memory leaks and other stuff I just did what was necessary to launch your game on windows. Have fun, and please upload at least Release.zip somewhere else, cause I cannot guarantee my link will be available longer than one week.

LINK: https://drive.google.com/drive/folders/1ychAg4VbsJGTefFVeRDtX_6zvu9Wkh0s?usp=sharing (files will be available soon)
🎤 Antsa
10. Apr 2022 · 11:39 UTC
@minus **Thanks a lot for your efforts!**

I got the release running in wine after doing a few tweaks and installing the C++ Redistributable. I'll upload the release to the projects github page and link it here shortly. I might also try to add your changes to the source code with preprocessor directives or something, so that they could be used for other projects as well.

I really didn't think that this would even be possible :D
Marianoa213
20. Apr 2022 · 00:16 UTC
Very fun and original game! Should make a short tutorial that would show when opening the game for the first time, at first, it starts easy and slow, then it gets hard and fast. But overall, it was very fun to play. 10/10

I hope you reach 20 ratings as well ;)
dmtroy
21. Apr 2022 · 00:51 UTC
Nice and fun little game.
ThePirateNun
21. Apr 2022 · 01:46 UTC
I was a bit skeptical at first, but as I played I really felt this nail the experience of just being annoyed by windows popping up. Super interesting take on the theme, I really enjoyed it! I would find some ways to make the audio a bit less harsh, other than that I had a great time!
LDJam user 288502
21. Apr 2022 · 06:57 UTC
Hilarious :laughing:

I lost because I wanted to read what the popups said. No regrets.

By the way, on the Windows version the line break in the Game Over screen didn't work.

(probably because of the Unix line break being "\n", while Windows expects "\r\n")
OtterFaeLure
21. Apr 2022 · 10:12 UTC
That was amazingly fun.

I had a moment of worrying that things were going to take forever to ramp up, but then a switch flipped in the game and I was a goner. Amazingly timed, so well done!

Thank you.
zimny11
21. Apr 2022 · 11:01 UTC
Nice concept and cool execution. I think some other types of window pop-ups would be a nice addition, like windows with some simple mini-game, like a slider you need to move, windows that are not virus, and you shouldn't close them (they close themselves after a few seconds), etc. Anyway, nice job with the game!
🎤 Antsa
21. Apr 2022 · 11:32 UTC
@zimny11 we had some grandious plans actually similar to your ideas, but they had to be scrapped because about half of the jam was spent on two segmentation faults :D
🎤 Antsa
21. Apr 2022 · 11:35 UTC
@jamtempisto That could be it. The whole line break thing was quite risky. It wasn't documented at all in the SDL2 docs and was quite buggy on some systems and even lead to crashes in some cases.
pcmaster
21. Apr 2022 · 11:37 UTC
I'm glad it didn't crash my work computer :D Nice. I've seen a similar game here on LD last time, now yours fits the theme better.