Walk animation | Javascript game engine | Isometric rpg

preview_player
Показать описание
Once I was thinking about making a free browser game in the same style as the old games Fallout 2, Arcanum and Commandos 2.
In this video I will show you how I created animation using Javascript and CSS in a browser game.
I used mainly HTML, CSS and Javascript. I first created the animation using properties and then optimized it. Also shown here is an example of a Pathfinding Mechanism (A* Algorithm) for character movement.
To draw the character and level, several layers of Canvas and DOM elements were used. The following properties were used for animation: Keyframes, Canvas, CSS Animation, Sprite Animation.
And for the global engine loop I used requestAnimationFrame.
The engine works on all modern browsers. Recording was done on Google Chrome

#arcanum #fallout2 #commandos2 #isometricview #browsergame #BrowserGameEngine #astaralgorithm #PathfindingAlgorithm #javascriptgame #JavascriptGameEngine #javascripttutorial #javascriptanimation #JavascriptIsometricGame #JavascriptIsometricRPGBrowser #requestAnimationFrame #cssanimation #cssanimationtutorial #canvaspainting #canvaanimation #CSSKeyframes #spriteanimations #keyframes #gamemaking #gamedevelopment #arcanumonline #fallout2online #commandos2online

Рекомендации по теме
Комментарии
Автор

This looks really amazing! I'm curious as to why you got the DOM involved at all? Wouldn't canvas be sufficient for all functions? Thanks.

PhilSmulian
Автор

Hi! This looks great! I'm searching for a good starting point for a diablo game in js/ts. Any chance of use this engine for making my game?

alexsnow