Can I wrap a html5 JS game in a ZK Window or Panel

asked 2014-04-07 22:37:21 +0800

clueless gravatar image clueless
62 1 4

I have written several games (using Cocos2d-html5,Panda.js,Enchantress.js) that I would like to include in my ZK application. Is there a way I can use an existing ZK component to wrap the html5 canvas? If not, what is the best way to start the game and return to ZK once it is over??

thanks for your help

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-08 07:44:07 +0800

IngoB gravatar image IngoB flag of Germany
256 6

I haven't done much with JS+ZK

but i tried this demo and it worked nicely. It uses three.js and zk, so you get the idea of using it.

Examplecode from RaymondChao

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2014-04-07 22:37:21 +0800

Seen: 18 times

Last updated: Apr 08 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More