gumshoe2029's Forum Posts

  • > Make a scrollable table object that I can dynamically load sprites/text into. The "Container" behavior would allow me to move only one object in the container to scroll the entire table up and down.

    >

    A Container is not a container like a bucket. It's an association between object types during object creation, destruction and picking. You might want Pin behaviour. (Not saying Container wouldn't be useful, just in a different way).

    Yea, I already ran into that problem. That was why I asked my original question. If dynamically adding sprite instances worked, then I could create the sprite THEN associate it with the container avoiding the extra instances of everything else in the container.

    All of this could be avoided with an official table object though... lol.

  • Make a scrollable table object that I can dynamically load sprites/text into. The "Container" behavior would allow me to move only one object in the container to scroll the entire table up and down.

  • Yea, that should be correct. Here is an example from our game client:

    [attachment=0:2v17oomv][/attachment:2v17oomv]

    We parse the keys into a separate Array then loop through that array to reference each Hash bucket.

    You have to reference the Hash like this:

    Hash.At("key.arrayIndex") for multidimensional Hashes. For us, we use a loop like:

    For loopindex from 0 to keyArray.Width -1{

    Hash.At(keyArray.At(loopindex) & ".0")

    }

    in order to access the 0th slot in the array stored at each key location. Or you can dynamically increment the array index to access other array slots in each key location.

    See rex's post on his Hash plugin for more details on other implementations:

  • I doubt that exists based on what I have seen so far.

    Have you thought about using an Array of some sort to store tile locations/ids?

    I have also considered using Document.InnerHTML to collect the entire HTML code on the end user side and ship it back to my server to verify if it has been tampered with. Then if the client fails to reply with the end-user HTML code -- or replies with modified code -- it will kick them off.

  • We use a JavaScript variable injection (or an AJAX call in preview mode) to inject the server time directly.

    Then we just use a periodic NTP sync the server clock with nist.time.gov.

  • Text Box objects

    Then use the TextBoxObjectName.Text to retrieve it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Search for "kinematics projectile motion" in Google.

  • jQuery is already included in the Construct JS file. You should just be able to call functions from jQuery using the Browser > Execute JavaScript

    We use AJAX responses in JSON format and let rex_rainbows Hash plugin parse it for us.

  • It is not too bad if you can find an easy equation online that looks like what you want.

    Just do an image Google search for "equation graphs", find one that looks kind of like what you want and figure out what it is called.

    Then search for "<equation name> parameterization"

    So long as you don't have to go into polar space, you should be able to do it easily enough.

    http://en.wikipedia.org/wiki/Parametric_equation

  • You don't. You have to use a server side web language like PHP, Java, etc.

    We use HTTP sessions in Java servlets run on a Tomcat container on a Linux Ubuntu server hosted by Amazon Web Services.

    Then interface the session with Construct either by AJAX calls or direct JS variable injection.

  • You will have to do a lot of math and use parametric equations to make the path and have the scroll factor to be the parameterizing factor.

  • Sticky for my future reference.

  • Well... mostly I want the uniform motion, which I can do mechanically, but I was hoping I could just add them to containers dynamically.

  • Sessions.