Epic Boss Fighter Step 9: Adding In the Advanced Mech Bullet movement code

I know this blog has a pretty long title but basically we will be adding in the advanced Mech bullets code that will allow it to function not just as a purchasable item but as an actual bullet.

To start we will need to make it so that the bullet does not work until it is purchased from the shop.

So to do that we will have to add this code

And with this piece of code we will be able to make sure that the Advanced Mech bullet only works on certain pieces of code. Now that we have this we can start adding the actual code to our bullet

With this code our sprite will actually move along with our Mech so it appears as if it is actually moving with it.

Next we need to add the code that makes it start in the same place as our original bullets.

So now once we have purchased the bullet it will create a clone of itself and then we will add code to make that clone move

This code that will allow the bullet to go to Goldur and Vrunzol

Thank you all for reading my blog and if you want check out my YT channel @Drago gaming link: https://www.youtube.com/channel/UCrlNUqQVBxLIbdltHQBdcYg?view_as=subscriber

Epic Battle Simulator Step 8: Adding an attack function for Goldur

Now with yesterday’s blog we finished adding in the sprites for goldurs attack now we need to make sure this missiles will home in on our Mech and actually deal damage to it.

With this code we will now have a place for our sprite to go and a way for it to be cloned. now we need it to have a destination to go to once it is cloned as well as a way to make it stop cloning itself

This code will allow the missiles to target the mech and glide over to it and it will also make it so that the missiles will be deleted even if they do not touch the Mech.

Also we need to add this code that will make it so that the missiles will be deleted on contact with the mechs bullets and the same goes for the mechs bullets as soon as they have contact with the missiles they will be deleted.

And last but not least we need the position of the missles.

These are my coordinates for the left missile

And these are my coordinates for the right missil

Thank you all for reading my blog if you have any questions feel free to email me (Email on about me page) and check out my YT channel @Drago Gaming link:https://www.youtube.com/channel/UCrlNUqQVBxLIbdltHQBdcYg?view_as=subscriber

Epic Boss Simulator Step 7: Moving Goldur and giving him health and attacks!

In this blog we will begin to add important code to our 2nd boss Goldur. This code will include the following : Movement code, Health variable code, and the beginning of his attack code.

First lets start with Goldurs movement code

With this movement code Goldur will glide around the map in a sort of figure 8 pattern. This will hopefully make it harder for the player to kill Goldur.

Next we will have to add our health variable code for Goldur that will actually make it so that he can take damage.

This will be our code that makes it so that the golem takes damage and we also need one piece of code to set his health

This code should look familiar if you read my last post as this is just the top part of the Goldur appearance and the reason goldurs health is set to 10 and not 600 is because I am currently bug testing the game and other features.

And now with those 2 codes in conjunction Goldur can take damage.

Finally we will need to begin Goldurs attack mechanic/function and as such we will need sprites forhis weapons

I decided to give our friend Goldur 2 surface to air heat seeking missiles that will track down the Mech and deal 5 damage each to it. We will go over all of the code for these 2 missles in my next blog post tomorrow.

Thank you all for reading this blog email me if u have any questions ([email protected]) and check out my YT channel @Drago Gaming link: https://www.youtube.com/channel/UCrlNUqQVBxLIbdltHQBdcYg?view_as=subscriber

Epic Battle Simulator Step 6: Adding a 2nd Boss to our game!

As you know this is an Epic Boss Fighter game and ass such we need more than 1 boss so for our 2nd boss I am adding a large golem made out of metal. And as this is the boss I wanted this is the sprite I chose.

Now that we have our sprite we also need a backdrop to put him in so I chose this one.

Now that we have our sprites as always lets get started with the code for our new boss Goldur

Now this code will prevent Goldur from showing up on anyother backdrop so it wont interupt any of other stages.

And for our final piece of code for this blog we will be adding his appearance code which basically tells him to come out of hiding.

Thats it for this blog thank you for reading and if you have any questions email me (Email in about me section) and if you want check out my YT Channel @Drago Gaming link: https://www.youtube.com/channel/UCrlNUqQVBxLIbdltHQBdcYg?view_as=subscriber

Epic Boss Fighter Step 5: Adding a shop (pt.4)

This is our 4th and final part in adding a shop to our game. With this we will be done with our shop and then we can move on to our second boss goldur but for now we have to add our final pieces of code to complete this section of our game.

Lets get started. As you should know by now once we enter our shop there is no way of leaving and as such we will be adding a continue button for our final part of adding a shop.

As always lets start bye getting our sprite ready.

This is the sprite I chose to for my continue button and of course you can choose any sprite you like. But now that we have our sprite lets start our code.

Just as with the shop option button we need to ensure that the continue button does not appear on any other stages so we need to in\corporate the above code.

Next we have this code that will allow our continue button to be seen on our shop screen that way it will actually be useable otherwise obviously no one would be able to use it. Now of course last but not least we need the code that will actually activate our button when we click it.

With this final piece of code we will be able to use our shop button to go to the backdrop for our next boss Goldur so stay tuned because that blog post will be coming soon!

