Welcome to the Playground!
I... got a bit sidetracked. I hope you enjoy whatever this is.
WASD to move the Player Character.
J to attack.
Arrows to move the Enemy Character (until the AI arrives).
(1) to attack.
I know the controls are terrible. I don't even have an excuse.
What's this now?
After I had initially intended this for me to mess around with some JS stuff, I had the bright and totally original idea to create a 2D fighting game. Except, the Enemy AI will be controlled by a Neural Network that improves the more players it faces. A lengthy and demanding project for sure.
Honestly, I absolutely should not be focusing on this. It'll take a lot of time for something that will probably, actually no, definitely not get enough user sessions for this to actually improve.
But, hey, I bought this domain and I can do whatever I want with it. Especially waste my time.
Does it work?
No.
Did you have fun while coding it?
No.
Was it worth it?
No.
Would you do it again?
Great question! No.
Sources
The sprites and animations used above are available for free at itch.io, though you can leave a donation if you want. There are some really talented artists and creators over there! If you're into game development I definitely recommend checking it out.
- Player Sprite:
- https://luizmelo.itch.io/hero-knight
- Enemy Sprite:
- https://luizmelo.itch.io/martial-hero
- Artist's page:
- https://luizmelo.itch.io
- Itch.io:
- https://itch.io