Pixel perfect collision and particles
|
Yesterday I had time to check up on those collision and so far I have done these collisions:
We miss the Rectangle vs Circle collision but I dont think it would be so hard to implement that since we already have collisions for circles and rectangles.
I’ve also changed the plan a bit and removed those tetris falling blocks and replaced it with static blocks in the top(like arkanoid) but with a few changes that will come as a surprise later. Ive mostly made this decision because we needed to have some read-from-file-level-system. It felt like that is our only missing part now, except the sound and music managers.
I’ve also added particles in pixel format wich you can set the speed, direction, color, position and lifetime. The collisions can also collide with the bounds of the window.
As you can see in the picture, my name Anthon is a png file with just transparent background and black text. And I also have a ball wich can collide with it(it uses pixel perfect collision). It’s just for testing.
Next up will be to read levels from file.
|
