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!"
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.
Mosquito
- Technopeasant
- Posts: 144
- Joined: Saturday 13th July 2019 6:50pm
- Location: Stony Plain, Alberta, Canada
- Contact:
Mosquito
Last edited by Technopeasant on Tuesday 1st February 2022 5:06am, edited 1 time in total.
- cogier
- Site Admin
- Posts: 1125
- Joined: Wednesday 21st September 2016 2:22pm
- Location: Guernsey, Channel Islands
Re: Mosquito
It is with great regret that I have to inform you that the Giant Mosquito is dead, that bloke is just so fast.
Keep it up Technopeasant, it made me laugh!
Keep it up Technopeasant, it made me laugh!
- Technopeasant
- Posts: 144
- Joined: Saturday 13th July 2019 6:50pm
- Location: Stony Plain, Alberta, Canada
- Contact:
Re: Mosquito
Hey, I only got a perfect 5/5 last night...
- Technopeasant
- Posts: 144
- Joined: Saturday 13th July 2019 6:50pm
- Location: Stony Plain, Alberta, Canada
- Contact:
Re: Mosquito
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...
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...
- cogier
- Site Admin
- Posts: 1125
- Joined: Wednesday 21st September 2016 2:22pm
- Location: Guernsey, Channel Islands
Re: Mosquito
That was a challenge. I found the ProgressBar.class in a copy of Gambas 3.15.2 I keep for such purposes.Technopeasant wrote: ↑Thursday 9th December 2021 4:31am Also really wish it would just let me turn the progress bar colour to red...
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: -
- Technopeasant
- Posts: 144
- Joined: Saturday 13th July 2019 6:50pm
- Location: Stony Plain, Alberta, Canada
- Contact:
Re: Mosquito
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.
http://icculus.org/piga/Files/Mosquito/1.5.0/
Enjoy!
http://icculus.org/piga/Files/Mosquito/1.5.0/
Enjoy!