Wow, got gamesalad viewer working!
butterbean
Member Posts: 4,315
Amazing ! I can't believe how great the game looks on there!
Now with the new GS download 0.5 version, we have multi-touch available right?
I'm soooo excited about this! Now I need to implement controls for her, how do we enable the default gamepad if I just want to run a quick test?
Now with the new GS download 0.5 version, we have multi-touch available right?
I'm soooo excited about this! Now I need to implement controls for her, how do we enable the default gamepad if I just want to run a quick test?
Comments
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
I have rules set in there from awhile back in the actor left button:
If actor receives event: mouse position is inside
Mouse button is down
Change attribute, game.moveleft to true
Change attribute: Self.coloralpha to .25
Do you have a set of rules or does someone have one they can post up here on a gamepad?
Glad you got the viewer working - it's a real thrill, isn't it?
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
You only need the Touch-> Pressed condition now because there is still only one mouse press and checking for mouse button and mouse position
Do I create boolean attributes for touchleft, touchright, touchup etc?
If so, how do I assign those or can you give me one example of a rule or condition that I want the player to move left?
Rule: If Touch is pressed
--Change Attribute: Touchleft is true.
Rule: If Touch is released
--Change Attribute: Touchleft is false
So on button (actor) 1 you put:
Button 1:
Rule: If Touch is pressed
--Change Attribute: Touchleft is true.
Rule: If Touch is released
--Change Attribute: Touchleft is false
OR you could put:
Button 1:
Rule: If Touch is pressed
--Change Attribute: Touchleft is true.
OTHERWISE:
--Change Attribute: Touchleft is false
You do this for all the buttons.
Then on your main character, you put:
If Touchleft is TRUE
Move character to the left
etc etc
Hope that helps,
QS
EDIT - as a reference, the size of the d-pad buttons we used to have was 50x50 - sure, you lose some memory there, but if you go down to 32 they're too small to use effectively, and if you go up to 64 they're too large!
In my humble opinion of course!
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io