New games every week!
JSE Collision Redux Blog
3rd June 2022
A lot of rewriting of the rewriting of the collision detection in JSE, yesterday!

-=-=-

Checking two rotated shapes seemed almost impossible until I realised I already had the functionality kinda working for the Scaled/Rotated Symbol vs Point bit.
I figured if I rewrite that, make it more reusable, then check the points of a rotated/scaled shape against the other, and also back again, that that should hopefully end up giving me a proper answer as to whether the shapes are indeed colliding.
It's not going to be pixel-perfect, and complex shapes like Stars won't be exact, but ... For the majority of collisions it should at least be functional "enough".

Today, then I need to take what I did yesterday, and wrap it into a number of other complicated functions in order to (hopefully!) end up with a fairly decent enhanced collision detection methodology.
I hope.

Super migraine doing all of this maths stuff.
Views 22, Upvotes 4  
Daily Blog , Jse
New games every week!
Site credits : Site built from the ground up, in php, using Programmer's Notepad 2, and a very bored Jayenkai.
(c) Jayenkai 2023 and onwards, RSS feed

Blog - JSE Collision Redux - AGameAWeek