Mosquito

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

Mosquito

Post by Technopeasant » Tuesday 07th December 2021 4:31am

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 01st February 2022 5:06am, edited 1 time in total.
Technical director,
Piga Software
http://icculus.org/piga/

User avatar
cogier
Site Admin
Posts: 882
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Mosquito

Post by cogier » Tuesday 07th December 2021 3:27pm

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: 76
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Mosquito

Post by Technopeasant » Wednesday 08th December 2021 2:10pm

Hey, I only got a perfect 5/5 last night... :lol:
Technical director,
Piga Software
http://icculus.org/piga/

User avatar
Technopeasant
Posts: 76
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Mosquito

Post by Technopeasant » Thursday 09th December 2021 4:31am

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: 882
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Mosquito

Post by cogier » Saturday 11th December 2021 10:33am

Technopeasant wrote:
Thursday 09th 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 102 times

User avatar
Technopeasant
Posts: 76
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Mosquito

Post by Technopeasant » Tuesday 01st February 2022 4:53am

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