[Request] Courses / Paths / Nodes / Line for Ways.

0 favourites
From the Asset Store
Change the size and position of everything without calculating anything!
  • It might be possible with an object where you place instances of the object to represent the path. The question is can the editor connect the dots... la, la la la.

  • It might be possible with an object where you place instances of the object to represent the path. The question is can the editor connect the dots... la, la la la.

    Arima I understand what you said by making sprite appear at each node but like newt is saying above

    how would I connect these nodes?

    with the path/course feature or an update to pathfinding this would be expected to be possible without addtl events

  • > It might be possible with an object where you place instances of the object to represent the path. The question is can the editor connect the dots... la, la la la.

    Arima I understand what you said by making sprite appear at each node but like newt is saying above

    how would I connect these nodes?

    with the path/course feature or an update to pathfinding this would be expected to be possible without addtl events

    Pretty simple, tag each node with a instance variable, then connect each using a for each loop, checking the actual node and the next node X and Y, setting the angle and stretching a dot image, like on the tutorial for LOS.

    This topic is about pre determined paths, what make easy the determination of courses for objects in scrolling games, race games, etc.

    How easy it would be for a race game, for example?

    Well, you could make the car following the path, then, setup the car behavior to vary his target on the course (like the SIN behavior), making it more real, and never getting lost.

    I did a similar system on this sample game (http://goo.gl/TCWPp), but it was a huge job for a single stage...

    Edited: updated the first post with more images;

    I hope someday this catch attention and deserve a place on Construct 2 heart.

  • I'm up for that. Anything that would streamline the development.

    If anyone wants to know, I'm currently using MoveTo Behavior plugin ( but this technique can be done with any movement type, but would have to be slightly modified to adopted the movement, for example direction and distance to pass before next call). I've created object text variable for the sprite I want to move with value like this

    864`960__864`736__864`536__464`536

    and numeric variable that holds steps made. Also I have one more variable UpDown that is responsible for reversing the movement pattern.

    The events sheet looks like this

    <img src="http://img11.imageshack.us/img11/7234/gpcu.jpg" border="0" />

    Hope that helps!

  • Personatly i make a layer call "route".

    I place on it square sprite with a route_index_variable that contain the number of the node path.

    1,2,3, .....

    in code i move the layout following this path.

    basic and working.

    Not simple if you need lot path and for lot of entity (npc rpg) but it's ok for a simple auto-scrolling level for exemple.

  • Reviving the topic, I saw in a new tool the same feature requested here.

    [quote:3litylq5]

    Path Movement

    Using the bezier tool from inside LevelHelper you can create paths.

    These paths can be simple lines or rounded and complicated.

    You can then select one or multiple sprites and make them move on these predefined paths.

    You can have it so that the sprites move directly on the path or relative to their own position, describing the path shape.

    Various properties are available via the app, but they can be changed via the API, properties such as time, looping, orientation and more.

    Using the API you can register for notifications such as "Path Movement Has Ended", "Path Movement Has Reached Point". You can use these notifications to trigger special game events.

    http://www.gamedevhelper.com/levelhelper/

  • It would be great addition and speed up time, and also for newcomers.

    I remember when I used Klik&Play and they had similar thing.

    But then it is all up to Ashley. I am jusk thankful he's churning out updates so often!

  • helena I used to use Klik&Play too Ahh nostalgia.

  • The good (??) old 90s... I was so impressed but then I got frustrated by the limited format. I wanted to do scrolling games... Haha

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • helena Yeah I was so young those days, my older bro used to teach me special techniques, he taught me how to make scrolling which was really complicated but possible, and also there were no "Global Variables" but there was "Score" and "Lives" variables which were limited to 4 each. Also I remember all the pre-rendered sprites like the barbarian and kung-fu guy, and the pre-made demo games like Romeo and Juilet and Gradius(?). Good times ^^

    Sorry for derailing the topic. In light of the actual Path movement idea, I'm personally not too fussed for it since there's events to move sprites towards other sprites so you can make your own paths very easily, even for beginners. But as for ultra-beginners that don't even know what a variable is, it could be useful.

  • +1

  • it would be great!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)