Page 1 of 1

Mosquito

Posted: Tuesday 7th December 2021 4:31am
by Technopeasant
An arcade game of fast reflexes created for the December 2021 LibreJam.

"You are a female prehistoric giant mosquito, preserved pregnant in amber and inadvertently re-awoken. Time to feed and resurrect the species. Avoid getting squished and returning to extinction!"

Image

http://icculus.org/piga/Files/LibreJam/ ... 1.0.tar.gz

It is not very complicated because I only had a limited time to produce it, but I think it is still fun. And I tried to make people relate to a mosquito, so that is something.

Re: Mosquito

Posted: Tuesday 7th December 2021 3:27pm
by cogier
It is with great regret that I have to inform you that the Giant Mosquito is dead, :( that bloke is just so fast. :o

Keep it up Technopeasant, it made me laugh!

Re: Mosquito

Posted: Wednesday 8th December 2021 2:10pm
by Technopeasant
Hey, I only got a perfect 5/5 last night... :lol:

Re: Mosquito

Posted: Thursday 9th December 2021 4:31am
by Technopeasant
Heh, due to its simplicity (less than 250 lines of actual code) I just found out this game is perfectly agnostic to run from either Qt 5 or GTK 3. Been awhile since I wrote anything like that.

EDIT: it also works in GTK 2 and mostly works in Qt 4 (the mosquito is blurry for some reason)

Also really wish it would just let me turn the progress bar colour to red... :roll:

Re: Mosquito

Posted: Saturday 11th December 2021 10:33am
by cogier
Technopeasant wrote: Thursday 9th December 2021 4:31am Also really wish it would just let me turn the progress bar colour to red... :roll:
That was a challenge. I found the ProgressBar.class in a copy of Gambas 3.15.2 I keep for such purposes.
Copied it to the .scr folder in your program.
Renamed it MyProgressBar.class.
Ran the program so that the new MyProgressBar appeared in the toolbox.
Replaced the original Progressbar with the new one.
Renamed it to PBBlood.

I hacked about inside until I found the relevant colours.
Line 74 is the colour of the progress bar border.
Line 83 is the colour of the progress bar.
Line 118 is the colour of the percentage count text when covered by the coloured bar i.e. 50%+
The original lines are REMed out.

So RED it is: -

Image
Mosquito-1.1.tar.gz
(450.11 KiB) Downloaded 452 times

Re: Mosquito

Posted: Tuesday 1st February 2022 4:53am
by Technopeasant
Just in time for the next jam to begin, here is the update. It features cogier's red progress bar, menus (including a customization menu), animations and various other tweaks.

Image

http://icculus.org/piga/Files/Mosquito/1.5.0/

Enjoy!