darkfox1990's Recent Forum Activity

  • You are right! Thank you! I figured out what happened now. I have my TV connected to my computer also, but it was disabled in the display settings. Then I wanted to watch something on the TV so I duplicated the display on both the monitor and TV, which forced the TV's settings on Windows, cause I remember I had to change the resolution back when I turned off the TV. It must've also forced the TV's 30 hertz setting on Windows too. It's still kind of weird that when i previewed the game on firefox and chrome, both the "fps" variable and the debugger showed that the fps is 60. I just disabled the TV in the Windows resolution control panel. I didn't change the settings in the NVIDIA control panel, so maybe nw.js was just following the TV's refresh rate, but the browsers weren't. Anyway, thanks a lot.

  • I've uninstalled then reinstalled the updated version 212.2. Still the same.

    I feel like there's some setting somewhere somehow that's changed. It's been a week or two since I last worked on the game, and I think it was working fine then.

  • I've tried other games and templates and the problem persists in those too ( shoulda tried from the beginning I know..). So the problem is definitely in nw.js or construct 2.

  • nw.js: 0-12-0

    construct 2: 204.2

    What would I need to post from the nw.js export to show you an example?

    Also, again, I'm 90% sure this is a new problem. I tried reinstalling the nw.js version that i have, but that did nothing. I'm gonna try updating it.

    Edit: I think I had the latest version posted on scirra, so reinstalling it again did nothing. Also, it's not lag or anything. It just seems like it's capped at 30.

  • Why is the game running at 30 fps when i use nw.js? It doesn't seem to be lagging or anything. It just seems to be capped at 30 fps. It's a simple game so far, so there's no reason for it to be lagging or anything. When i preview in firefox or chrome, the game runs at 60 fps perfectly. Also I think it's a new problem, since I only noticed it because the scrolling has become much less smooth. I remember when I used to preview in nw.js all the time, the scrolling would be smooth.

  • Thanks for the reply. Can you explain the first paragraph more?

    I have fixed the problem by separating the two "or" statements and not allowing the second statement to fire if the first one did. What do you think is going on? I will revert it and try what you said though by putting the "Tile() = 21" test at the top. I just gotta go to sleep now.

    You're right about the testing while x,y are changing though. I tried to circumvent that with the "tuned" variable, but your way is the better more obvious way to do it.

  • I'm using tilemap to create a long arrow that follows the mouse across the tiles it goes through. This doesn't matter though cause the problem isn't related to that. The problem is the event in the red box does not trigger even though the action in the green box does print "21" which is the tile im comparing to in the red box.

    What's also weird is that this only happens when I enable this "or" statement in the red box in the picture below:

    The red box statement is just comparing the tile where the mouse is to "21". When it's disabled the program runs fine. Why is this problem happening?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh, thank you. I'm dumb.

  • I'd like to make a game and be able to post it on steam if possible. I'm pretty sure steam needs you to have an exe directly to your game, rather than opens a browser for your game. Angvik was made using Construct 2. It doesn't need a browser and it's available on steam. Anyone know how it can be done?

darkfox1990's avatar

darkfox1990

Member since 6 Jun, 2015

None one is following darkfox1990 yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies