xeed's Forum Posts

  • didnt see this topic before, this kicks my ass on ^^

    thanks :)

  • actually trying to find a solution for the performance and routing problem, and guess i found a bug.

    not all obstacles are recognized. i defined multiple objects as such, and some are ignored...the path goes right through them.

    the problem shows different path solutions per each algorithm, but all of them seem to ignore spaces smaller than the defined cell size side for the path plugin.

    i think its not that useful in this state, especialy not for realtime path rout'n'walk stuff.

  • i just got it working. u need to the reset for every key, since multiple keys can be pressed together.

    <img src="http://construct-games.de/content/c2wsadcontrol_blocked.jpg" border="0" />

    well, here is an image inserted, but it is not shown in the post by me.

    anyway, thanks and have fun <img src="smileys/smiley1.gif" border="0" align="middle" />

  • so it looks this kind of control cannot be emulated by 8 direction, right?

    the only (easy) way i see, is a collision check with the walls, before moving to the next desired position.

    but thats not very handy, because all movements, even along the wall sideward, will be blocked. also u need temp variables, to store the "old" position.

    but isn't there a trick to get the up/down movement of the direction behaviour to act to the current angle?

  • sorry didnt read "different". so you are right, i am waiting for families (classes) feature too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • same to me, i did a project with older versions (r55), and with r63 the exported folder is not working anymore in any browser, uploaded.

    but its not only minified exported projects by me, i've been trying both versions. firefox and opera just dont load the games, without any error. the layout stays white.

  • same like before, Add Event -> System -> ForEach -> Choose Object to create an event for all of them.

  • add global number "clicks".

    add event "right mouseclick" -> use "Pick n'th instance" of the object selected, while 'n' is "clicks".

    now you can move the object, only the 'selected' instance.

    and then set the new position, and finally increment "clicks" every time to get a unique x/y for every object instance.

  • Great Behaviour.

    But could you please make a little capx, how to move an object framebased along the generated path from S to D, with some static obstacles in the way?

    There are few things in the Demo capx, that doesnt really matter for this simple setup, i guess.

  • thanks Spades, links now working.

    Ur solution is a good idea, but it's not working for me, since i dont know on which side of the block to teleport the player.

    1. because he can walk side- and backward.

    2. the walls are all the same, even if its going horizontal or vertical.

  • looks like a buggy java installation.

    consider un/reinstall java and c2.

  • Thanks Kyatric. But this is not the solution, since "forward" is always "Up" in 8-Direction Movement. But I want "Up" to move to the current angle.

    As I understood, "Solid" means an area over/on which other objects should not be. In combination with the "Platform" behaviour, this feature interacts with the Movement and the Gravity.

    Here is an example how Solid Objects can work with that simulate stuff in platform mode.

    viral_attack0.3

    And here is what i want, the real WSAD movement in topview, inside a specified area. The grey walls are solid, so how to emulate the actual control with 8 Direction behaviour?

    ad0.1

    Use mouse to aim, and WSAD to move.

    Hope the packages work, UMTS upload is not the best at 7kb.

  • Thank you gammabeam and Ashley. I'm gonna try this right now.

  • Sorry for my noob english. :D

    I want them to be stopped, but by the solid behaviour of objects, not manually.

    And I dont want to use the standard 8-Direction behaviour on the objects ,that need to be stopped, for this feature to work.

  • And a similar question, I didnt find a solution before. Is there an easy way to check the distance between 2 objects, maybe in pixels?