Wednesday, March 24, 2021

Separate

 After much trying things out, ended up seeing

the wisdom of coding for keybrick separately from briks.

Below, I am asking ServeState to tell me the number of

bricks in play, and 14 includes Kbrick while 10 doesn't:






Thus, this involves not having powerup in the bricks array.



Another aspect to be watched ofr: having the powerup params appear in

the game state calls. 

Ball doesn't appear when entering servestate - because a new ball is created -

but powerup needs to.

ServeState:



PlayState:



                                                                *     *     *

I did get Powerup to use the utilities quad for rendering:






No comments: