version 0.08 bug...Found the Cause!
firemaplegames
Member Posts: 3,211
A button will cause the game to freak out if it has:
Rule
ALL
When Touch is Pressed
When Touch is Inside
Switching Touch To Mouse fixes the problem...
EDIT: It seems to need both conditions to cause the freakout.
Only one or the other seems to work fine...
Rule
ALL
When Touch is Pressed
When Touch is Inside
Switching Touch To Mouse fixes the problem...
EDIT: It seems to need both conditions to cause the freakout.
Only one or the other seems to work fine...
Comments
EDIT: Wait, what would I use "Touch is Inside" for then? seems redundant...are you sure?
rats.
Touch Inside - I've never used it. You don't need it for pressed, b/c you are already saying 'actor pressed'. You would use it more for release.
So maybe the press started outside, but released inside?
I don't have it on any of my rules & everything runs A-OK here.
@JGary321: I usually only use Mouse Down and/or Inside to get what I want. I must have had the Touch stuff in there from when I first started and just copied/pasted it along...
When I use the Mouse Controls, I can use "When Mouse is Down" to affect everywhere on the screen. For example, in Stunt Squirrels!, I have a "Bomb Controller" actor that sits offscreen and listens for a Mouse Down, and then Places the Bomb at My Mouse/Finger, regardless of what Actor I am touching....
Does Touch not have an equivalent? I have to be Touching an Actor Instance for it to work?
Or on one of your controllers offscreen you could do when touch is outside spawn bomb x/y.. etc..
You don't HAVE to use touch, I prefer it, one b/c of less rules. But 2 I can EASILY implement multi-touch. Mouse doesn't use multi-touch at all.
When Touch Count = 2
A menu pops up during play. That way you don't take up screen space unless you need to. I like it.
The <otherwise> cause is always being called.
That's just on the menu - the main game doesn't work either - I'm going back to 0.7
Projects don't seem to be backwards compatible - have to redo a bit of work, rats...
Good to see the iPad resolution already available in the 0.8 - GameSalad is a great product, very impressed with it.
Other games are breaking too, Kill the King for example seems to be triggering based on touches further to the left. It's as if the position of the game within the browser window is acting as an offset to the touch coordinates.
Other than that I just primarily use mouse down events, not touches.
Sigh...
Polexia is jacked up right now in v0.8.0, v0.7.0 works fine.
With all these devs having issues, I'm nervous about republishing Spellcaster. After all, my game is already portrait, I wonder if it's going to get all screwed up. Does anyone have the 0.7.0 installer just in case?
All this time i have been using two rules mouse pushed and touch inside
Just switched ALL my buttons to touch is pressed and im good
This forum would have been nice a while ago but it sure just made life easier.
It seems that the 'more broken' part is the editor preview - My game runs pretty much as normal on the ipod viewer, but behaves completely differently in the editor preview.
Annoyingly, there is now a bug present on the ipod at the end of my game, when going back to the start scene, but on the editor version is still working ok?!