tnewhook's Recent Forum Activity

  • Thanks for the help. I didn't know local vars were reset every loop.

  • I'm trying to loop through all instances of an object. If I create the variable changeTextLoop as a global variable, it loops correctly. However, if I create it as a local variable under the testResetLoop group, it doesn't loop. Could someone tell me why this is? A sample capx is below.

    Change multiple text objects.capx

  • I created several TEXT objects programmatically, and set an ID instance variable. I then try to loop through the instances, to change to different text (based on the ID). I can't figure out how to loop through all the objects. For some reason, it changes the first instance, then stops. I'd appreciate any help.

    This is how I create the objects <img src="https://dl.dropbox.com/u/12722403/Construct2/createQuestionInstances.png" border="0" />, and change the objects <img src="https://dl.dropbox.com/u/12722403/Construct2/reset%20question%20instances.png" border="0" />

  • Thanks for your help! I appreciate it!

  • I'm trying to recreate a typical multiple choice test - the idea is:

    out of a larger set of unique values, I have to pick 4, with one of them being a particular value, others being other random variables in the set. The 4 also have to be unique (can't pick the same option twice in any given event)

    This is working for the most part, but it's giving me the same values for the 4 options (except for the particular value, which may or may not be the same as the other options)

    If someone could take a look at my capx, I'd appreciate it.

  • I think it had to do with a misconfigured JSON file. I'm going to keep tinkering. Thanks for the help.

  • There are no errors in the console. The browser complains that the script has stopped responding. I've reproduced the error in a capx - dl.dropbox.com/u/12722403/Construct2/JSONbugTest.capx. The only external plugin that I'm using is the comboBox by septeven (http://www.scirra.com/forum/topic46969.html)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't know if this should go in the bug report section, but this is my situation:

    I need to do two external AJASX calls. The first one is hardcoded(www.site.com/ajaxForm.php?varA=firstList) That result fills a drop-down box. When the user clicks on a menu item, it's supposed to send another AJAX call (www.site.com/ajaxForm.php?varA=secondList&varB=selectedItemFromFirstStep)In Firebug, I can see that the second URL is being called correctly (I can copy the address and load it in another window), but the entire browser window freezes. Reloading doesn't work. I can only close that window, and open another one.

    When I use a project JSON file, the app works correctly, but I need to get the info from a database.

    I hope that's enough info. Thanks for your help

  • WOW...you did it! Great job! Thanks so much

  • I figured out that I have the same problem with the mouse plugin. Thanks for all the work.

  • I've been reading through the forum, and you've done a lot of work. I was just wondering if you had anyone that has had a problem with Chrome 22. It works great with Firefox, so I'm not sure what the problem is. It loads the first item, and shows it in the box, but clicking the down button is ignored, and I can only select the first item. I'll try to post a capx in a bit.

  • Do some research on the AJAX object

tnewhook's avatar

tnewhook

Member since 30 Mar, 2012

None one is following tnewhook yet!

Connect with tnewhook

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies