Doomky's Forum Posts

  • OK, i make it simpler.

    http://hpics.li/d4780a2

    http://hpics.li/cfa50ee

  • ok i had this event but it still doesn't work.

  • How do I create a specific movement for each instance of a family ?

    I'm working on a ranged ennemy for a "rogue-like game".

    here's his how he's working:

    every 0.3sec  
    for each EnnemyRanged -> Set EnnemyRanged.DistanceToPlayer=sqrt((self.X - Player.X)^2 + (Self.Y-Player.Y)^2)
       ( EnnemyRanged.DistanceToPlayer < EnnemyRanged.SafeDistance ) -> Set EnnemyRanged.focus 2
    Else   ( EnnemyRanged.DistanceToPlayer >= EnnemyRanged.SafeDistance and   ( EnnemyRanged.DistanceToPlayer <= EnnemyRanged.DetectionRange ) -> Set EnnemyRanged.focus 1
    Else ( EnnemyRanged.DistanceToPlayer > Ennemy.DetectionRange ) -> set EnnemyRanged.focus 0
    
    focus= 0 -> stop
    focus=1 -> find path to player.x,player.y and move along
    focus=2 -> enemy flee (too long to write)[/code:ma3r0yiq]
    
    I've tried to use "for each instance" and "pick by UID" but seem like it doesn't work at all.
    when i run my game it's the nearest ennemy who defined the movement of all  the instances of this family, for instance all the ennemy go to the same place.
    I want to  each instance to determinate where he must go...
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Callan S,

    Yeah, I agree with you and it's actually my way of doing A.

    I have bigger ideas of videogames I would like to create but I know I can't "reach" them, i'm not enough experimented yet. I just wanted to set a "theme" to my game, that's why I talk about my game like if I was dreaming without even starting to make my game, you're right I shouldn't talk of my game like this.

    But don't worry if something I want to make is really too hard I will leave behind this thing.

    To answer your question: I don't know but working on this project help me to judge my abilities.

    As of today, i have made "the basics" for the player (movements, level system including XP and HP progressing W/ level and shooting system), and for Monsters ( with a detection range which when crossed, the monster focus the player and following him).

    Right now I'm working on items. I want to create a firing system with 2 parameters: the number of bullets by shoot (to make "double-shoot","triple-shoot"...) and the number of bullets by salvo.

    Thank you for your opinion, I understood well what you wanted to tell me. I'm taking notes.

  • Hi all,

    Let me introduce myself, I'm Doomky an inexperencied game creator ( by inexperencied, i mean, i have never work on a real video game).

    I want to make a dungeon crawler game focused on scaling.For instance, you have 10 min and you must scale the most as you can, at the end of timer you have to fight a boss. So, the time is a very important thing in the game...

    Anyway, i create this topic because i know i will need help soon...

    Oh yeah, and sorry for my "bad" english, i'm french