jojoe's Forum Posts

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • Change the Sampling from Linear to Point in the Project property's panel.

    That will turn off the AA and pixel rounding crap.

  • Why not put the gizmo on a layer that does not get scale, and then snap it to whatever object needs the gizmo after the scale? The gizmo would be unaffected by the scale, but might need to be re-positioned.

  • Just change the gizmo scale when you change the layer scale. You will have to reset the position too. Grab the gizmo's x and Y, and shove them into a variable. After the scale, then you can set position back to the gizmos X and Y.

    Is the center not in the middle of the Gizmo?

  • If you want an individual object to spawn, then just spawn that object, not the family.

    If you need to compare Apple, don't compare the fruit family, compare the apple.

    At some point you are going to have to determine what you picked. At that point you are going to have to Compare a variable, or the actual object. There is no way that I know of to return the object that was clicked without a bunch of If than statements.

    MadSpy has the solutions for you.

  • Oh crap, so it is On screen controls only? I was posting the information so it was easy for you to mimic and implement other controls into your game. I am very sorry about that.

  • What does Firefox have to do with it?

    My firefox spits and sputters with HTML 5 games. Whenever I am thinking I am having a performance problem, I look up and see that i am testing on Firefox. When i switch to Chrome the performance is the way i would expect it to be.

    Not sure if it is Firefox itself or some kind of plugin is installed, but I can not get Firefox to play C2 games without massive lags, hitches , and random unknown Hard disk usage.

    I use Firefox as my default browser so i am not obligated to share my privacy with Google. i also don't like the "OK google" Microphone spy that seems to randomly enable itself. I only use Chrome for testing my games.

    I can use Unity, Flash, and other game engines with Firefox without too may problems, just not C2 games for some reason. The performance just goes in the toilet after 1 or 2 minutes.

    The only Plugins I use Is Adblock PLus, and Adblock Element hiding, Disabling them does nothing to help.

  • Just use an array, or a dictionary. The array will sort faster in most cases, but it not as easy to understand. You can save both of them as json strings.

  • R0J0hound

    Thank you so much! I have wanted to see a working copy of this for a long time now. Now I know it is Real and it does exist Going to try reading the tutorial closer, with your great example, so I can see how it is actually doing things.

  • Hey.

    If it's pseudo-8bit sound effects that you're looking for, I'd look at bfxr.net.

    I love BXFR it is a distant cousin of SXFR. The SXFR guy made a new version with a great GUI: