briggybros's Forum Posts

  • This is what you've got right?

    which is equivalent to this:

    But what I think you're wanting is this:

    of course URL encoding the message if there is any chance there is a special character in there at all. URLEncode is a system expression. So you'll probably finish with this:

    But then you need to make sure you decode within the php script so the variable assignment lines will look more like:

    if (isset($_GET['user'])) {$user = urldecode($_GET['user']);} else {$user = urldecode($_POST["name"]);}
    [/code:u6ebrxp9]
  • Kniggles The page with the button on it is using the http POST protocol to pass the form data with variable name 'name' to the php script. The second code segment is passing the variable 'name' to the php script via the http GET protocol. These are different so they are accessed differently by php. You can either change the request to a post request in Construct or change the php script to recognize the GET variable name as well as the post variable.

  • Try using adjust HSL, I always find that to be easier to work with.

  • This is easily possible, although you may have to break away from the tutorials slightly. I've not brushed up on the manual in a while, but I believe that the way it works is to send the sprites position. However, all that is really required is to send the sprites y coordinate, then each player can be the left side, where the data incoming for the opponents y coordinate is just the coordinate for the right side. As for the ball in pong, the person who is not the host will have to mirror the position of the ball in a vertical line directly through the center.

  • That's not the kind of certificate they are asking for. A perk of the android operating system is that it requires all apks distributed to be signed (unless you disable it in your system settings). This means that the system can verify the author of the application. All you need to do is generate a certificate while keeping your private key secure and sign your app with it.

    For more information see: http://developer.android.com/tools/publ ... gning.html

  • I'm no expert at php, so I could be horribly wrong, but I think that this

    if (isset($_GET['user'])) {$user = $_GET['user'];} else {$user = $_POST["name"];}
    if (isset($_GET['count'])) {$count = $_GET['count'];} else {$count = 1;}
    [/code:3spmx9rm]
    
    is where your problem lies for two reasons.
    
    1. Your AJAX request is passing the variable name as a http get variable. However, you are testing whether the get variable called user is set, which it never is. Therefore, it's entering the else block which is setting the user variable to the post variable called name; which it seems would also not be present as you are passing the variable as a get. 
    
    2. This might just be a lacking of understanding of how scoping in php works, but the $user and $count variables are being created in conditional blocks. When these blocks are exited are these variables still in scope?
  • Not without more information, are you trying to load player data from your server? What does your php file look like (omitting sensitive information)?

  • All the support for Steam with construct is provided here:

    This is usually rather iffy with the build of NWjs you are using.

    From the look of your profile though (you don't have the badge), you can't export using NWjs, so you'll need to purchase a license first.

  • R0J0hound is this something that could be fixed with a polyfill? I've looked around, but couldn't find one for it. I assume one could be written, at least for NWjs.

    Addition: Also not working on chrome canary or Mozilla nightly.

    Addition 2: Bought a new mouse with fully programmable keys, this can get around the problem in one sense by binding mouse 4 to say '4' on the keyboard. However, when binding 'mouse 4' to 'mouse 4', it prevents the button from becoming the browser's back button, but it still does not register. (chrome canary)

  • yep, but you can choose an OS which takes little hard disk space. For example, debian uses less than 1GB for the base installation.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your computer should be able to simulate a slower computer, I've always used virtual box for this.

    https://www.virtualbox.org/

  • And just to reiterate what's already been said, only 0, 1 and 2 registered, tested on Chrome, Firefox, IE, Edge, Opera and NWjs

  • From what I can see, Construct only supports the three main buttons of mice, I am informed that it is possible in JavaScript to get input on all mouse buttons, here: https://www.w3.org/TR/DOM-Level-3-Event ... ouseevents. I was thinking of implmenting this myself with the SDK, but I don't see how that would work without changing the original mouse plugin. So can I request here that the ability to have button codes for the mouse a feature of Construct?

  • Wolod I was making it for the next version, which I lost when I updated my pc. Sorry

  • Sigma83

    oosyrag is right, but fails to mention that these the variables should not be instance variables of the individual objects, but instance variables of the family.