ankas's Forum Posts

  • Thank you, found it yesterday and right now intended to post a solution but you was faster

  • Hello, guys, just discovered Construct Classic and wondering is it possible to change default arrow keys to WASD?

    I did not find anything like 'Simulate Control' in Editor itself. Any idea?

  • There is no way to use a bullet for this purpose. Switch to rays instead. I used jcw_trace (raycast) plugin and it works just fine.

    You can find some ideas in this topic:

  • Thanks a lot! It's working!

  • Thank you (and sorry for late response) .

    Can you please describe how the construction "scroll to floor(player.X / 128) * 128" is working? I got some results but not what I wanted. Probably because I did not get, how does it work.

    If I have screen width 1024, does it means I have to use (player.X/1024)*1024?

  • How do I make a Prince of Persia-like scrolling? I mean when the background is fixed, and then scrolled left or right when the player approaches left/right margin of the window.

  • What about you set up 'device time' after restart and than start your own 'time server', as it was mentioned in my first response?

  • Thank you, I will try this at evening. I guess it should work.

  • Did you consider to use 'wait' and variables for seconds, minutes and hours (days, years)? Add 1 every second to variable 'seconds', add 1 to minutes, when seconds=60 and so on?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [quote:3spsm5q1]@mekonbekon

    Sorry for the delay with the response, probably we are in very different time zones.

    I added a variable 'hitpoint' which can be reduced, using double-click. When it reaches '0', I want to replace my sprite animation (not implemented yet) with a ragdoll, positioned on invisible 'player' sprite (I made it visible for better control and understanding of what is going on).

    Thanks for your time.

    https://www.dropbox.com/s/7guft5u0nvshm ... .capx?dl=0

  • [quote:33g6kox8]@mekonbekon

    Thank you for your help, but now I experienced another problem. And the problem is how to enable my ragdoll.

    With a 'mouse click' it works just fine, but when I use 'hitpoint=<0' or 'alive=0' (variables) conditions, the positioning continues to work every tick, as variable is not changing anymore. Thus the 'body' of the ragdoll is hinged to specific point, rotating as crazy.

    Any idea how to fix this issue and what is the best way to enable ragdoll?

  • Thank you! It works!

  • [quote:1lkzaluu]@mekonbekon

    Thank you, it works, not very well though.... What I did:

    1. Position body to 'player' visible sprite.

    2. Position head, arms, and legs to body.

    3. Enable physics.

    4. Make joints.

    5. Apply torque to the body in the angle of 'player' movements. It seems it does not work.

    Can you take a look at my capx, please?

    https://www.dropbox.com/s/7guft5u0nvshm ... .capx?dl=0

  • Hello, guys, I'm trying to create and position a ragdoll in the specific place of my game layout. In this simple experiment I used tutorials 'Rag doll example' and added two new actions - put invisible 'target' sprite to the mouse pointer and set ragdoll body position to it.

    As a result, ragdoll flies away and never comes back, instead of 'hanging' from the mouse pointer and then falling down. What's wrong?

  • Yes.

    Thank you This plugin will cover all my needs.