some questions for button behaviors and others

honaccountpk@yahoo.comhonaccountpk@yahoo.com Member Posts: 41
edited November 2013 in GameSalad 101
how do you set your main character to use a skill at a specific duration and allows it to make a different stance when using the skill that is pressed? >> side scrolling game

how do I make a melee-character attack an enemy/monster in front of him/her?>>> side scrolling game

how do I make an equip-able skill for skill usage?(to customize skill buttons of my other games)[my characters will have different skills for each class it will have, maximum of 5 skills per class](also going to use this one for my tower defense game)

how does a skill button work? >> my 2d side scrolling game

how do I make a passive skill work for the stat increase of player owned characters(different passive skill per player)?
(example: add 100hp, after clicking it, the current max hp will be added with 100 health)

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    It sounds like you have a lot to learn about GameSalad. You might start with the Cookbook or video tutorials to get a feel for how rules and attributes work. My signature has a few links that will be helpful.

    I'll start by helping you with this one:
    how do you set your main character to use a skill at a specific duration and allows it to make a different stance when using the skill that is pressed?
    Either give the actor an attribute or make a game attribute that is a boolean, something like game.canUseSkill. Set it to false initially. Have a rule with whatever conditions you want (e.g. game.coins>=100 and space bar is pressed) that changes game.canUseSkill to true. Add a timer to that rule with run to completion checked and change attribute game.canUseSkill to false after 5 seconds (or any duration). Then have a separate rule that says when game.canUseSkill is true, change image [image name] and change any other attributes you want (e.g. strength, health, invincibility, etc.). In the Otherwise section (for when game.canUseSkill is false), change the actor's image and attributes back to whatever they were before.
  • how about walk animation? >> this might be harder than that of a skill use because skill usage is almost un-repeatable due to it's own cooldowns.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    If you Google animate gamesalad there are many good resources there including the Cookbook and video tutorials.
  • I'm thinking of other ways to make the knight or swordsman slash their enemies,
    instead of having the slash as an animation part of the layer, when the knight slashes an enemy, the slash itself directs to the closest enemy, and decreases the enemy health bar until the enemy is defeated.

    I'm working on a game style: knights vs dragons game, where every dungeon's boss is a dragon, and I've already made a story out of it.

    Itself has an original story, that is not yet depicted in any story between dragons and humans.

    I'm working on the starting characters: different types of a knight.(physical/magic/ranged and etc...).

    I'm still re-thinking of the idea on the artworks. Thanks for the help!!
  • hey, is making a slash as a "limited-range-projectile" better than having the character's animation get close to the target?
Sign In or Register to comment.