Montag, 28. April 2014

Day 2

Day 2

Today i covered a lot of things.
After we did the last realy easy things i decided to go on to the animations.
So i have learned a lot about Eventgroups, the Image Editor and Animations and Subevents.

I just tell you what i had done and then show you my event page.

First of all i switched the direction property of the 8-direction behaviour of my character and set directions to 4-directions because im to lazy to draw animations for 8 directions :)

So next Step is drawing single pictures for IDEL-left,right,down,up and for walking in all those directions.
After that i created a "walking" folder in the animation section of the image editor of my character. I created 8 animations. One for every standing direction and one for every walking direction. Then i changed the Speed of my walking directions animations to 3. Just because i like the Speed on this. I also made sure that the idel-Down animation is my first animation in the list. So at the beginning my character looks down and stands still.

Then i had to make a lot of events. for That i learned about Sub-Events and Eventgroups. Eventgroups are very nice to keep things in order and i think you should use them. I made groups for the attacks the arrowkey-pressed down and arrowkey-released.

Now the Events are very easy . Its just, when you press down an arrow key it sets the animation to the walking animation and if you release the key it will change the animation to the standing animation of this direction. I made this in 2 different events. So thats what i did at Day 2 and what i have learned. I hope it is helping you. If you have Questions just ask.




Freitag, 18. April 2014

Day 1

Day 1

Day one of my journey has started. Well my big first goal is a Monster Hunter clone. To reach this goal i need to learn a lot i gues :) so lets make a quick list of what we need in basic:

-Fighting System
-Different Weapontypes
-Monster AI
-Animations
-Armor and Armorsystem
-Health and Stuff
-Different Fighting Areas

-General Gameplay Elements
-Loot
-Quest System
-Crafting System
-Village or so
-Different Fighting Areas

OK... that is a lot of thing and i think i will edit this List a LOOOOOT step by step but i think this is in general all the things i want to learn now.

So lets start with the main Element the Fighting System.
I know some Basic stuff from Construct 2 wich you can learn at the toturials.
So The first thing i want is an Character which Moves around.

 Uh isnt he pretty? I think im realy shiti at making Art but who cares its just a prototype.
Ok so in Construct 2 just start a new Project. I set the Size to 5000x5000 just because i can and ad a Sprite. I load my character and put it on the empty Space.
Well but now we have to give this small guys some behaviors. We ad 8-directions, Scroll-to and Bound-to-layout. That is all we need right now for simple movement. We change the 8-direction propertys a little bit. just set "Set Angel" to none so our character is not rotation while we are moving.

Ok the next Step is to give him a MIGHTY WAEPON OF DOOM... or something similar. And here it is:

I think its really nice. We will ad this one as a Sprite onto the Marign of our project. Now to add it to the hand of our char i go to the Sprite of the Character and add a "Image Point". I put this into the left hand of the little guy. Then i go to the Event Sheet of our project and add an Event.
What im doing now is adding an Event that every Tick the Position of the Sword is set to the Image Point of our character. Make sure that the origin of the sword is on the end of the sword not at the middle.

So next Step is Adding an Attack. For that i add an keyboard input to my Project. Then i create a Global Variable "Attack".

The next Event i create says: If STRG is pressed do a "Fake Animation" (We just Rotate the Sword a little bit) and set the attack variable to 1 at the beginning and 0 at the end.
Now to Kill something we need something to kill. I use a simple sprite i had on my Computer

You see im one of the best drawers you ever seen.
I add this little guy to the project layout and give it the solid behavior. I also give him a instance variable called health and set it to 10.
Now i create a new Event. Whenever Attack is 1 and the sword is on collision with the enemy substract 1 from health and set attack back to 0. (if we dont set attack to 0 we will kill the enemy with one strike because the health will drop down as long as our sword is colliding with the enemy) And we create another Event wich destroys the enemy if its Health is 0.

And DONE. we created a very simple fighting prototype. Its really crappy right now but we figured out the basics of fighting and killing things and stuff like that. Enough for today. Maybe i try to find some who can make my Sprites for my Project ^^.

Hope it helped a little bit. See ya guys

Screenshots of Layer and Events




Introducing myself and the matter of this AWESOME Blog

Introduction


Hello Guys.
My Name is Merlin also known as Skiwan and i started this Blog for one Reason.
I wanted to document my own way of developing Games to keep myself motivated, share what i have learned and to keep things in order.
So this Blog is all about developing games with the game maker:Construct 2 wich you can find here: https://www.scirra.com/construct2
Right know im using the free Version because i just wanted to test it out.
If you want to know something about me just ask. I will make a post every few days i learned something or did something. At the End my first BIG GOAL is a Monster Hunter Clone for Pc.
I know nearly nothing about Construct 2 so well lets see what we can do.
Greetings Skiwan