Paradox's Forum Posts

  • I never used the line of site tutorial, (yet) so someone who has used it may sort out some of the problems with that.

    But just a quick look changing event 3 to be "For Each" enemy (under system) seemed to fix the lines connecting to the right ememy...

    Edit: Oh, just noticed I could shoot, shot one and saw it left the line of site sprite.

    Add an event so if a line isn't pinned destroy it. Like event 5 in the image.

    <img src="https://dl.dropbox.com/u/85412219/forumposts/ninja.png" border="0" />

    Ok, looking a little more, I think I see one conflict, event 12, (13 if you aready added the destroy line event above.)

    12. IF player is overlapping a Line, AND any of those lines are not on a wall.

    It is possible for the player to be overlapping more than one line, and only one has to be clear of the wall.

  • Ashley is already planning to look into this one:

    from the sept 19 post:

    http://www.scirra.com/forum/topic57102.html

  • If all of them are picked, (you didn't filter any out with events,) it should still work on all of them. "For each" is assumed.

    I would be 100% sure of that if I hadn't just read Justifun's suggestion. <img src="smileys/smiley4.gif" border="0" align="middle" />

    Edit: I see, you meant you do have some filtered? It works the same way as a system version would, they both act on what is picked. (all top events start with everything picked, and you filter down to the ones you want to work on. However you can use "Pick All" to reset the picking list.)

  • Hmm, it's not right at the start of your game is it? Clay takes a second or two to load, so you have to put the early commands in the event: "Clay.io Ready" or it will cause a Java error leaving the game hung on a black screen before the progress bar even appears.

    Most of it's commands require a small wait, and have "on ready" events for those too. but Setting achievements usually is a set and forget. It will pop up a little window on its own after contacting the server to see if that one has already been achieved.   

    It could be another Java error when you award the achievement, are you sure you have the API key set in the Clay Properties? (do other Clay features work?) Java errors usually show in preview mode, not not on exported projects.

    Edit: Oh, and "Clay.io Ready" only fires once, so if you want to check again later, have it set a globle variable. Then you could add a check of the global variable to the setting achievement event, so it won't fire if it's not ready.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's because the variable comparison for a sprites instance variable is under the sprite, not the system.

    Click on the sprite, and look for the "Instance Variable" heading. you will find the comparison there.

  • I would put an instance variable on the Raycast named "Owner" then when you spawn the Raycast at the Baddy location, set "Owner" to the UID of the baddy.

    Then on Raycast colliding with the ninja, "Pick by UID" on the baddys and put that owner variable in that picking. That way only the baddy that spawned the Raycast will exist to whatever you do in that event.

  • Hey here's some interesting stats, claiming WiiU is better than IE10 on PC...

    http://venturebeat.com/2012/11/01/wii-us-browser-is-better-at-html5-than-internet-explorer-10-on-pc/

  • austin - On the: ..you'll have to include a privacy policy in the settings charm. ...

    Where do you put that code? (in the minimized output of Construct2?)

    Weishaupt - I think the only way is to log into the Clay.io website and log-out there. (I believe that's what I did when I was testing it.) Then you won't be logged-in in when you go into your game.

    Austin, is there something we are missing?

  • It seems less weird after you get used to it. Actually you can click in the color bar under the event too, it selects it all as well. (however it's not always present.)

    I find I disable parts of an event a lot more than the whole thing, it gets used A LOT in debugging. Disable bits here and there seeing what makes a difference.

  • You just disabled the one condition, that's if you have more than one and still want the other to work.

    Right click the left edge where the little green trigger arrow is, rather than on the condition, and select disable from that spot, and it will disable the whole event.

    It also works that way for other things like copying, click the condition and you select just the one, select the left edge, and you select the whole event.

  • It works for mine, I tried Chrome IE9 and Firefox. (in preview)

    I have a beta online for testing here:

    http://visualparadox.com/games/pucked/

    does f11 work for you with it?

    it's in letterbox scale mode, webGL on, hide address bar=no

    do you have functions to scale the screen, or do you let Constuct2's scale do it? I had to remove all my manual scaling, it seemed to conflict. (the background wouldn't always scale until I took my scaling out.)

    Ashley will probably need a Capx example, can you make a new almost empty Capx that also won't go full screen?

  • I did that back when I had around 200 and dropped to 150. so I didn't do that anymore. I assumed it was leaving out older forum posts.

  • Took awhile to figure out what was happening. ugh.

    It turned out when I would edit a variable, it would leave out the variable name, (without my noticing) causing a crash to desktop at the next preview or save. It only happens when a constant global variable is present in the project.

    <img src="https://dl.dropbox.com/u/85412219/forumposts/variablecrash.png" border="0">

    https://dl.dropbox.com/u/85412219/forumposts/variablecrash.capx

    edit event 2 and see the variable name is blank like the image. If you catch it when it happens, or return to fix it when you see the name in the event has changed to {0} then you will avoid the crash.

    I had something similar in the past as well, but I could only track down that it was a problem with a static variable, I just avoided static variables ever since. This is probably what happened.

    R108.2 64 bit win7

    [edit: made the capx link clickable]

  • In a "Clay.io plug-in" post in the Plug-in forum, page 22 in the replies, Austin answered how to submit to the Win8 store using that plugin:

    ...the API should work if you export as Windows 8 and include socket.io.js, clay.js and clay.css. Per Windows 8's approval process, since Clay.io asks for user info, you'll have to include a privacy policy in the settings charm. You can add that with something like:

    WinJS.Application.onsettings = function (e) {

        e.detail.applicationcommands = {

            "about": {

                title: "Privacy", href:"http://clay.io/privacy"

            }

        }

        WinJS.UI.SettingsFlyout.populateSettings(e);

    };

    I'm still not sure where you put that code, (if minified?) but it sounds like another lead. He however didn't have an example of an actual Construct2 game that has made it yet.

  • The Unique Identifier for the leaderboard has the same problem the Achievements had. The field only accepts numbers.