Collision handling questions.

Reporter: KelvinShadewing  |  Status: open  |  Last Modified: August 03, 2017, 08:39:10 PM

I'm asking about these here because even using a brand new email address, it says everything I try to use is already taken, even though password recovery never sends an email.

When I go into the project settings, under ENIGMA>API, there's a box for collision checking, but when I make a sprite, there's also options for collision checking. How does this work? Does one override the other? Does one limit the other?

Also, when I change either option, the bounding box preview for sprites doesn't change between precise and the various shape options; only when I select full image does it change the bounding box.

One last thing, for shape-based collision, does it do actual geometry checking, or just a shaped area for checking pixels? Like, if I check diamond for two sprites, does it use math like point-in-polygone and line-line collision? Or does it just use a region of pixels that fits that shape?

JoshDreamland  
I just created a test user without an issue. If you need me to reset a password for you, I can do that.

LateralGM's interface doesn't thoroughly account for ENIGMA's systems' capabilities; the UI exposes some features ENIGMA does not offer, and is missing some features ENIGMA offers. We really need a replacement IDE, at this point. Disabling collisions under API settings disables them completely.

I think different bounding box shapes were slapped into Game Maker as an afterthought. I don't know what the state of ENIGMA's support for them is, but LGM's UI does seem to be lacking, there.

I believe ENIGMA's polygon-based collision checking is based on separating axis, but I didn't write any of the collision systems except the basic bounding box one. We don't generate a pixel mask to the shape you're requesting, though, if that's your concern.

KelvinShadewing  

There's no password to reset because I can't even make an account. No matter what email I use, even ones I made recently, it always says it's taken.

As for getting anything to build in Enigma, do you have any ideas? I must be doing something wrong, because I don't see anyone else not being able to build a minium app with it.

JoshDreamland  

The system doesn't actually make you verify your email, so you can use anything shaped like an email address. If there is a bug in that system, I can't reproduce it... and we're contacting the same server.

I saw your build issue. It's just a linker error; you could fix it by defining that hWnd variable in any source file. I don't know why it's gone missing, or why no one has reported it but you. I'd try to diagnose, but I don't run Windows. There haven't been any recent changes affecting that system.

KelvinShadewing  

I saw your build issue. It's just a linker error; you could fix it by defining that hWnd variable in any source file. I don't know why it's gone missing, or why no one has reported it but you. I'd try to diagnose, but I don't run Windows. There haven't been any recent changes affecting that system.

I responded in that thread.

Glad to hear shapes use actual shapes and not pixel masks, cuz I think Game Maker does that. So, disabling it there disables them all, but if you pick precise or shape under the API, how does that effect the individual options on the sprite editor?

Please sign in to post comments, or you can view this issue on GitHub.