Before you share the HTML5 realization of the Fruit Ninja, Angry Birds, Chinese chess game. Today to share with you a fishing talent (Fishjoy) Web version of the game's source code. Can be played online or downloaded to local. It is made using HTML5 technology and JavaScript. Simulation of the entire game 99.99%. As follows:
Online preview Source Download
The implemented code.
HTML code:
<DivID= "outer"> <DivID= "Middle"> <DivID= "Container"style= "position:relative;width:980px;height:545px;top:-50%;margin:0 auto;"></Div> <DivID= "MSG"></Div> </Div></Div><DivID= "fps"style= "Position:absolute;top:0;left:0;color: #fff;"></Div>
JS to be referenced:
<Scripttype= "Text/javascript"src= "Js/quark.base-1.0.0.alpha.min.js"></Script><Scripttype= "Text/javascript"src= "Src/r.js"></Script><Scripttype= "Text/javascript"src= "Src/utils.js"></Script><Scripttype= "Text/javascript"src= "Src/fishjoy.js"></Script><Scripttype= "Text/javascript"src= "Src/fishmanager.js"></Script><Scripttype= "Text/javascript"src= "Src/fishgroup.js"></Script><Scripttype= "Text/javascript"src= "Src/views/fish.js"></Script><Scripttype= "Text/javascript"src= "Src/views/cannon.js"></Script><Scripttype= "Text/javascript"src= "Src/views/bullet.js"></Script><Scripttype= "Text/javascript"src= "Src/views/num.js"></Script><Scripttype= "Text/javascript"src= "Src/views/player.js"></Script>
via:http://www.w2bc.com/article/20750
HTML5-based Fishing talent game Web version