tnewhook's Forum Posts

  • I've tried this on Ubuntu Firefox, Ubuntu Chrome, Windows Firefox, and Windows Chrome, and so far, only Windows Firefox doesn't have this problem:

    When I log into the forum, go to a forum topic, and try to submit a reply, it says that I'm not logged in. The header says I'm logged in, and it's right after I load the page, so it shouldn't have timed out yet.

    I'm sure I'm not the only person using a browswer other than Win/FF, so what gives?

  • The concept is kind of cool - and the graphics are nice

    a few things I found (some are personal opinion):

    1) The platforms aren't aligned with the objects themselves - e.g. the platform for the bench is wider than the actual bench - which means I'm floating in mid air once I get to the right side of the platform.

    2) The origin for the bird is at the tail rather than the legs, which makes the left-right motion change look strange.

    3) I can't walk in front of the two black boxes.

    4) The movement of the fox is too limited

    5) There should be some sort of animation on the fox when he catches/eats the bird

  • You'll need to give a better explanation of what you want! That post tells me nothing! What php are you talking about? Take a look at AJAX object

  • OK...I've gotten it to work, but I can't figure out WHY. If I put a browser ALERT after the AJAX JSON load, all is well. If I take it out, the quiz skips to the end, and the grading button is shown. The capx file is at http://dl.dropbox.com/u/12722403/flashCard.0.5.JSON.capx

  • The PHP file is part of a much bigger project - it pulls data from a database. The real URL is 2 folders deep.

    This problem happens when I've uploaded the project to a folder on localhost:82. I've also tried it without the leading localhost (only using /folder1/folder2/phpfile.php) I'll play around with project files, but I'd rather use files in my existing folder structure.

  • From what I can tell, if I load an AJAX object, I can then use that data as a string, from AJAX.LastData. If it's in the correct JSON format, I can then load that string as a table array?

    Is this correct?

    I'm running a local server on localhost:82 (LAMP stack)

    This is what I have now:

    on start of layout -> load localhost:82/phpfile.php with tag "sometag"

    on "sometag" completed -> load array vocab from ajax.LastData

                          -> set variable numberOfColumns from vocab.width

    Here is the format of my JSON file - It does pass as valid JSON:

    {"c2array":true,"size":[7,4,1],"data":[[["I"],["w?"],["?"]],[["you"],["n�"],["?"]],[["him"],["t?"],["?"]],[["her"],["t?"],["?"]],[["it"],["t?"],["?"]],[["they"],["t?men"],["??"]]]}

    Here is the .capx: http://dl.dropbox.com/u/12722403/flashCard.0.4.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the tip - it' pretty elegant. I was just wondering if Construct had a way to display a leading zero - ex 1:03, 1:02, 1:01,....

  • I figured out the problem - I had the distance check in the wrong place <img src="smileys/smiley5.gif" border="0" align="middle" /> Thanks for the help

  • just export it to another folder, then use FTP to upload it to your site. Probably the simplest way to include it in the site is to put the index.html file in an iframe.

  • how did you break it?

  • From what I can understand, for the bullet movement, setting speed to 0 or disabling the bullet movement should stop the bullet from moving. I don't know if using a text box or a sprite makes a difference, but I'm using a text box.

    This is what I have so far

    when        X = 1 -> set text box bullet speed to 40

                       -> set bullet angle of motion to 0 degrees

          when textbox X=300 -> set bullet disabled

                             -> set speed=0

    I've tried it with the x=300 text both as a subevent, and on the same level

    when I run it, the textbox moves ok, but it doesn't stop at all.

  • well, I figured out the answer to my own question:

    scirra.com/forum/copy-an-entire-array_topic53153.html

  • For some reason, I can't figure out exactly what format Construct is looking for in order to load an array from Ajax.LastData. I'd like to load a 2 dimensional array, setting the size of the array dynamically.

    1) is there a particular delimiter between cells and/or rows?

    2) is there a way to count the number of columns/rows based on Ajax.LastData?

    Thanks for the help

  • Pode - Again, thanks for this behavior. However, I'm having one problem with it - it doesn't seem to load the image when the game is initially loaded (sometimes) Sometimes it's fine. However, if you refresh the browser, the first image will load properly. If someone could look at it, I'd appreciate it!

    Thanks a ton

    Here's a link to the .capx

    dl.dropbox.com/u/12722403/3dcardModify.0.9.3.noJSON.capx

    and the images (you'll have to change the path to the images on the New Question event sheet, event 2)

    dl.dropbox.com/u/12722403/images.zip

  • Ashley - thanks for the tip! That was the solution :) This is a great program - keep up the great work, and God bless