8 months ago

Was having issues with inconstant collisions when using physics in Game Maker.

I figured it out though!


So with Game Maker when you do Physics objects, the standard collision system doesn't work very well, you're meant to let the physics system do it.

But for example if you want earn points when a collision happens, you need something else.

The collision event!

What I couldn't figure out was how to get the actual object that collided from this. I just needed to use "other".

As soon as a collision occurs "other" is set to it's id!

Boom. Done!



2 comments

Loading...

Next up

OMGOSH Someone just subbed to me on #Kofi!

Thank you so much for your T2 membership Jana, I sincerely appreciate your support!

It will really help me out a lot!

GOT IT!

Ground draws right for world, and UI. Now to get back to improving frame rate*.

*current is with WAY too many chrome tabs open.

I now have Magic!

kinda.

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

Now I have Fireballs!

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

I THINK that's all fixed and working? Gained loads of FPS back.

I thought I'd need to remove another nested for loop, but since Ground Surface is only done once I don't.

Only issue is I've lost the dust cloud when adding Paving.

Huzzah! I now have AoE attacks!

I've swapped to having Magic Staffs instead of having to hold a second button to use Magic.

I'll see what else I can come up with but this fixes the keyboard ghosting issue for now.

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

Got around to adding some blending between the Beach and Desert now i should probably populate the Beach with some things to make it a bit nicer to look at!

Will do tile variants like I have for Grassland, but I'd like objects to interact with too.