r/learnjavascript • • May 28 '21

I'm experimenting with character movement animation patterns for my vanilla JavaScript platformer inspired by Limbo

332 Upvotes

24 comments sorted by

15

u/frank0117 May 28 '21

I came up with 4 simple to build movement patterns for enemies that I think work well for 2D platformers and endless runners

Step by step tutorial here:

https://youtu.be/pyhb8Y9qKUI

I also made courses about sprite animation https://youtu.be/CY0HE277IBM and parallax backgrounds https://youtu.be/Mg7ibYWhjPI

1

u/[deleted] May 28 '21

Great stuff! Any chance you have the completed code in Github available?

5

u/frank0117 May 28 '21

Hi, I'm making these into a coding tutorial series so the final game is still work in progress, I might release it when it's complete, for learning purposes

8

u/hzdope May 28 '21

It's funny how sometimes I struggle with some basics JS stuff... And some awesome people are out here making FREAKING NICE GAMES! damn, I have to study... Nice work!

4

u/frank0117 May 28 '21

Thank you, it's starts like this for most of us, seeing a nice project and feeling motivated. I hope you keep it up and eventually can build your own animations and games.

6

u/neinninenine May 28 '21

So cool to see you here Frank, have been following you for quite some time and really enjoy your code alongs.

Highly recommend his channel to anyone reading this and might be a beginner/intermediate web developer with the slightest interest in HTML's Canvas-element!

3

u/frank0117 May 28 '21

Hi, thank you for letting me know you like my approach. I'm still new to this so trying to improve :)

4

u/[deleted] May 28 '21

This is awesome!

2

u/frank0117 May 28 '21

Thank you :)

2

u/Tintin_Quarentino May 28 '21

I'm an upvote man, I see Limbo I simple.

2

u/frank0117 May 28 '21

haha, thanks Tintin, Limbo is awesome I know :D

1

u/Tintin_Quarentino May 29 '21

Keep up the great work!

2

u/someguy04 May 28 '21

Whoa they look so good! Excellent work dude

1

u/frank0117 May 28 '21

Really? thank you :)

1

u/seeyainvalhalla May 28 '21

Incredible

1

u/frank0117 May 28 '21

Thank you :)

1

u/Groundbreaking92 May 28 '21

That looks super cool

2

u/frank0117 May 29 '21

Thank you :D

1

u/jenntoops May 28 '21

I just love this. It’s really inspiring.

1

u/frank0117 May 29 '21

Glad you feel inspired, it's meant to push beginner coders to keep learning more about JavaScript

1

u/ElToreroo May 29 '21

This sis beautiful I love it

1

u/frank0117 May 29 '21

Thank you :)

2

u/anti-gif-bot May 28 '21

mp4 link


This mp4 version is 85.49% smaller than the gif (906.54 KB vs 6.1 MB).


Beep, I'm a bot. FAQ | author | source | v1.1.2