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
Keine Kommentare:
Kommentar veröffentlichen