Mosquito

Post

Posted
Rating:
#1 (In Topic #777)
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
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!"

<IMG src="https://static.miraheze.org/pigalorewiki/archive/8/8a/20220201045032%21Mosquito.png"> </IMG>

http://icculus.org/pig…reJam/Mosquito-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.
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Guru
cogier is in the usergroup ‘Guru’
cogier is in the usergroup ‘GambOS Contributor’
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!
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
Hey, I only got a perfect 5/5 last night…  :lol:
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
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:
Online now: No Back to the top

Post

Posted
Rating:
#5
Avatar
Guru
cogier is in the usergroup ‘Guru’
cogier is in the usergroup ‘GambOS Contributor’

Technopeasant said

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 <COLOR color="#FF0000">RED</COLOR> it is: -
 
<IMG src="https://www.cogier.com/gambas/MyProgressBar.png"> </IMG>

Attachment
Online now: No Back to the top

Post

Posted
Rating:
#6
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
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.

<IMG src="https://static.miraheze.org/pigalorewiki/thumb/8/8a/Mosquito.png/771px-Mosquito.png"> </IMG>

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

Enjoy!
Online now: No Back to the top
1 guest and 0 members have just viewed this.