Hi all,
First I'm sorry for my poor English
I've a project to create a mini platform game with Hype. At first, I started with a blank Hype document but it seemed complicated to me. So I saw that a member (photics) was offering free (GREAT !) Templates to see how it works :
- Jump https://photics.com/free-template-tuesday-34-tumult-hype-jump/
- Controlling https://photics.com/free-template-tuesday-39-tumult-hype-controlling/
It is perfect for me because it constitutes a very good base of work
But (there is a "but"!) when I wanted to put the virtual controller (with buttons) on the template "Jump" then it doesn't work! Indeed, the "up" button does not allow a jump.(The "right and" left "buttons are OK).
See the capture :
(All the buttons (with ID : up, left, right) execute a JavaScript function (window.direction = element.id)...)
I don't understand my mistake. The If condition must allow the function jumping(e), no ?
Thank you in advance for your help !