jojoe's Recent Forum Activity

  • Please forgive me if I am wrong, I have crappy english.

    I think what you want is an Anchor: https://www.scirra.com/manual/88/anchor

  • Scap if you do not find your solution send me a PM. I have some templates for common AI types. You can march in formations, and set up complex routes for them to follow.

    I have it so they can be as simple or as complex as you need. They can just march from way-point to way-point, or you can add special commands to the way-points, areas, and paths. (Like Rainbow 6).

    Well anyway you can use them in a commercial game, or you can just pick them apart and learn from them. Might save you a lot of time. PM me if you are interested.

  • LittleStain Thanks for the solution

    R0J0hound Very elegant. I learned something new today. Thank you!

  • Put the action that changes the counter at the very bottom is mistake #1, Mistake #2 is that the animations are 0 based, this would explain why you can only get 3 values. try starting your loop at 0

  • Thanks chrisbrobs!

    Made some neat ocean effects with it!

    http://voxi3d.comule.com/simlexgenerate/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi you can use Perlin noise and masking to accomplish this:

    EDIT: here is one I came up with

    http://voxi3d.comule.com/SandStorm/

    uses no particles.

  • A right angle is 90 degrees. so on collision have it set the angle.

    Collide with sprite------> set angle: Choose (-90+Self.angle,90+self.angle)

    That will randomly pick weather to veer left or right and keep a localized orientation. It will clamp it to a 90 degree turn left or right.

    Also change the sprites collision polly , and make it more sphere like, it will make so it will bounce more like a ball. Not sure about C2 but most physics engines support a simplified collision. You can choose Collision poly, box, circle, pill. If C2 uses this, then it is better to use.

  • Doing something a different way from what you are used to doesn't make it harder.

    Totally agree. Learning the C2 way of doing things just take a little extra effort. In cases like this it will be much faster than using Plugin or having to extensively use Token At and token count to retrieve things.

    You can simply retrieve a value from an array, you do not need to bog down the CPU with Token at, Dictionary or loops. You dont need a plugin that may cause incompatibility problems in the future.

    By simply learning the C2 way of doing things, it is not only easier to debug, it is also much faster then re-inventing the wheel. Not to mention it is safer, and you dont have to bloat your application with a bunch of json files.

  • Hello.

    Use AI pathfinding.

    https://www.scirra.com/manual/154/pathfinding

    Then use:

    ON Any Touch --------->Find path to: Touch.X and Touch.Y

  • Hardware accelerating is disabled in the Windows system since DirectX 11 is handling that but I don't see anywhere where I can configure that.

    If hardware acceleration is disabled then Direct X 11 will not run at all. It sounds like you really need to do a clean install of the drivers.

    The way things are not showing up in the tabs for you makes me think it has to do with Aero not being able to composite properly. I have has similar issues running things in Linux under WINE in a VM using emulated hardware acceleration. You would not think it effects things inside the window, but if there are driver problems, all kinds of things can go haywire.

    Long story short, uninstall the drivers completely, and try reinstalling them, after a cold boot. Avoid using things like CC-cleaner unless you know EXACTLY what it is doing.

    In the future, if you have issues immediately after installing a driver, try rolling the driver back to the old version and see if it helps.

  • You would need a level to oversee the loading of the levels. After each level you would return to the overseer level to load the next level. When you load a level it marks off that it has been run by toggling a Boolean variable. (Only in Construct 2 we do not have Global boolean variables so you need to make one with an intager and use 0 and 1)

    That is the simplest for non-programmers that I know of, The more complex version would get the maps from an array. Once it loads a map, it Pops or delete the index that the map info was in, so only the maps that have no run yet remain.

    You can then save the array To as local storage. And load it again when needed.

  • You can use Token At, and then you can do any kind of "Code" you want. Can use .Json, or just make a psudo code.

    Just use an array, Dictionary , or an object with instance variables and save and load as Json. This is the easiest for most people.

    The Token At is the Most like real programming. It is Cryptic, and hard to read, and hard to edit. It take special knowledge to use it, and most people will not understand it at first. It is easy to make typos, and takes special loops to actually read and use. Perfect for programmers!

    So basically If you want it "easy as" Construct 2, then simply use an array or a dictionary, or use instance variables. Then simply save and load as json.

    Or if you want to over complicate things, and make it "easy as in programming" then Token count and Token At is your best solution.

    You can even over complicate things with XML if you want it really easy.

    I am still waiting for someone to do a plugin for this:

    https://goo.gl/vfgFK7

jojoe's avatar

jojoe

Member since 29 Dec, 2012

None one is following jojoe yet!

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies