username5555's Forum Posts

  • 10 posts
  • Yup, i am also getting an error with the arcade. Hopefully this is temporarily.

    here is a screenshot of it

    <img src="http://img690.imageshack.us/img690/1402/constructerror.png" border="0" />

  • ramones Sulli, thanks for reply. I'll give it a try and i have to update my Construct first before i can open the capx u gave me.

  • Hi i would like to create a sliding time bar that goes up to down as the time decreases.

    So far this is what i have done. However i am unable to make it slide smoothly, instead its kinda jumpy from one point to another point.

    My Capx: dl.dropboxusercontent.com/u/37879986/timebar.capx

  • vee41 & ArcadEd thanks for the hint. But i have found the problem. Instead of Push back, i should put it at front.

    It seems this is what happen when i use "push back"

    Array ["","","","","element","element","element"]

    So when a randomNumber generates the number 0 - 4 it will returns 0 by default because there is nothing there.

    If i use "push front" this is what happen

    Array ["element, "element", "element", ....]

    Thanks for the hint though.

  • ArcadEd

    Thanks for the hint, however it still does not solve the problem

    <img src="http://img526.imageshack.us/img526/3495/randomconstruct3.png" border="0" />

    <img src="http://img405.imageshack.us/img405/1539/randomconstruct4.png" border="0" />

    <img src="http://img706.imageshack.us/img706/2848/randomconstruct5.png" border="0" />

  • The array has 4 elements.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do i randomly pick a value from a given array.

    I have an array where "On Start of Layout" i "Push back" some value into the array.

    Later on in the game i would like to randomly select a value of this array.

    i have done something like below (this action is executed with the following condition)

    System countdown >= 1 (this is just a countdown timer).

    System Every 1.5 Seconds

    <img src="http://img402.imageshack.us/img402/7517/randomconstruct.png" border="0" />

    When i play the game it only displays the randomNumber.

    <img src="http://img7.imageshack.us/img7/3772/randomconstruct2.png" border="0" />

  • Is there a more detailed tutorial? i.e. how should i format the JSON (if choose so)

  • Hi,

    I am very new with Construct 2 and kinda looking for a solution to load from external file.

    The format can be either

    CSV, JSON or XML.

    I basically want to map a bunch of words into array to be dynamically loaded in the game.

    So far i can do it using CSVToArray function to do this. The only thing is all the words must be predefined inside the game.

    I would like to load it from external file (or via JSON) so that the word list can be changed as needed.

    I read the documentation by using JSON thus later on using AsJSON expression but i don't know how to do this...

    Can anyone show me how to do this?

    Cheers,

  • Hi,

    Just dropping by to say hi. I stumbled upon this construct 2 website and decided to have a try of this SDK.

    Cheers

  • 10 posts