Game
Minigame Collection



4 months ago

I might have found the dumbest solution to handle ellipse/circle collisions


I was stumped working on fixing collisions, so I was doing research on a couple of different websites and Bing's Copilot result looked interesting (I have no idea where it got this solution from) it turned out to be what I needed. I really need some more schooling as the math looks super simple for calculating the overlap. I know people hate AI and trust me I do to. It hardly ever does anything useful but as I was trying to get the collisions working with ellipse it showed sampling edge of the ellipse and of course I didn't think of that. So, I did what any "normal" person would do and implement point sampling for all circle object (uses the canvas ellipse function to draw) so I can pass it into my circle vs polygon collision method. I also implemented a sort of "lod" system for it. This I feel might be inefficient but it's funny and it works better than whatever I could find online and whatever the mostly useless AI could spit out. I of course made a simpler "cheaper" method for circle vs circle but it's nice to have something more robust. Also, I know it's taboo to use AI to code. I don't use it to make things for me. (as if it could write something that works first try anyway lmao) I mostly use it after I can't find what I'm looking for online. It's surprisingly good at understanding what I'm looking for. Anyway, both methods are implemented, and the bug fixes will be out soon.



0 comments

Loading...

Next up

Update V1.1.0 is out!

This year?

V1.4.0 is out!

Go tell your favorite creators to join Game Jolt and get REKT with love and support! 💓

For inspiration, here's an animation by one of our very own creators, @ElPichon !

New map in next update! (Neon)

Madeline is the main protagonist of the mountain climbing platformer, Celeste. The game has been praised for its visuals, gameplay, and introspective narrative. The game's creator Maddy Thorson confirmed that Madeline is trans in 2020.

WEAPONS

Oops I accidently made a cool screen saver...

Dive into the cozy post-apocalyptic open world of Critter Cove!

Gentleman Rat Studios (@GR-Rob ) describe it as “a little bit Animal Crossing, a little bit Stardew Valley. Maybe even a little bit Windwaker, too."

Wishlist the game: https://bit.ly/CritterCove

I'm about to start on the fun stuff!