The NameLess Hero - A Platform game :)

The NameLess Hero - A Platform game :) Used AI

21 devlogs
75h 16m

Play as a nameless Hero to defeat numerous enemies. Every level gets harder and more fun. You also have special abilities to defeat enemies faster and to protect your self from damage.

Timeline

Right now i am going to just implement 5 levels at the moment. i have finished on implementing the boss on the fifth level and in the future i want to add a much unique different boss. with different abilities which would be much harder than the first boss. i am now going to implement a finish screen on the fifth level

Update attachment

There was a big problem for the sword enemy and the boss. the spawn enemy where not spawning and also when i tried to debug using ai but i tried adding code tried taking code away but nothing was not working for a while it was very annoying. using ai to debug made issues worse and broke other features that were working before. i am not sure how i even broke like the animation of the movement of the main player when adding and removing code from the sword_Enemy and boss classes and functions it was very hard to do but it works now with hours upon hours of debugging using ai. i also implemented a health bar for the boss which is placed at the top of the screen. i am now planning to make more levels i am not sure if i want to add another boss :/

Update attachment

i have created Level 5 and the boss level. i have implemented the the boss's ai. the boss has a unique movement pattern which would make it hard to kill which is what i am going for. not only that but i have also made random attack patterns where the boss would fire fireball or spawn sword enemy.

Update attachment

Took a very long time to code this. there were issues with the boss. The boss was not spawning the sword enemies and i had issues with the animation for both the boss and the sword enemies i did not know what the bug was it look like 4 days of trying to debug it was so bad. :( this was very long and annoying but everything works now. although the attack animation of the sword_enemy does not match with the damage speed of the attack animation but i dont think i am going to fix that issue since i dont want to break the code again :/

Update attachment

i am trying to implement the boss have struggles with the spawning the enemies attacks the boss does. i am going to fix that issue next time.

Update attachment

i have changed the skills icons and i have also completed the design of level 3

Update attachment

i am developing level 3 trying to make the map look a little different than the other levels

Update attachment

i have implemented a water shield which blocks damage from enemies for 2 seconds this ability would be use full in boss enemies where they player would have to block a attack at the right time. the next thing i want to do is to implement more levels and boss battles on like each 5 level and there will be 10 levels 1 boss on the 5th level and another on the 10th and last level. i might add more skills.

Update attachment

i have implemented the Main menu i have add troubles with the code there was alot of deleting and replacing and ai debugging to make the return button work it was so painful. I have finished the you tube tutorial and i am planning on making a boss floor and adding more platform maps.

Update attachment

i have implemented the shooting animation by my self and was polished using ai. there are only two videos left of the tutorial which would cover how to make the main menu and the screen transitions on levels. The tutorial did not show how to implement the shooting animation so i had to do it myself. I want to implement a inventory in the future that will store the characters skills. One skill will be a water shield that blocks damage for 4 seconds and i might even add more. but i don't know how i should give the abilities to the user. should they get the abilities outright or progress i think i will chose the second option to make the game abit more fun.

Update attachment

so i am going to try implement an inverntory of my code i am going to try to do the coding using my brain and just use AI for debugging and if i am stuck on something.

Update attachment

This is the level editor. and its is where i create the levels. Now i know how to make the levels and edit them now i can also create different levels now. The level editor is not mine. i am just using it because i dont want to dowload a whole another level editor. How every i am going to chaneg the code and make it my own i am planning to make boos battle floors that will be different to the normal ones. i am moving on the part 9 and to part 10 to the video i really want to make my own features

Update attachment

i have implemented a health bar, a Ammo bar and a grenade bar. Which shows the user how much resources they have left. i want to implement my own features on the game. i want to create a boss level by my self with my new knowledge. i will attempt to fo that after building atleast one level and when i am on the part of the tutorial where the enemy can do damage back and can take damage.

i have added health items, bullet items and also a health box. Also the grenades do a explosion effect after being thrown. and i have also added another enemy.

i have added grenades and i am part 5 on the pygame tutorial

The out a shooting animation and the implement bullets also added a death animation. personally did not learn any thing new.

learning a bit more on Object oritainted programming and kept on coding and going through the Youtube tutorial . i was confused on how some parts of the code worked. and i watched videos on OOP and also asked chat gbt to explain it and now i fully understand the reason on using (self). it makes it easier in the future to have Example the Idle animation to be on the player and the enemies and except of doing them one by one i can use classes and the self thing.

Update attachment

my character can now jump up and move left and right. but the player can jump infinite number of times. i would need to fix this.

i had issues. with the sprites i think that using the full sprite images was not making the animation look good. so i decided to do the same thing as the you tube tutorial and crop each of the sprite frames and name them 0.png 1.png etc... That was the only way to make the animation better. pygame is not like unity where you can just use the whole sprite image. https://www.youtube.com/watch?v=Su5OlLSpJDU&t=697s

i did abit more coding and i also formatted the files to make it look more better and to also it is easier to go through the you tube video that has similar file management. Today i did learn how to use OOP more specific using instance methods. i now know how they differ from normal functions. i was worried on why it was not working but it was because the def draw() instance function was not within the Solider class :)

Update attachment

this is the first devlog of the platform game. i am going through a you tube video on how to first load in a picture. and it is going well

Update attachment