In my rougelike game I am using switches to to activate my powerups, but have occured an error. The program goes through the switch but never comes out.
Well in the screenshot the switch is off
Cool game though, you should probably give the player i-frames though so getting touched by one guy doesn’t mean instant death if you’re pushed into them
What object is this in? I can’t seem to find it.
Yeah which it is in object is needed, and the screenshot has the switch off, so I’m not seeing the problem
Switch:
if it is ON, and there is an input through IN, there will be an OUT
if it is OFF, and there is an input through IN, nothing will occur.
It is in the red sword object in the giui layer, the second bundle in abilities, named melee
i frames?
Invincibility frames
where is the “pause” global coming from?
Also btw
“all attacks do -0.2 less” is incorrect. Negative negative is a positive.
“all attacks do 0.2 less” would be correct.
the xp bar.
How long is it for?
Invincibility frames vary between games, it’s really just up to the developer on what feels the best
I just can’t get it to work, I works the first time then stops.
just put a switch and a timer
That is exactly what I did.
Connect the wires [between the switch and timer] the way they are in the screenshot. That same connection method/pattern is also seen in the Rate Limit Example by grazer, which can be found on the examples page.