甩球游戏
代码语言:html
所属分类:游戏
代码描述:甩球游戏,点击鼠标选定方向,让球砸过去
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> svg {margin-top:-10px;} </style> </head> <body translate="no"> <audio id="audio" preload="auto"> <source src="http://repo.bfw.wiki/bfwrepo/sound/5e769c95c8a6e.mp3" type="audio/mp3"> </audio> <audio id="audio1" preload="auto"> <source src="http://repo.bfw.wiki/bfwrepo/sound/5f2c96bd750bb.mp3" type="audio/mp3"> </audio> <svg id="svg" viewBox="0 0 1000 800"> <g transform="translate(500,500) scale(1,-1)"> <rect x="-400" y="-270" width="800" height="740" fill="none" stroke="black" stroke-width="1" /> <g id="black1" fill="blue" stroke="none"> <rect x="-381" y="430" width="90" height="30" id="b11" /> <rect x="-287" y="430" width="90" height="30" id="b12" /> <rect x="-193" y="430" width="90" height="30" id="b13" /> <rect x="-99" y="430" width="90" height="30" id="b14" /> <rect x="-5" y="430" width="90" height="30" id="b15" /> <rect x="89" y="430" width="90" height="30" id="b16" /> <rect x="183" y="430" width="90" height="30" id="b17" /> <rect x="277" y="430" width="90" height="30" id="b18" /> </g> <g id="black2" fill="blue" stroke="none"> <rect x="-381" y="395" width="90" height="30" id="b21" /> <rect x="-287" y="395" width="90" height="30" id="b22" /> <rect x="-193" y="395" width="90" height="30" id="b23" /> <rect x="-99" y="395" width="90" height="30" id="b24" /> <rect x="-5" y="395" width="90" height="30" id="b25" /> <rect x="89" y="395" width="90" height="30" id="b26" /> <rect x="183" y="395" width="90" height="30&qu.........完整代码请登录后点击上方下载按钮下载查看
网友评论0