Gaming banner

Gaming

25 devlogs
47h 19m 58s

I am building this game to just apply the concepts of js i have learnt and i think so you enjoy this game. I love samurai so i built this. I am getting better knowledge about collisions in this game.
Throughout the journey in building this game …

I am building this game to just apply the concepts of js i have learnt and i think so you enjoy this game. I love samurai so i built this. I am getting better knowledge about collisions in this game.
Throughout the journey in building this game till now i learnt concepts like oops(object oriented programming), collisions, animations styles, and then canvas , how to use sprite sheets.

This project uses AI

I am learning this game from youtube also i am applying my creativity and skills in this game. Also i have used copilot for finding the code bugs like variable name mismatch and then in to identify the bugs but i dint make it to auto change code i got suggestions and i have fixed that on my own. I have used to learn that fire animation from yt and then same i applied here but i now came to know how to apply that animations.

Demo Repository

Loading README...

vasupks01

CHANGE LOG:
fixed the powerups bugs not working.
now game renders properly and everything works perfectly

Attachment
0
vasupks01

CHANGELOG:
fixed the bugs mentioned by the hackclub team during my last ship.

Attachment
0
vasupks01

Shipped this project!

Hours: 45.44
Cookies: 🍪 668
Multiplier: 14.7 cookies/hr

I built this game from scratch with vanilla JavaScript. The hardest part was figuring out the sprite animations and collision detection, and when I finally got it working I was really happy with how it turned out. Also it was a great learning to me on working with this project. I have took help from freemium tools like youtube.

vasupks01

fixed some little bugs like double damage and then there was a small typo in the function name call which i dint notice but fixed and then everything works perfectly after tested. I also updated my readme.

Attachment
0
vasupks01

CHANGELOG:
complete the loading animation screen i have taken the help from youtube to learn this animation and apply here but i have learnt how to apply the animations and i have also almost completed my project but still working on it.

0
vasupks01

CHANGELOG:
I am currently working on adding loading start screen which i am willing to make it animated with some effects so that i can also learn how to apply effects on animations

Attachment
0
vasupks01

CHANGELOG:
i have completed the use of of the powerups in the game.

Attachment
0
vasupks01

CHANGE LOG:
added showing powerups count purchased from the shop
working on enabling it to use.

Attachment
0
vasupks01

CHANGE LOG:
fixed the positions of the player and enemy
worked on enemy hit damage not working properly
currently started working on the powerups

Attachment
0
vasupks01

CHANGE LOG:
completed the shop ui styles
working on the functionality of the powerups

Attachment
0
vasupks01

CHANGE LOG:
working on the shop just completed the item cards but still working on the alignment and then functionality to open shop if shop icon is clicked.

Attachment
0
vasupks01

fixed the game rendering issues for next rounds and then improved ui styles for text and then currently working on developing that shop module and powerups features.

Attachment
0
vasupks01

working on game loop fixing that infinite loop bug its time to sleep let me continue tomorrow. The function is calling but i am getting this console error at the same time.

Attachment
2

Comments

levicafe08
levicafe08 12 days ago

Is startRound defined in a script that loads after utils.js?

vasupks01
vasupks01 12 days ago

Yes Start Round is defined in a script that loads after utils.js but i made a small mistake but i have fixed it.

vasupks01

I am working on that showing which player has won the round its been hard to make this logic out of how to continue to next round i am currently working on it almost there i have done till showing results for first round.

Attachment
0
vasupks01

The ui has been completely fixed and then added local storage for storing player names and then refined the styles currently working on making icons myself instead of using emojis.

Attachment
Attachment
Attachment
0
vasupks01

I had been working on adding functionality to all keys and also i have added a counter to start the game animation for that.

Attachment
0
vasupks01

I got the suggestions from the copilot to fix that bug which was because of incorrect variable name declaration in game rendering and then also i have worked on fixing the styles. I am currently working on

Attachment
1

Comments

theskriptkid
theskriptkid 12 days ago

That Looks so cool!

vasupks01

I have worked on the input handler keys to make it work it was a good learning from youtube which made me really understand how event handler functions works in real use case and then switch and nested if else for handling keys presses and their functions.Again i got bug in the rendering currently working on it.

Attachment
0
vasupks01

Added Ui effects and then fixed the bug which made my game not to render. It was a big task and still working on the ui effects .

Attachment
Attachment
0
vasupks01

I am working on rendering the ui but i have bugs so that i am currently working on them.

Attachment
0
vasupks01

I have developed and have set which keys to use for playing and currently working on bringing sprites into the ui.

Attachment
0
vasupks01

Change Log:
Worked on game div and developed
working on improving it.

Attachment
0
vasupks01

Change Log:
Fixed styles and alignment in the start screen and working on next features. I took this ui from google images and i refined it.

Attachment
1

Comments

Mihai
Mihai 14 days ago

hope you will launch it soon, looks cool

vasupks01

I have styled the structure which was shown in the previous devlog.
CHANGELOG:
Styles added
aligned ui properly

Attachment
0
vasupks01

Just collected all the sprites needed for my game and then just developed basic structure for the.

Attachment
0
vasupks01

I have started My project where i have initialized the project structure and pushed my code to github.

Attachment
0