|
Post by Hippani on Jan 28, 2013 15:56:05 GMT
This is a big upgrade with a new built in javascript engine. You can now access all the usual javascript you would normally find in html. There is a tutorial in the help and a brief last of the available sytax and objects too. There is also a number of small fixes and changes.
If anybody finds anything not working with the javascript please let us know. The new engine is extremely complex. We've done a weeks testing on it but expect there will be more issues.
|
|
|
Post by dk on Jan 29, 2013 7:07:59 GMT
Fantastic! Now all I need is to learn Javascript Do you know of any good resources that will help begginers get started with Hippo's new Javascript feature? dk
|
|
|
Post by Hippani on Jan 29, 2013 8:09:09 GMT
|
|
|
Post by dk on Jan 30, 2013 1:53:20 GMT
Unfortunately this is a powerfull feature of Hippo I simply will not be able to make use of as I have no idea about Javascript. As an animation program I imagine not a lot of creative, (and Java challenged), Hippo users will not be able to use this new feature either. Does this mean that you will stop writing Hippo scripted functions for buttons etc and just rely on people to learn Javascript? Maybe what we need is a library of pre-written Java code blocks and brief function descriptions in Hippo so people like me can just insert what we need Does Java work that way? I have no idea sorry. Cmon guys, Hippo started off being an easy to use html5 animation program with with handy references and easy to follow tutorials. I feel a bit like I've just been left behind. dk
|
|
|
Post by Hippani on Jan 30, 2013 8:12:39 GMT
|
|
|
Post by dk on Jan 30, 2013 9:02:45 GMT
I realize all the standard functions still work....but now if i want to do something outside the standard functions I have to know Javascript right?
If this is now the case can we incorporate a similar list of Java functions or code blocks, ( outside of the standard Hippo ones) so the Java illiterate amoung us can use this great software to do things outside the current reaches of the standard Hippo commands?
d.k
|
|
|
Post by Hippani on Jan 30, 2013 9:14:40 GMT
Like what? Can you give me an example?
|
|
|
Post by dk on Jan 30, 2013 9:31:11 GMT
I'm sure I sent you a couple examples . Off the topwhere Hippo fell short. I remember having worked on a set of animated dice that could be stopped at random by a button. I wanted the resulting number to be able to move a token the same number of steps as shown on the dice.
dk
|
|
|
Post by Hippani on Jan 30, 2013 9:54:55 GMT
Realistically. I don't think we could come up with code samples for every scenario like this. You might need to speak to a web developer or someone like that. The code for this kind of game is much more than a couple of functions. To get a random dice number you would do this: var Dice=Math.floor((Math.random()*6)+1); But after that you would need something a lot more complex.
|
|