OrlanRod's Recent Forum Activity

  • Online Commune alpha v0.13 is out today. In this version, you can now save your home maps. Just open the editor and on the bottom left there is a usb drive(save) and folder (load) icons.

    Check it out in action.

  • Online Commune alpha 0.11 is out. Walls are now implemented, and new tools added to edit mode for easier user experience in floor tile adding, wall adding, and wall erasing.

    Register and play at orangerevolt.com in the games section.

  • Back with alpha 0.10.5. I released a 0.10 yesterday and forgot to update here, but it allows you to color your tiles. In this .5 i fixed an issue when you error on creating or joining a home.

  • Hey everyone, i'm here to post about my online social game, Online Commune.

    Online commune is about establishing a commune with your friends or strangers. Perform roles, be creative, and play games as a team. Interaction earns social currency, that will unlock new things to do and play!

    Currently it's very early in alpha. You can create and join rooms to chat, and the recent addition of home editing. Register and play on the games section of my website orangerevolt.com It works in any device with a web browser. I'll be on home room "Federation" if you want to stop by and say hi. 8)

  • Safari IOS phone cannot be host. Here was my test experiment.

    First, i tried computer to computer browser connection. That worked.

    Then i tried with the computer as host, and Safari IOS phone as client. Did not work.

    Then i tried Safari IOS phone as host, with computer being client. Did not work.

    Then i tried Android web phone as host, and computer and IOS phone as client. That worked.

    Then i tried Safari IOS phone as host, and Safari IOS phone as client. Did not work.

  • You do not have permission to view this post

  • Not a bug in the comparison.

    val = 0.40000000000000013, or bigger then 0.4, so the comparison is just true.

    It is a accuracy trade off that goes with software and computers.

    https://www.google.be/search?q=floating ... arithmetic

    It is for you to make 'software' that is using algorithms that goes along with this.

    Ah okay, thanks for the explanation. 8)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Problem Description

    A greater than var condition, with a value less than 1 in the decimal range, is still triggering once when the condition becomes false.

    Attach a Capx

    https://www.dropbox.com/s/ppb57vmnk7c5q ... .capx?dl=0

    Description of Capx

    Two values shown with two keyboard conditions. One controls val with less than 1 and another controls varTwo with greater than 1.

    Steps to Reproduce Bug

    • Press S until the text on the right becomes true as shown on the header above it.
    • Press A until the value on the left becomes less than the value shown above it.

    Observed Result

    The value on the left triggers one more time past the stated condition shown above.

    Expected Result

    The value on the left stops at the condition shown above.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 10, 64bit

    Construct 2 Version ID

    r243

  • Nevermind guys, i figured it out. Thanks.

  • After isolating the problem, i found that on the php side, $_GET['$fname'] is not grabbing the information from the json request action. I tested the php by placing the username directly into the variable, and that does work, so i do know that it is grabbing the database. This is how the json looks

    "

    http://domain.com/log.php?fname='"&myUser&"'&fpass='"&myPass&"'"

    "

    This is how the php looks

    "

    <?php

    header('Access-Control-Allow-Origin: *');

    error_reporting(0);

    require 'connection.php';

    $username = $_GET[$fname];

    $password = $_GET[$fpass];

    $safeuser = $db->real_escape_string($username);

    if($result = $db->query("SELECT * FROM `members` WHERE username='".$username."'")){

    if ($count = $result->num_rows){

    while($row = $result->fetch_assoc()){

    echo $row['id'];

    }

    }

    }

    ?>

    "

  • It probably has to do with using the "any" type. The sdk has number type params too that probably works. With "any" I'd assume you'd have to convert it to a number or something.

    Actually i tried both, and with no luck. I even encapsulated it with int conversion, and it does nothing. I'll keep messing around, and see if i come up with something.

  • It seems that i cant pass vars or object expressions values into an action with x y parameters. I confirmed it by adding my own action into the edittime/runtime file. It only accepts number values only exactly. Is this a problem with the canvas plugin or Construct 2 itself? This is the code i placed, to add the clearRect function.

    Edittime

    AddAnyTypeParam("x", "the x position on canvas", "0");

    AddAnyTypeParam("y", "the y position on canvas", "0");

    AddAnyTypeParam("width", "the width from x", "0");

    AddAnyTypeParam("height", "the height from y", "0");

    AddAction(31, 0, "Erase canvas", "Canvas", "Erase at mouse x/y on canvas", "Erase at mouse x/y on canvas", "eraseWithColor");

    Runtime

    acts.eraseWithColor = function (x, y, width, height)

    {

    var ctx=this.ctx;

    ctx.globalCompositeOperation = 'copy';

    ctx.fillStyle = "rgba(0,0,0,0)";

    ctx.clearRect(x,y,width,height);

    this.runtime.redraw = true;

    this.update_tex = true;

    }

OrlanRod's avatar

OrlanRod

Member since 3 Jul, 2015

None one is following OrlanRod yet!

Connect with OrlanRod