Log In  

Cart #vpa77eqw-1 | 2021-10-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

P#98688 2021-10-15 11:53

1

Working progress, hope you enjoy :)

P#98689 2021-10-15 11:55

Something to say about this - I get that you will be implementing a system to lose lives later, but the ball is moving too fast to accurately hit the ball. Either make the board a lot bigger or slow down the ball so the player can correctly react. I hope to see some good work on this project though!

P#98690 2021-10-15 12:20

Good start.
The makebricks() can be written in less lines:

function makebricks()
    brick={x=60,y=30,w=8,h=4}
    bricks={}
    for r=1, 5 do
        for c=1, r%2==0 and 10 or 11 do
            add(bricks,{x=r%2==0 and 9+(c-1)*11 or 5+(c-1)*11, y=8+(r-1)*7, w=brick.w, h=brick.h})
        end
    end
end
P#99069 2021-10-23 13:56

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 11:39:44 | 0.010s | Q:21