Monday, March 5, 2018

Day 17

Today I tried to implement a hitbox to my sword but ran into a big bug halfway through

So I watched a bit of this video to try to implement an attack into my game and i tried to follow it.

So I went to duplicate the sprite and then make the hitbox in that duplicate. But I accidentally made the hitbox on my main animation. So i thought it would be ok to just CTRL Z it. But nope. It appeared it was going good but as soon as I tried to launch the game I kept getting errors and I was like whats going on? Turns out the CTRL Z I did didn't actually bring back the sprites and the program crashed. So now I don't have my animation sprites anymore. Whoops.


So I tried to search project files for any trace of the sprites. And this is what I found:




I found the files hidden in a folder so I just dragged them back inside and tried to remake the sprite.

So I used all the pictures I could find and for some reason, the attack animation ingame is quicker than normal. I think the cause for that is that I'm missing a frame from the animation. But it really doesn't matter than much.

Today I learned how to solve an error and how I managed to recover some missing files.

Tomorrow I plan on continuing with my original plan for today, to implement a hitbox into the game.

Friday, March 2, 2018

Day 16

Today I tried to add a test dummy to my game so I could add damage to my sword attack and test if it works.

So I made a blue square sprite called spr_test_dummy and then I made an object called obj_test_dummy and and set it's sprite to that.


After this I tried to add some health to the object so that it could die.\
I made it inside the create event


Right now I am trying to think how I can approach this and make it so that when I attack it would reduce the damage.

Alright so I came up with an idea, I am going to use an object appears every time I attack and then destroys itself the frame after. 

I will make a hitbox object and thats what ill use.

Today I didn't learn much but I plan on doing more tomorrow.

Tomorrow I'll try to implement the hitbox and try to see if I can do damage.

Wednesday, February 28, 2018

February Evaluation

This month was an interesting month.

I learned a lot of new things this month and refreshed my memory on GameMaker Studio.

I started off this month with an idea of what my game should be about.

I thought about the idea of making an skill based arena fighter.

I got some sprites off a video on youtube and planned for using those as my main person sprites.




I used these sprites and some spirtes I made that I would use for now as a baseline.


This month I learned how to use and change between states together and how to get better at my art so that I don't have to always use sprites off the web.

Here is my playable game so far:

https://1drv.ms/u/s!AspKoO8VI6uZg7cTdxF8vgdaSOGJog

Next month I plan on working more on my game and plan on accomplishing attacking and doing damage with my player.



Monday, February 26, 2018

Day 15

Today I changed my sword sprite to make it bigger so that the sword attack animation doesn't look bigger than the sword size.

So i worked again inside the gamemaker studio sprite editor and made a bigger sword.

This is what it looked like at the end


This is how the game looks like now:

Tomorrow I will be writing my evaluation for my game.




Wednesday, February 21, 2018

Day 14

Today I remade my sword animation.

I realized the the current sprite isn't really centered and it looks like the person is attacking on one side than the whole front of him.

So inside of the gamemaker sprite editor, I remade the sprite so that it is more centered.



Today I learned how to use the sprite editor inside of gamemaker to create a sprite.

Tomorrow I plan to change the main sword sprite and make it bigger so that it fits with attack animation.

Tuesday, February 20, 2018

Day 13

Today I finally did fixed the bug and got my attack to work.


I added an if statemant that said that it only resets when the image index (current frame) is bigger than 5 (as my animation only has 4 frames and it starts at 0) then to go to the idle state. And if not then to keep it in the attack_state.

Today I learned how to count the current frame and use that to wait until an animation is over to switch states.

Tomorrow I will probably change some sprites or add something new.

Monday, February 19, 2018

Day 12

Today I made some progress on the animation.
It is resetting back to the idle state but it is only displaying the first frame of the animation.

I cant really show you a picture as the gif wouldn't be in sync with the one frame time window, but it just shows one frame then resets.

What I think is wrong is that i have to make it so that it counts the frames and doesn't reset until the animation is over.

I will do this tomorrow

Animate Lines and Ripple effect

Screenshot from Animate CC Animated GIF (Button does not work) Adobe Flash Player Version