newt's Recent Forum Activity

  • Man walks into the doctors office says "Doctor Doctor it hurts when I do this!"

    Doctor says "Don't do that."

    Seriously what you should do is use the accelerometer/geolocation and make a game to see how far the toddler can throw the phone.

    Or Google tablets for kids perhaps?

  • There are many different methods to set up movements for multiple objects, and that's part of the problem.

    In particular the distribution, as in how far apart should the units be, are they in rows, and columns, or are they just there haphazardly?

  • First you would have to pick one instance, and save its x, and y to a variable, then you would need to make it so that instance is not picked again. So..

    On you condition/ trigger picking your object

    - call function("myfunction") set parameter index 0 to object.x, set parameter index 1 to object.y

    -- set object instance variable variable ("dontPickMe") to 1

    On function("myfunction")

    -object compare variable("dontPickMe") =0

    --object pick closest to object.variable((myfunction.parameter(0),myfunction.parameter(1))

    So basically add a function object to get out of the picking issue.

  • Yes they would.

  • You can of course set up a custom movement by plugging in your own formulas, and timers for setting xy's, but honestly the physics behavior is not the way to go, and the platform movement already gives you a great amount of control.

  • Oh wow, didn't even cross my mind using numbers rather than a string would revert to the index.

    Sorry about that.

  • C2's physics behavior is a bit cpu intensive for anything but the desktop.

    Perhaps you might take a look at the platform behavior before you try to reinvent the wheel.

  • Im not so sure a "trigger once for each instance" is such a good idea, as it will probably cause more confusion. After all it is a system condition, so it should either pick all or just the first index just like system compare does.

    Then it seems like there would be no point to add a condition to objects since a simple variable will do, or in this case compare opacity.

  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/666516/r139containersWrong.capx

    Steps to reproduce:

    1. Note the function moves the container spritecube to layer 1

    2. Press play note spritecubes are seen

    3. Change the function to move the spritecube to layer 0

    Observed result:

    Spritecubes are not seen

    When they were seen they were moved to the wrong layer

    Also note layer 1 has 0 parallax

    Expected result:

    The container object is on layer 2d, and the contained objects are moved to that layer at start of layout.(it would be nice if existing contained objects were left on the layer they already exist on, but ehh)

    To deal with this the contained objects need to be moved to the correct layer, but they are moved to some other layer than specified.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: dunno

    Operating system & service pack:

    764

    Construct 2 version:

        r139

  • Lerp doesn't really work well for paths.

    It has an ease in as over demonstrated in this capx.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Fine here.

    Also Iphone, and Ipad don't have webgl.

  • Might want to check out the thread where Ashley posted the specs.

    http://www.scirra.com/forum/official-paid-plugin-contract-sprite-font_topic69126.html

    Most of that is because we are working with Html5 with all its advantages, and disadvantages.

    Its not rocket science either, but it can get close at times.

newt's avatar

newt

Member since 12 Nov, 2008

Twitter
newt has 27 followers

Trophy Case

  • 16-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

31/44
How to earn trophies