kepoly's Recent Forum Activity

  • You would have to use/create an api the game could talk with(written in javascript)

    I highly suggest checking out: http://coind.net/members/bitcoin-developers/

    for bitcoin specific developers

  • CapX did not work

    save as single file

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • anyones

  • I have my NPC an 8 direction isometric character that I would like to walk around the house or an area in random sequence

    walk around pause for a bit and then continue to walk the same direction or opposite.

    I had seem some tutorials on random and custom movement with line of sight etc, but im having problems with the character facing the correct direction(remember there is 8 directions/animations to this sprite)

    Anyone have a solution for this?

    tldr; cannot get iso npc to randomly move about an area.

  • Fixed this, but not the most efficient way.

    If player animation = idle0 (right)

    f pressed > set animation to attack0

    ETC ETC

  • More info;

    Player within 22.5 angle 270 > set Player Direction = UP

    Player within 22.5 angle 0 > set Player Direction = RIGHT

    Player within 22.5 angle 90 > set Player Direction = DOWN

    ETC, ETC, ETC for each direction(8)

    When f pressed,

    Player Direction = UP Set Animation to attack1

    When f pressed,

    Player Direction = RIGHT Set Animation to attack2

    When f pressed,

    Player Direction = DOWN Set Animation to attack3

    ETC, ETC, ETC for each direction(8)

    But it will only respond to the first one and always attack UP (attack1)

  • It is a bit different in this case,

    Player moves to direction of mouse(reticule) in an iso (8 direction) way

    I tried adding a variable direction starting with right, and then if he is facing down, left, up etc change the attack animation but couldn't figure out how to tell(construct2) if the player is actually facing each direction as it is not a platformer(platform behavior not used)

  • Anyone know a solution?

    Need the player to be able to attack the same way as the movement is setup

  • Anyone ?

    Not so much as me but the character

  • I have a character that has all the necessary animations etc for the diablo style movement and now I am attempting to make the player attack always in the direction he is facing.

    Diablo style movement:

    Would it be done the same way using the ceil8 ?

    Some help please as I am stumped!

  • Fixed,

    Added variable speed, and isMoving boolean

    Added Player is overlapping object

    player set pos to

    x: self.X-cos(self.a)*self.speed*dt

    y: self.Y-sin(self.a)*self.speed*dt

    set reticule to player.x player.y

  • Anyone

kepoly's avatar

kepoly

Early Adopter

Member since 23 Jul, 2014

None one is following kepoly yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies