Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1448

[vb6] Virtual Pet Roach v1.2 (Updated 08/06/20)

$
0
0
Since I see the famouse "sheep.exe" I wanted to create something like a virtual pet... finally 2 decades later I found the time to do it.
This is a cockroach that roam the screen. It run outside the screen when touched with the cursor and if computer is left idle for certain time, start spawning more cockroachs until certain limit.
Animation of every limb and movement is made with detail and looks very realistic.

Also this code can be usefull te see how to interact with the mouse, how to calculate angles, idle detection , creating a systray and draw 8 bits transparency forms (32bpp)

Name:  VirtPet_Snap1.jpg
Views: 169
Size:  15.2 KB
Running wild over desktop windows

Name:  VirtPet_Snap2.jpg
Views: 172
Size:  40.0 KB
Debug movement screen enabled

PD: Also got a cool about screen effect.


Download: prjVirtualPet_v1.2_Src.zip


v1.1 - Memory leak completely fixed!!!!
v1.2 - Fixed display on HighDPI screen

TODO: Multi monitor support
Attached Images
  
Attached Files

Viewing all articles
Browse latest Browse all 1448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>