One more arkanoid clone
Posted: Wed Oct 19, 2016 8:36 pm
Hello.
I'm writing an arkanoid (breakout)-type game, and it is mostly in a playable state (see attachment).
However, there are some problems with code and art, and I would like to ask some help regarding them.
1) I'm using HardonCollider to detect collisions.
At high speed the ball sometimes passes through blocks, walls, or the platform.
What can be done to fix such behaviour?
2) On my machine the game sometimes noticeablay lags.
I've tried to adjust cellsize in spatialhash of HC, but I'm sure this is not a sole reason for low performance.
I would appreciate any advice on how to improve performance and make the game run more smoothly.
3) I'm planning to write a tutorial, describing the whole development process.
First few parts are available on github.
The code is finished, but the explanatory text is not in a readable form yet.
The general plan is approximately following:
1. The Ball, The Brick, The Platform
2. Modules
3. Classes
4. Container Classes
5. Detecting Collisions
6. Resolving Collisions
7. Loading Level From External File
8. Changing Levels
9. Basic Gamestates: Game and Menu
10. More Gamestates: Gamepaused and Gamefinished
11. Tiles
12. Bonuses
13. Menu Buttons
14. Scores and Lives and Fonts
15. Sound
16. Animation
17. Finishing Touches
18. Packaging and Distribution
I would appreciate any ideas, suggestions, improvements or just any other feedback you have.
I think, after I rewrite the text into readable form, I'll start a separate forum thread dedicated to this material.
4) I'm open for collaboration.
Help with graphics and sound is desperately wanted.
Ideas on level design and final screen also would be useful.
A goal is to make a decently polished, though simple game, that can serve for educational purposes.
If volunteering work is against your principles, compensation is negotiable.
( But don't expect much more than a couple of beers, since it is a hobby and non-for-profit project ).
I'm writing an arkanoid (breakout)-type game, and it is mostly in a playable state (see attachment).
However, there are some problems with code and art, and I would like to ask some help regarding them.
1) I'm using HardonCollider to detect collisions.
At high speed the ball sometimes passes through blocks, walls, or the platform.
What can be done to fix such behaviour?
2) On my machine the game sometimes noticeablay lags.
I've tried to adjust cellsize in spatialhash of HC, but I'm sure this is not a sole reason for low performance.
I would appreciate any advice on how to improve performance and make the game run more smoothly.
3) I'm planning to write a tutorial, describing the whole development process.
First few parts are available on github.
The code is finished, but the explanatory text is not in a readable form yet.
The general plan is approximately following:
1. The Ball, The Brick, The Platform
2. Modules
3. Classes
4. Container Classes
5. Detecting Collisions
6. Resolving Collisions
7. Loading Level From External File
8. Changing Levels
9. Basic Gamestates: Game and Menu
10. More Gamestates: Gamepaused and Gamefinished
11. Tiles
12. Bonuses
13. Menu Buttons
14. Scores and Lives and Fonts
15. Sound
16. Animation
17. Finishing Touches
18. Packaging and Distribution
I would appreciate any ideas, suggestions, improvements or just any other feedback you have.
I think, after I rewrite the text into readable form, I'll start a separate forum thread dedicated to this material.
4) I'm open for collaboration.
Help with graphics and sound is desperately wanted.
Ideas on level design and final screen also would be useful.
A goal is to make a decently polished, though simple game, that can serve for educational purposes.
If volunteering work is against your principles, compensation is negotiable.
( But don't expect much more than a couple of beers, since it is a hobby and non-for-profit project ).