Nitro187's Recent Forum Activity

  • I have an angle that's coming in from an external field backwards... here's what I mean:

    Instead of going upwards from 1 toward 360, it goes the other way, back down to one. What can I use as an expression to get the reverse? It's 3 in the morning, and my mind is escaping me.

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a way to do this in Construct2? If not, here's what I have so far in my plugin:

    Math.degrees = function(rad)

    {

    return rad*(180/Math.PI);

    }

    Is this the best way? It works... but I'd rather use a built in method.

  • Yes sir. Which is why i'm confused.

  • I have a system message that pops up on a users device, that uses a separate JS file, with a function built into one of the arguments.... like this; Dialog.displaySystemError(onUIDialogClose, error);

    Once the user clicks the 'Close' button... it then calls my function "function onUIDialogClose(evt)" from within the same runtime.js file in my plugin. This function gets called just fine... however... when I try to get it to trigger an event inside this function like this:

    self.runtime.trigger(cr.plugins_.MyPlugin_Private.prototype.cnds.OnNetworkError, self);

    I get an error:

    "TypeError: 'undefined' is not an object (evaluating 'self.runtime.trigger')"

    I have val self = this;

    Should I be doing more? I'm a bit lost.

    Anyone know what I'm doing wrong? Thanks!

  • I did not try that... but if it happens again, I'll see if that helps. Thanks.

  • Problem Description

    Strange GUI display bug, which makes using C2 a chore.... NOTE: I have it working... but figured you should be aware of this

    Observed Result

    Whether it's a new project, or an old project... it does the same thing. I've tried updating to the latest drivers, as well as going back to older ones... even tried a beta driver... same result. It seems to be unique to C2, so it's definitely not my machine. Yes, I understand that not EVERYONE is having this issue... but I am... and I may not be the only one. As you can see in the following pictures, it's displaying funny:

    http://imgur.com/a/jVtH3

    In fact... I cannot click on 'back' or 'next'.... I must 'tab' over to them, and hit the space bar in order to interact with it.... nothing ever displays right... but this ONLY happens for some reason, in the event, or action editing dialogs... no where else in C2. This may, or may not be something that's completely unique to me.... It doesn't matter what version of C2 I go back to (tried all the way back to 158.... same result).... this has only started to happen within the last month... and I've just recently became sick and tired of it.

    Expected Result

    It should display as normal.

    Operating System and Service Pack

    Windows 7 SP1 64Bit

    Construct 2 Version ID

    176

    In retrospect... I should have copied the registry config I had for C2... but after deleting it, and having C2 re-create it... it works great. Just a note to anyone experiencing the same issue. Feel free to move this to the 'fixed' sub-forum if you feel this is something un-fixable based on the info I gave.

  • Is there a way to reset this number, rather than delete and re-spawn it?

  • I'm making an elevator... but not sure how to go about it. I just want a regular floor, to be used as an elevator. Problem: When I use the condition : "Platform is on floor" I can't seem to figure out how to know WHICH floor. (In this case, a sprite called Elevator). I could make a collision object stem upwards, so that it knows if the player is standing on it... and then pin it to my elevator floor, which is a solid... but there must be an easier way?

    Thanks.

  • Another reminder for global booleans. Thanks!

  • Problem Description

    Graphics disappear on certain layers at times. Impossible to work with.

    Attach a Capx

    [attachment=0:o2tfu4jp][/attachment:o2tfu4jp]

    Description of Capx

    Just a regular project, with a simple picture and a sprite font.

    Steps to Reproduce Bug

    • Open project
    • Drag red sprite

    Observed Result

    Sprite disappears

    Expected Result

    Sprite should not disappear

    Affected Browsers

      N/A

    Operating System and Service Pack

    Windows 7 pro 64bit

    Construct 2 Version ID

    171

  • Hey Lunatrap.... It has been crashing for me for months as well. I also have a large project, but larger than yours currently is. Mine is as follows: Approx download: 54mb, Memory use: 350mb, Events: 5392

    It has gotten so bad, that I have the auto-backup set to every 5 minutes. I find most of the time, it crashes upon pressing play... but sometimes it happens when I go to press save. It ALWAYS crashes when I forget to save, just before pressing play... only to find out, the auto-backup happened 4 minutes ago, thus making the last 4 minutes of work useless... often, the auto-backup decides it doesn't want to work at all... as I have found my backup hasn't happened for 14 or so minutes, when set to 5. So I'm lost. I'm trying to learn to deal with the constant crashes, but it's tiring to say the least.

  • I'm still amazed we don't have a function like "Randomize array" or "Sort Array by descending" so it's actually useful for scoreboards.

    *In addition, I think it would be useful to be able to choose which column of the array you'd like to sort by.

    Sort by column would be amazing! Then you could just reduce the size of the array, making a top 10 really easy.

    I ended up coming up with my own solution, which works... but damn.. it's pretty complicating... still hoping for another solution which works better... but I like this idea.

Nitro187's avatar

Nitro187

Member since 26 Jan, 2014

None one is following Nitro187 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies