Game
Minigame Collection



7 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

V1.3.0 is out! (3 new maps)

Thought about that piece of concept art awhile back of the electrified ship.

I forgot to show the new ship lighting...

Doki Doki Literature Club is celebrating Monika's birthday and the 8th anniversary of DDLC with exclusive stickers, avatar frames and backgrounds on Game Jolt! 

Head over to the shop to collect yours 👉 https://gamejolt.com/#shop

#gjbroadcast

Line Battle is about 75% done!

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 tired... (Warning the audio is not what I would call balanced lmao)

The first beta is out now!!! Go bug test it!

Mae Borowski is the main character of Night in the Woods! It's an adventure game that tells the story of her return to her hometown of Possum Springs. She was confirmed as canonically pan in a social media post by the game's creator Scott Benson.

Oops I accidently made a cool screen saver...