Paradox's Recent Forum Activity

  • There is Clay.io that has a Construct2 plugin that does most everything for you. They manage the ads and take a small cut. Worth it on how easy they've made it.

    I only just added it to Pucked, so it's only made me 2 cents with about 50 views.

    http://pucked.clay.io

    The loading ad I turned on in the Clay website. The ad in the play window is added inside Construct2 by selecting the size, and placing it like a sprite.

    (you can also control refresh time, but I didn't try that yet.)

  • I never have figured out how it chooses the tab order, it seems random, and even changes every so often. I just know it's not alphabetical.

    You can drag them around to change the order, and even drag them down to split the screen, showing more than one at a time.

  • Actually the sub event will only pick from the list of that instance already picked. So if one is picked, it won't see the other.

    You can use families if you aren't using the free version.

    You pick one by referencing the family it's in, and the other directly. So you have two separate picking lists.

  • It says it needs the Boundary plugin.

    I was going to copy the "Touch zoom" demo into an event sheet, and include it in your event sheet, and see if that worked.

  • Here's mine you can compare, (not real names) but I have a feeling it may be the database.

    This PHP deletes them after they are 10 days old, but only when a new score is added. (I need to change that eventually)

    <?php
    
    $db = "puckdata";//Your database name
    $dbu = "serv_pucked";//Your database username
    $dbp = "fakename";//Your database users' password
    $host = "localhost";//MySQL server - usually localhost
    
    $dblink = mysql_connect($host,$dbu,$dbp);
    $seldb = mysql_select_db($db);
    
    if(isset($_GET['name']) && isset($_GET['score'])){
    
         //Lightly sanitize the GET's to prevent SQL injections and possible XSS attacks
         $name = strip_tags(mysql_real_escape_string($_GET['name']));
         $score = strip_tags(mysql_real_escape_string($_GET['score']));
           $xtime = date(U);
           $time = time() - (60 * 60 * 24 * 7);
         $sql = mysql_query("INSERT INTO `$db`.`scores` (`id`,`name`,`score`,`xdate`) VALUES ('','$name','$score',now());");
         
       
      
         if($sql){
         
              //The query returned true - now do whatever you like here.
              echo 'Your score was saved. Congrats!';
              
         }else{
         
              //The query returned false - you might want to put some sort of error reporting here. Even logging the error to a text file is fine.
              echo 'There was a problem saving your score. Please try again later.';
              
         }
           echo $time;
           $qry_del = mysql_query("DELETE FROM `$db`.`scores` WHERE xdate < DATE_SUB(NOW(), INTERVAL 10 DAY)");
           if($qry_del){
         
              //The query returned true - now do whatever you like here.
              echo 'Old Scores Deleted';
              
         }else{
         
              //The query returned false - you might want to put some sort of error reporting here. Even logging the error to a text file is fine.
              echo 'There was a problem deleting the old scores.';
              
         }    
    }else{
         echo 'Your name or score wasnt passed in the request. Make sure you add ?name=NAME_HERE&score=1337 to the tags.';
    }
    
    mysql_close($dblink);//Close off the MySQL connection to save resources.
    ?>
  • Did you try entering the URL manually, and see which response the PHP shows?

    I've used the high score save myself, so I know the | character works.

    I just manually entered my get script url for my Pucked game and it sent:

    Paradox|16496|Glitz|13431|Joseph|7240|Joseph|6978|ABR|5681|A|5667|ABRA|5607|b|5254|ABR|5029|A|4708|

    edit:

    Just had a thought, is your database expecting a number for that spot, or a string? If it's formatted for a number and your sending strings, that could be the problem.

  • Wouldn't it end up looking exactly the same as what we have now? I mean for convenience the objects event sheet would probably be in the project list with the other event sheets. And included in the primary event sheet.

    Just like any included event sheet.

    So the only thing this request actually does is add a hot link to an object that opens the event sheet?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The widths are set in the events. If you don't use "Give your fonts mono" by BlackHornet, then you have to do it yourself. My tutorial attempts to explain it.

  • I still remember the days when they added tables to HTML and half the people argued very heatedly, "browsers are hypertext viewers, it's not supposed to look like desktop publishing!"

    Now we are working to get them controlling frame rate to the exact microsecond. I find this so funny.

  • Thanks, I thought it would be fun for people to share, but I think too many people are scared to even look at it.

  • I seem to be having a problem like that in the Nexus 7 Chrome browser, without using Cocoon.

    The title music, and map screen music, are playing on the gameplay screen where it repeatedly has stop instructions. But instead plays multiple overlapping music, until the browser finally crashes.

    Anyone have a device with Chrome browser that can tell me if they get the same thing? http://visualparadox.com/games/cbb/

    Works fine everywhere else, and my other games work fine on the Nexus.

  • When you go to play the sound add a condition that checks the sound is not already playing. That way you know for sure that's not it.

    I had that happen once where it sounded fine on PC, but on a mobile, you could here really maxed out audio where the sounds overlapped.

Paradox's avatar

Paradox

Member since 29 May, 2012

Twitter
Paradox has 16 followers

Connect with Paradox

Trophy Case

  • 12-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • 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

19/44
How to earn trophies