unska's Recent Forum Activity

  • Whoah, incredible. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So there's no way of moving the sprite (with bullet behavior) without changing the angle?

    With 8direction I am able to disable the angle changes. Could I move the monster sprite towards the player with 8direction while maintaining the 0 degree angle?

  • Ah, thanks. The basic tutorial told me tu use Player -> Spawn which only works with image points. Doh!

  • What is the correct way to go;

    a) Create a single monster object and change it's sprite, health + other attributes when it's created

    or

    b) Have own object for each monster type?

    Since I have to do collision checks, destroy checks, scoring checks etc. to monsters, wouldn't b) method make me have to do this multiple times? Or can I group a set of objects and have events for the group?

    Imagine me creating a game where there's 100+ different monsters and each have different speed, different bullets, different health, different sprite, different name, different loot drops. What would be the best way to approach this?

  • Thanks for the reply!

    About the 3rd question; how do I set the bullet's movement direction without changing the visual angle of the sprite?

  • How can I spawn something on a coordinate instead of image point?

  • I have a few questions so I'll label them;

    1) How do I make monsters detect the player? Is this always done with the LOS behavior? Is there a "object is in range" event?

    2) What's the difference between making a bullet or 8direction monsters? Which one should I use? I want the monsters to wander around until noticing the player.

    3) How can I get a monster to follow player without changing the visual angle of the sprite. I want the sprite to stay same way constantly but follow the player.

  • Hmm, Create bullet?

    This is what I currently have:

    Mouse -> Left button is down -> Player -> Spawn Bullet on layer 2 (image point 0)

    System -> Every 0.1 seconds -> Bullet -> Set angle toward (Mouse.x, Mouse.y)

    What I want is to get the bullet spawn 100 px away from the center of Player towards mouse pointer instead of image point 0.

  • I have a very simple event:

    System -> Every tick -> Player -> Simulate pressing right

    but it does nothing.

    I tried

    System -> Every tick -> Player -> Rotate 2

    but it does nothing either.

    I can't get the every tick to work at all. When ever I move the action to a "on mouse button down" event, it works like a charm, but the "Every tick" doesn't work. Am I missing something here?

    EDIT:

    Free version, only so many event sheets, doh.

  • I know how the image points work but I need to have a dynamic spawn point for the bullet.

    How can I spawn a bullet from the center (origin) of the sprite, 100px towards the mouse pointer?

unska's avatar

unska

Member since 1 Apr, 2015

None one is following unska yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies