QB64.org Forum

Active Forums => Programs => Topic started by: SirCrow on January 27, 2020, 12:58:58 am

Title: Black Hole Happy Fun Time Game Play Thing
Post by: SirCrow on January 27, 2020, 12:58:58 am
The title says it all.....probably, I think.  Too much, maybe?
Anyway, you can control the movements of the stars using keyboard or mouse...

'=====================  C O N T R O L S  ======================

' Keyboard Input:

'  C.............Center the Black Hole
'  Space......Center the Black Hole + stop all movement
'  Enter.. .....Stars are sucked in;  no other movement
'  R..............Reverse the rotation
'  T..............Toggle twisting/spiral motion
'  V..............Reverse stars going in/out (vacuum/vent)
'  H.............Toggle hole's halo/glow
'  +/-...........Increase/decrease size of hole

' Mouse Button - Outside of Hole:

'     Left button.......Increase anticlockwise rotation
'     Right button.....Increase clockwise rotation

' Mouse Button - Inside of Hole:

'     Button click + drag will move the Black Hole to any place
'     on screen, but moving mouse too fast will drop the hole.

' Mouse Wheel:

'  Forward..........Increase vacuum speed (or slow vent rate)
'  Reverse..........Decrease vacuum speed (or speed vent rate)
'  Click...............Stop all movement w/o centering

'==============================================================
As usual, my code is messy, but it seems to run all right.
Title: Re: Black Hole Happy Fun Time Game Play Thing
Post by: Richard Frost on January 29, 2020, 06:17:47 am
Very nice, but it ate my dog.  Bring it back.
Title: Re: Black Hole Happy Fun Time Game Play Thing
Post by: SirCrow on January 29, 2020, 11:56:18 am
Very nice, but it ate my dog.  Bring it back.

So that's where that dog came from!  He's mine now.  Thanks.