As always thank you all for reading this blog if you enjoyed let me know and leave a comment or email me (email in about me section) and also check out my YT channel @Drago Gaming link: https://www.youtube.com/channel/UCrlNUqQVBxLIbdltHQBdcYg?view/

Epic Boss Fighter Step 5: Adding a shop (pt. 3)

This is the third part of this step I know it has been a long one but you need to be thorough as if you don´t it will likely mess up the shops functions/mechanics. Now in this step we will be adding another item to our shop called a basic health kit.

And as always we have to start off with a good design for our sprite.

This is the sprite that I chose but obviously you can create any sprite you want and now that we have our sprite ready let´s get started on our code.

This is the same set of command we used for our advanced mech bullets to ensure that neither of these sprites appear on any other backdrops aside from actual shop to buy stuff.

Now that we have these commands we can start adding our commands to allow us to purchase the health kit.

These 2 pieces of code will allow use to start changing how the health kit looks when actual shop to buy stuff shows up and when we hover over the health kit.

Next we will add commands to allow us to purchase the actual item by clicking on it and this function will also be pretty similar to our advanced mech bullets.

And finally with these 2 pieces of code we will now be able to purchase this item and it will instantly heal the mech by 20 health.

Thank you all for reading this blog I hope you enjoyed and if you want check out my YT channel @Drago Gaming link: https://www.youtube.com/channel/UCrlNUqQVBxLIbdltHQBdcYg?

Epic Boss Fighter Step 5: Adding a shop (pt. 2)

This is our second part of step 5 so if you have not read the part 1 blog I would strongly suggest you do that as it will cover all the things you need to do before this step.

Now lets get started.First of all now that we have our backdrop chosen we can add some items to our shop.

Our first item will be the advanced mech bullet.

This advanced mech bullet will replace your old mech bullets and they will deal 20 dmg to bosses as opposed to the 10 the old bullets do. Now this bullet wont need very complicated code but it does have quite a few pieces of code. Without anymore delays lets get started.

With these first pieces of code we will make sure that our Bullets dont show up on any places where we dont want them to for example thev runzol backdrop as well as the goldur backdrop for our 2nd boss.

Now that we have that code its time for the code that actually allows the player to purchase the bullets

With this code once our backdrop becomes actual shop to buy stuff the advanced mech bullet will show itself and it will be able to be purchased for 50 coins which is the exact amount of coins you get for killing Vrunzol

And with these final commands our bullet will be ready to be bought but not quite ready to be used and these commands are very important as they ensure that the player only spends 50 coins and if they do not have 50 coins they will not be allowed to buy it.

Thank You all for reading this blog if u have any question email me (email in about me section) and check out my YT channel if u want @Drago Gaming link: https://www.youtube.com/channel/UCrlNUqQVBxLIbdltHQBdcYg?

Epic Boss Fighter Step 5: Adding a shop (pt. 1)

pou may have noticed from the title that this is the first part in a 2 or 3 part set of steps for the epic boss fighter game. This is because the shop mechanic is quite complicated and it requires lots of additional code but now lets just get right into it.

The first thing we need to do is add a button that will allow the player to go to the actual shop and it is a good transition in general.

This is the sprite I chose for the shop button but of course as always feel free to change the sprite if you would like. Now that we have our sprite we can begin to add code to this button.

This code ensures that the shop button does not appear when the Vrunzol backdrop as it would cause obvious problems. Now that we made it so that the backdrop does not show up on the Vrunzol backdrop the next step is to make a plain backdrop that is called shop Option.

Once you do that then we can add our next piece of code and just a fair warning it is a long one.

Now this si all fancy code to make it so that when the mouse hovers over the shop button it will get bigger and slightly darker and when the mouse is taken off the button the effects will go back to normal. We are onto our last step for this part of adding the shop.

With this final piece of code when the mouse clicks on the shop button it will switch backdrops to the actual shop to buy stuff. Then this backdrop should pop up.

Thanks for reading this blog and if you want check out my YT channel @Drago Gaming link:https://www.youtube.com/channel/UCrlNUqQVBxLIbdltHQBdcYg?

Epic Boss Fighter Step 4: Adding a backdrop and a death animation for Vrunzol

Now that we have our basic attacks and movement code done we need to add some more detail and so we will be adding a backdrop and a death animation for vrunzol.

So to start we will add a backdrop.

I chose this backdrop as I thought it looked like a sorcerers study but you can choose whatever you want for this backdrop and I also suggest you name it Vrunzol Backdrop as there will be many others and it could get confusing.

Now that we have our backdrop lets get to Vrunzols death animation. This death animation will be similar to that of the Evil Warlock in my previous game 2 player battle simulator but it is a little bit different.

I know that this code looks pretty complicated and long but that is just because Vrunzol has to cycle through A Lot of costumes so it is a little long but it just repeating itslef.

And in the end it should look pretty cool and hopefully pretty clean and not spastic.

Thannks for reading this blog if you want check out my YT channel @Drago Gaming link:https://www.youtube.com/channel/UCrlNUqQVBxLIbdltHQBdcYg?