lukezero's Forum Posts

  • Thanks one more time, XpMonster. ^^

    The image size of the Grid is 816x473.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Exactly,

    Your CAPX is a good exemple and a good job, but I need something more specific, due to the format of my game.

    Thanks for your collaboration. ^^

  • These black dots in the track are the waypoints that the kid (out of the grid) gonna follow in this stage.

    As I said before, I'm using MoveTo now to do the track movement, but it isn't perfect. Maybe its a collision problem, I don't know.

  • Sure, ^^

  • Master R0J0hound, can you help this padawan here? ^^

  • Hi C2 developers! ^^

    I would like to hear from you what is the best way to make an object not controlled by the player move linearly through a predetermined track.

    I managed to do here through waypoints together with the MoveTo behavior, but it's not perfect, because I need that to move objects in a perfect line between the waypoints without small deviations. It is worth mentioning that my game uses isometric perspective (30 degrees), then the difficulty is greater. Furthermore, there are waypoints in stage 5 to move the object from point A to B.

    HOW TO IMPLEMENT THE RANDOM TRACK?

    Now I'm trying to implement an alternative random paths system to a game based on the simple_path_follow.capx posted in this thread by

    https://dl.dropboxusercontent.com/u/542 ... ollow.capx

    I'm trying to do this:

    I believe that the right way to do this is by identifying the black circles through UID, but I cannot implement it. For this, I left the black dots that make up the parallel paths with equal values in the variable "n".

    So I tried (unsuccessfully) to do their own event to redirect the avatar, making the following changes:

    Object move at angle: move min(Self.speed*dt, Self.dist2target) pixels at angle angle(self.X,Self.Y,Dot(choose(30,31)).X,Dot(choose(30,31)).Y)

    Object subtract from: subtract Self.speed*dt from dist2target

    EDIT:

    RANDOM TRACKS SYSTEM IMPLEMENTED BY blackhornet, through LiteTween. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    http://www.blackhornettechnologies.com/ ... k_BHT.capx

    LiteTween: viewtopic.php?t=70700&start=0

    Thanks in advance the attention and collaboration of all. ^^

  • Great,

    I had a similar problem. ^^

  • I did this recently with an special enemy that is spawned in an specific interval of time (3~8 seconds).

    Set Enemy to floor(random(3,8))

    "Enemy" is a global variable that is used in a later event that interrupt the commom enemies spawn.

    System > Set group "commom enemies" deactivated

    Generator > Spawn Special Enemy on layer 0

    System > Wait 1 second

    System > Set group "commom enemies" activated

  • Thanks, dude. Awesome!

  • It is a good idea for a wedding party!

    As I haven't mastered that part, only I wish you good luck and congratulations for the marriage. ^^

  • lukezero So sorry I should have not said that. I am sorry for hurting your feeling lukezero

    All right, buddy. I didn't lose HP in this little discussion. ^^

  • lukezero why don't you ask him? Are you lame or what? Why do you wish to have everything in your plate? Did your parents fed you everything at once or what?

    Hold on, No need to be rude. I just wanted to know the reason for the omission, since the plugin is very good and functional.

    Peace.

  • I do not agree. Ashley &co must have good reason for not included this

    What are the reasons for not including him, Lordshiva1948?

  • I think MoveTo a essential plugin and I think Scirra should make it a native behavior in future versions of Construct, to further optimize the game development time.

    What do you think this, veteran developers?

  • you can also use moveforward or moveatangle function from the object setting a boolean on the object, when boolean is true, will act as an everytick condition and then move at the angle you give, you wold have to calculate the angle(obj.x,obj.y,destination.x,destination.y) and rotate the object towards the same angle, by using set angle or rotate toward angle and use the angle(obj.x,obj.y,destination.x,destination.y) to give a destination. that's if you don't want to use any custom plugins, and you don't care of adding a few events

    Thanks for your help,

    I tried unsuccessfully something similar before, but today I will try to implement your suggestions and give a feedback here.