Mosquito

So you have written that new, must have program. Let us see it here.
Post Reply
User avatar
Technopeasant
Posts: 140
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Mosquito

Post 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.
Last edited by Technopeasant on Tuesday 1st February 2022 5:06am, edited 1 time in total.
Technical director,
Piga Software
http://icculus.org/piga/
User avatar
cogier
Site Admin
Posts: 1118
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Mosquito

Post 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!
User avatar
Technopeasant
Posts: 140
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Mosquito

Post by Technopeasant »

Hey, I only got a perfect 5/5 last night... :lol:
Technical director,
Piga Software
http://icculus.org/piga/
User avatar
Technopeasant
Posts: 140
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Mosquito

Post 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:
Technical director,
Piga Software
http://icculus.org/piga/
User avatar
cogier
Site Admin
Posts: 1118
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Mosquito

Post 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 392 times
User avatar
Technopeasant
Posts: 140
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Mosquito

Post 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!
Technical director,
Piga Software
http://icculus.org/piga/
Post Reply