Please enable JavaScript.
Coggle requires JavaScript to display documents.
linear-projectile - Coggle Diagram
linear-projectile
main.js
resizeCanvas.js
objective
resize the canvas
updateLogic.js
updateAim.js
updateAimFunctions.js
objective
get mouse feed
calculate aim angle
calculate aim coords
objective
updateAim
updateShots
updateEnemies
updateEnemies.js
to be continued
updateShots.js
updateShotsFunctions.js
objective
initiate shots on click
update shots coords
check if shots get out of map
check if shots hit an enemie
initiate.js
objective
create obejcts
export objects
gameObjects.js
objective
resizeCanvas
initiate
updateLogic
updateFrame
updateFrame.js
draw.js
objective
updateFrame