ArcadEd's Recent Forum Activity

  • OK, well I got the php file to display correctly now

    http://iretrogames.com/cgi-bin/getscores.php

    But now it's acting like the Ajax process is not completing because the text is not changing to blank, it's not changing at all.

    Sorry, I am kind of using this thread as a talk out loud. Sometimes it helps me find the issue, plus with help from others. I just know lots of people have been asking for a tutorial to do high scores and I would to put one together, if I can do it myself first HA.

  • I'm running through the tutorial again, just in case I missed something. Thanks.

  • Which I guess brings me to another issue. Now I'm trying to get all the results from the query_array to show up in one text block.

    // Start looping rows in mysql database.

    while($rows=mysql_fetch_array($result)){

    echo $rows['name'] . "|" . $rows['score'] . "|";

    That seems to make a line break with each passing of the while statement

  • I think I might have it figured out. Even though the text on the website looks to be in one long string, the source code fro the page shows line breaks :).

  • What I am doing is very simple, I have a PHP file to get high score from my database.

    As you can see the PHP file works fine.

    http://iretrogames.com/cgi-bin/getscores.php

    My project:

    <img src="http://www.iretrogames.com/gc/1.png" border="0">

    When I run it and click the button, txt3Name value is blank.

    However, if I just create a file with some text, save it as php and use the same above process, when I click the button txt3Name shows the text.

    Obviously the getscores.php file is working correctly as you can see from going to the url, so I don't konw why the AJAX.LastData is empty.

    Would appreciate any help. I'm planning on doing a video tutorial on making an online high score table, but I just can't get past this one little thing :).

    Thanks.

  • Made a few changes:

    Added start layout

    Added Game Over

    Added Scores appearing above enemies when killed

    Added some more collision detection

    Removed the random holes, now holes are just created by the enemy with missiles.

    Added explosion to horizontal bullet and enemy bullets that hit the ground.

    Added sound effects

    Next I am going to work on the online high score table layout and then start tweaking the balance/flow of the game.

    Finally, work on some newer graphics and explosion animations.

  • Got it working, thanks so much for the help.

  • Ahhhh, thank you so much :).

  • OK, I can't get anything to work. I've tried a ton of things now.

    Here is my capx, sorry it's kind of big, I have two music files in the game as well.

    iretrogames.com/gc/GroundControl.capx

  • If those suggestions don't work, I will upload it. Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'll give those suggestions a try.

    Thank you.

  • Hey All,

    For some reason I can't find any good information on my issue, but it seems so basic I am sure I am doing something wrong.

    I have 2 layouts and 2 event sheets.

    Layout - Start

    Event Sheet 2

    Layout - Main

    Event Sheet 1

    Start is my start page. Has a button to "Click to Play". I am making that button go to Layout Main, which is my game. However, my game is based a lot on time. For example the first group of enemies come in around 10 seconds in. However, when I first load up the project in my browser, the events from my main game have already started, even though that layout isn't on screen yet. So if you wait for a while before pressing "click to play", you start and there are enemies on the screen already.

    My question. Is there a way to stop an event sheet from starting until the layout is actually active?

    I hope I am explaining this well.

    Thanks

ArcadEd's avatar

ArcadEd

Early Adopter

Member since 3 Jul, 2012

Twitter
ArcadEd has 7 followers

Connect with ArcadEd

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x10
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies