JavaScript Click Game
JavaScript 標靶遊戲 – 滑鼠你一分鐘能按幾下?
做了一個 DOM 操作的標靶點擊遊戲,然後在做完之後還玩得挺開心的… 做的過程中透過抓取 div 的 data-label 屬性值作為分數來計算,以及透過點按標靶在 HTML 當中插入 div 產生彈孔效果;困難模式方面,用 CSS animation 做出標靶的平移,以及加入倒計時 60 秒,時間到時取消所有綁定。剛做完的時候覺得有哪裡不對勁,找了半個小時音效,最後加入彈殼掉落聲才總算完成了這次的作品。
animation
app
app design
color
css
font
game
graphic
graphics
grid
inspiration
motion
typographic
typography
ui
ux
web
webdesign
web design
website
View all tags
Posted on
Jul 23, 2019
More by Ray C View profile
Like