Build Among Us in Javascript P1 - [Map, Movement, Sprite Animation]
Barely Coding with Daniel Bark
This video is the first video in a series where i try to build an Among Us clone in Javascript using Phaser.js. In this first video the focus is on creating the map with boundaries. I also add keyboard input, code to move the player, a sprite for the player and animating the sprite when the player moves.
Code links: Start of video: https://github.com/danba340/barely-amongjs/tree/p1-start End of video: https://github.com/danba340/barely-amongjs/tree/p1-end
Say hi on twitter: https://twitter.com/barelydaniel
Timestamps: 0:00 Intro 0:30 Project overview 2:15 Preload assets 4:50 Adding the ship 6:00 Adding the player 7:20 Center camera on player 10:00 Keyboard inputs 13:20 Player movement 16:00 Player size 17:10 Run animation 23:10 Creating map boundaries 31:40 Applying map boundaries 36:20 Final play test 37:40 Ending notes ... https://www.youtube.com/watch?v=lbbPP9Wqy50
241835331 Bytes