GaryTheGoldfish's Recent Forum Activity

  • Hi everyone,

    I'm planning on making an rpg similar to pokemon - in that you have 9 monsters that you can summon during a battle (only 1 at a time).

    What I would like to know is, if it is possible to use a text variable inside a function.

    for example: I have a knock back function

    global var: current_monster = "monster_1" (and I have a sprite called monster_1 and monster_2)

    global car: enemy_monster = "monster_2"

    +on function "knockback"

    current_monster set bullet enabled

    current_monster set speed round(random(100,300))

    current_monster set angle of motion to angle(enemy_monster.x, enemy_monster.x, current_monster.x, current_monster.y)

    ...

    Etc, etc

    At the moment I'm pretty sure it is not possible, however I am only using the free version. Is this possible with the full version or not at all?

    Thanks.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
GaryTheGoldfish's avatar

GaryTheGoldfish

Member since 28 Aug, 2013

None one is following GaryTheGoldfish yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies