Attack Help
Kubeg
09 Jul 2015, 18:23I would like to do the fight in my game and do not know how ( I would ask for sccreenshots because they do not really comprehend it all ) sorry for the mistakes but used a translator

jaynabonne
09 Jul 2015, 20:29There is an existing combat library, but the first thing you need to do is define how you want "the fight in my game" to work. What commands will the player type? How is damage determined? Is this just a single fight scene or do you want a consistent fight ability throughout the game with multiple combatants? Do you have a design, or are you hoping some existing code will define that for you?
(I don't know much about the existing combat library. I'm sure others will chime in!)
(I don't know much about the existing combat library. I'm sure others will chime in!)
adammadam
14 Jul 2015, 04:39download this and have a look at it, it will show you what you should do
The important things are to make an enemy first, which you do by making a new object. Then for that enemy go to their attributes tab and give them at least two attributes such as "life" and "damage". Also then click on the player object and give them the same attributes. Then on the enemy, go on their verbs tab and add a verb such as "attack". Then you will see the rest of what should be added in the game file I uploaded to help.
The important things are to make an enemy first, which you do by making a new object. Then for that enemy go to their attributes tab and give them at least two attributes such as "life" and "damage". Also then click on the player object and give them the same attributes. Then on the enemy, go on their verbs tab and add a verb such as "attack". Then you will see the rest of what should be added in the game file I uploaded to help.