Log In  


Cart #42568 | 2017-07-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

This is a work-in-progress on its way toward being an Arkanoid-type game where your paddle is confined to a circle. But at this stage of development, the game had an oddly meditative and simple feel, so I decided to share.

3


This is a really cool idea! I agree that the game has a nice, meditative quality to it right now. Some blissed-out music would complete the package.

Could I please ask you a question about your code? I notice that you confine the player's paddle to the circle drawn on the screen. Could you explain how you went about doing that? It looks like

function draw_player()

uses trig functions to dictate the paddle's location, but I'm having trouble following the logic used to keep the paddle aligned with the circle.



[Please log in to post a comment]