qbjs evolving program #1
#17
@mnrvovrfc I like an evil clown face to shoot at! LOL

So maybe make it more clownish, also the nose needs to be drawn last in face sub PLUS drawBall instead of flat filled circles.
A little mod of this:
Code: (Select All)
Sub drawBall (x, y, r, c As _Unsigned Long)
    Dim rred As Long, grn As Long, blu As Long, rr As Long, f
    rred = _Red32(c): grn = _Green32(c): blu = _Blue32(c)
    For rr = r To 0 Step -1
        f = 1 - Sin(rr / r) ' thank OldMoses for Sin ;-))
        FCirc x, y, rr, _RGB32(rred * f, grn * f, blu * f)
    Next
End Sub

https://www.chelsidermy.com/blog/Scary-p...-of-clowns
   

Like I said I will draw in a spaceship that will be more challenging to shoot at. In fact I have an idea for reverse space Invaders ie ships double in number when hit. I have no idea where that might go... "to go where no man has gone before."

Thankyou @dbox for finding and reporting the problem promptly, I haven't tested yet but I bet you added an explosion sound which goes good with photon firing. Update: Perfect!

Oh hey, maybe the DrawBall code could be improved with shaddowing! Bonus points for the lighter part too!
b = b + ...
Reply


Messages In This Thread
qbjs evolving program #1 - by grymmjack - 06-03-2023, 05:27 PM
RE: qbjs evolving program #1 - by dbox - 06-03-2023, 08:15 PM
RE: qbjs evolving program #1 - by dbox - 06-05-2023, 04:07 PM
RE: qbjs evolving program #1 - by bplus - 06-05-2023, 04:21 PM
RE: qbjs evolving program #1 - by dbox - 06-05-2023, 04:25 PM
RE: qbjs evolving program #1 - by bplus - 06-05-2023, 04:36 PM
RE: qbjs evolving program #1 - by mnrvovrfc - 06-07-2023, 09:27 PM
RE: qbjs evolving program #1 - by bplus - 06-07-2023, 11:41 PM
RE: qbjs evolving program #1 - by dbox - 06-07-2023, 11:53 PM
RE: qbjs evolving program #1 - by bplus - 06-07-2023, 11:58 PM
RE: qbjs evolving program #1 - by dbox - 06-08-2023, 12:08 AM
RE: qbjs evolving program #1 - by bplus - 06-08-2023, 01:17 AM
RE: qbjs evolving program #1 - by bplus - 06-08-2023, 01:23 AM
RE: qbjs evolving program #1 - by dbox - 06-08-2023, 03:41 AM
RE: qbjs evolving program #1 - by dbox - 06-08-2023, 03:49 AM
RE: qbjs evolving program #1 - by mnrvovrfc - 06-08-2023, 11:14 AM
RE: qbjs evolving program #1 - by bplus - 06-08-2023, 01:21 PM
RE: qbjs evolving program #1 - by bplus - 06-08-2023, 06:11 PM
RE: qbjs evolving program #1 - by bplus - 06-08-2023, 06:42 PM
RE: qbjs evolving program #1 - by mnrvovrfc - 06-09-2023, 05:52 AM
RE: qbjs evolving program #1 - by bplus - 06-09-2023, 01:04 PM
RE: qbjs evolving program #1 - by bplus - 06-09-2023, 04:50 PM
RE: qbjs evolving program #1 - by grymmjack - 06-09-2023, 10:38 PM
RE: qbjs evolving program #1 - by bplus - 06-10-2023, 01:29 AM
RE: qbjs evolving program #1 - by grymmjack - 06-10-2023, 09:32 PM
RE: qbjs evolving program #1 - by vince - 06-09-2023, 05:06 PM
RE: qbjs evolving program #1 - by mnrvovrfc - 06-09-2023, 10:49 PM
RE: qbjs evolving program #1 - by vince - 06-09-2023, 11:35 PM
RE: qbjs evolving program #1 - by bplus - 06-10-2023, 09:59 PM



Users browsing this thread: 7 Guest(s)