manukeo's Recent Forum Activity

  • Hello !

    i'm working on a top down shooter type "hotline miami"

    the character is moved by the arrows,

    and he can aim and shoot with the mouse.

    actually i use this :

    bullet > set angle toward (mouse.x, mouse.y)

    it works, BUT .

    when the mouse is really near my character, things become buggy.

    and when the mouse is very far from the charachter , you have a long way back if you want to turn around.

    what i would like to do :

    the aiming point is controled by the mouse, but its not the mouse.

    the aiming point follow the direction of the mouse , but is bounded in a circle which the center is the character.

    the aiming point is always on this circle at 300 pixel (for example) of the character.     never closer and never far away .

    so the mouvement you need to do to have a specific reaction will always be the same, despite the real position of the mouse.

    i tried to be clear, dont know if you can understand what i mean.

    if someone can help, it would be apprecied !

    thanks !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • look into the capx , this problem is solved to with the same logix and set mirrored.

  • hello ! im working on a topdown shooter type "hotline miami"

    i would like the monster to be pushed away by the bullets

    so i need to use the angle og the arriving bullet to push the monster in the right direction.

    but i dont know how.

    i've seen this post but i dont know how to use this method.

    scirra.com/forum/topic68471_post420886.html

    VectorX = ImpulseStrength * -cos(Angle)

    VectorY = ImpulseStrength * -sin(Angle)

    where to define impulsestrenght ?   

    if i use a number it doesnt work neither

    for the angle i used (bullet.angle)   but i dont know if its good because it didnt work.

    precision : my monster are moved by pathfinding o they dont have neither 8 direction neither platform.

    thanks for answers !

  • hi !

    i did like that, it works !

    dropbox.com/s/6qfnpv91c63ghkv/test.capx

    player / X < monster.x / player / set platform vector x to -400

    else                    / player / set platform vector x to 400

    good luck !

  • hi !

    thank you.

    i've already find these one :)

    thats good but i was hoping to find a sprite sheete with torso and legs separate. also a bigger size would be nice.

    i've done something but i've got some bug when the legs is a 90? of the body, you can see some parts of the legs you shouldnt see.

    anyway, for the moment i let this aside. the legs will be pointing at the mouse, as the body and head. this a bit strange when the character strafe but its ok.

    i'll show you when i make a dropbox account. soon !

  • hi

    i'll look at it.

    but i would like to do a "real" top down, so , no perspective.

  • hello !

    im trying to achieve a topdown shooter.

    im looking for an existing sprite sheet of a character type "hotline miami"

    i intend to do my own sprite, but it would be helpful to see a working sprite sheet to base my work on it. i wasnt able to find one on internet so if someone have one and is ok to share it with me , it would be apprecied !

    thank you very much !

manukeo's avatar

manukeo

Member since 17 May, 2013

None one is following manukeo yet!

Trophy Case

  • 11-Year Club

Progress

11/44
How to earn trophies