mindfaQ's Recent Forum Activity

  • float()

  • if drawnline.count = nodes.count-1:

    pick nodes, nodes.number = 0 (or whatever you first one is): set next node x to nodes.x etc

    as subevent of the event where you set nextnode (which you should set to on touch start instead of is touching to save performance (even if it is very minor))

    all nodes connected:

    if drawnline.count = nodes.count-1: do stuff to show that game is completed

    (note: won't work if the line is supposed to skip inbetween)

  • xor is this one, no?:

    A true AND B true: do nothing

    Else A true: do something

    Else B true: do the same something

  • rexrainbow : would it possible to detect the the data type of each string automatically (with a tick box or something like that)? I need to convert the strings that are numbers to integers or floats manually inside of Construct 2 to make comparisons with other numbers (via system compare) work.

  • OlivierC: that's what I was suggesting, just using .csv instead of .xml because they are easier to export from spreadsheets if I am not mistaken

    ragnarok: example: s000.tinyupload.com/index.php

    image:

    <img src="http://i.imgur.com/JjgTSRg.png" border="0" />

  • Simple maze game: maze game

  • Took my shot at the randomized Prim's algorithm when the site was down: maze game

    Now I saw Yann's solution, so there is no need to show my approach (which is pretty much the same expect it uses 1d arrays instead of the data structure + I loop until generation is complete).

  • I don't know. Do you wait for the Ajax request to be completed before you enter the data into the CSV-plugin?

  • You need this: scirra.com/forum/plugin-csv-csv2array_topic46096.html

    there are example files as well. Use Ajax.lastdata in the field where you put the string.

  • probably animation speed not set to 0

    "The problem with that is, the array changes dynamically. I am basically making a friends list inside Construct 2. So lets say I have 100 friends on my list, which is stored in a database, and I only created 50 frames in Avatar, then it would break that system."

    I would only load the images on usage. You can store the images as data URI (string) in an array (I guess) and then just load it when you display it. This way you only will need as many frames as the number of avatars you display simultaneously.

  • As plinkie said, if you load a sprite image from URL, it will be loaded into the current frame of the object and all instances of the object that use the same frame will share this picture.

    So: use different frames for each picture. (create blank ones in the image editor, then change to a new frame after you created the avatar object depending on your loopindex)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was asking which number then panel is showing when you are at your last pieces and which numbers the pieces carry...

mindfaQ's avatar

mindfaQ

Member since 12 Oct, 2013

None one is following mindfaQ 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