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.

P#42569 2017-07-17 11:27 ( Edited 2017-07-17 15:52)

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.

P#73808 2020-03-10 23:01

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-19 19:42:24 | 0.009s | Q:15