Code a Stick Hero game with JavaScript and HTML Canvas

Publicado em: 14 Novembro 2020
no canal de: Hunor Márton Borbély
54,618
760

In this tutorial, I’m going to explain how to create a game heavily inspired by Stick Hero with JavaScript and HTML Canvas. This tutorial is for beginners. If you are new to web development and want to learn how to develop games and other fun stuff, check out my channel.

👉 You find the game and its source code here: https://codepen.io/HunorMarton/pen/xx...

0:00 Introduction
1:06 The phases of the game
2:04 Main parts of the code
2:34 User Input
3:09 The main loop
7:04 Drawing with canvas
7:49 Translating the scene
9:21 Drawing a platform
10:18 Drawing a stick

Website — http://hunormarton.github.io/
CodePen — https://codepen.io/HunorMarton
Twitter —   / hunorborbely  

#webdevelopment #javascript #game #canvas #codepen

The original game made by KetchApp you can find here for iOS: https://apps.apple.com/us/app/stick-h...
and here for Android:
https://play.google.com/store/apps/de...


Nesta página do site você pode assistir ao vídeo on-line Code a Stick Hero game with JavaScript and HTML Canvas duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Hunor Márton Borbély 14 Novembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 54,618 vezes e gostou 760 espectadores. Boa visualização!