Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Hello! I'm not 100% sure if this counts as a bug, if I'm missing something, or I'm just trying to use states for something more intensive than they were meant for but any help would be much appreciated!
I'm trying to use states to make an reactive arcade stick for my avatar to use, but I'm having some trouble with some states sticking when things overlap, for example with diagonal inputs on the joystick or simultaneous button presses.

(of course it took longer to happen when i decided to record it lol) 

I have each joystick state set to just show the active directional layer and hide the neutral layer, and each button state to show the active button layer, and also hide other button layers along with the neutral layer. As you can see about halfway through the video, they both end up having a state stick. Is there anything i can do to fix this?

Okay so I tried one last thing that actually fixed this by setting 2 states per directional/button and State Passthrough, so right on the joystick activates 1 state that turns on the Right layer and a 2nd that turns off the Neutral layer, so now I'm doubly unsure if this is a bug report or now a feature request: Is it possible to make the original way i was doing it work, in order to have fewer total states?

(+1)

Hi there, it should definitely be possible to both hide and show layers using the same state, and what we're seeing in your video definitely looks like a bug to me. I'll see what I can find!

(+1)

Hi, please check update 13.2, it should be fixed!

(+1)

Works like a dream, you're amazing. Thank you for all your hard work!!