LittleStain's Forum Posts

  • You could just write events for this.

    But to answer your question, there is not a "draw a path and follow it" behaviour.

    But again..

    You could just write events for this..

  • List of all third party plugins and behaviours

    And yes, google maps is in there somewhere..

  • What other way would you like to have besides textbox?

    If it's keyboardinput you want that would seem the most logical.

    If it's the look of the textbox you don't like, it can be adjusted or you could use the input while having the textbox invisible to create a spritefont portraying the textbox input.

    I think there are also some other solutions on the forum, because coccoonjs didn't have textbox. Searching for coccoonjs and textbox should give some ideas.

  • Are you using sprite angle is between, because then it should work if you have rotate object set to yes in pathfinding properties.

  • Why not add a booleoan instance variable collision and set it to true on collision.

    Create an event that checks if all 4 objects boolean variable collision is true, if so perform action.

  • Not a great example, but it shows the possibilities of using an array to manipulate tilemaps.

    also added a choose() in the predefined, to show possibilities of randomness while predefined.

    Capx

  • I'm not at my pc now, but I thought this bug was fixed already in the latest versions.

    Are you sure the area the bomb is supposed to be able to go doesn't have tiles?

  • What is it that doesn't work right in my example?

    The timers are working correctly, as you can see from the animations I added.

    I didn't try to create your string variable for I couldn't see the benefit if you are going to have to check it for all booleans and combinations thereof anyway.

  • lolpaca

    That's about what I meant, great work.

    Works perfectly, also if you turn of diagonals.

  • You could just split it up:

    points > 0

    points < 11

    • set text

    or try if this works:

    system compare two values: 0<points<11 = 1

    • set text
  • Just thinking out loud:

    Wouldn't it be possible to use the build in pathfinder behaviour to find the nodes and use another behaviour to create the movement towards grid-rounded values of the nodes position?

  • Hi I added some animations to see if a, a, a and z, or none are true.

    Didn't use a string though, for using booleans seems like an easier way.

    testeffect-littlestain

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Doc AI

    The example provided, doesn't seem different in all ways to me. It is just missing the generation part you want for the obstacles. The rest of the example is a very solid example of how to achieve the mechanics for a game like you want to make.

    So, how to generate the obstacles?

    You could create them at runtime based on predefined patterns. How you would like to create these patterns an randomize them a bit is up to you. You could indeed create these patterns in an array using numbers to define which animation frame to use at which spot or to set a tile in a tilemap.

    Randomly creating objects won't work, because there are rules and patterns to take into acount. It might not be easy to get the result you'd like and will almost certainly take a lot of trial and error.

  • Burvey that's why I asked, I would think this is just Construct2 arranging the frames in such a way they fit best on power of 2 size png's. If referenced correctly by Construct2 the animations should be normal when playing. If the animations aren't playing correctly while playing the game, than there is an issue.

  • you could put all the solid objects together in a family and make a bullet on colision with family - destroy bullet.