ome6a1717's Forum Posts

  • docs.nwjs.io/en/latest/For%20Users/FAQ

    Ashley - they don’t do it by default. Is there any other 3rd party application involved other than NW that we can’t control?

    Edit - actually I’m calling fullscreen in the browser object so in theory it shouldn’t affect NW? Is it possibly a chome thing?

  • Ashley - sorry to bother; but do you have any insight on this? I'm not 100% sure it's a bug, and I'm surprised no one else has mentioned this. I had a coder friend look through all the source code of nw and he couldn't find anything that they were doing, so it seems like it might be construct.

  • Is there a javascript code that can stop Escape from canceling fullscreen when using nw? I cannot, for the life of me, figure it out.

  • Somewhat shameful bump...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try making a static string variable and do an if test of:

    “is running typewriter text” and text box does not equal variable”, play sound and set variable to text box text. Then you’re basically saying if the text box changes, play the sound.

  • dop2000

    I think that only affects my browser, but not anyone else’s once the game is released. It has to be JavaScript I believe.

    I’m previewing on chrome; maybe it won’t happen once it’s exported?

  • Everytime I set fullscreen and press escape, it cancels out of fullscreen, and everytime I press tab (a button in the game), it tabs to the node webkit address bar. Are there javascript commands I can use to stop those two keys from doing them, but allow them to still be used in the game? My online searches haven't been very helpful.

    Thank you!

  • The easiest way in construct is probably to create the menu by code, or go through 500 stages and add the layer to each one.

    Unfortunately, that’s as easy as it gets...

  • Nepeo - thank you for the explanation! Very helpful; I’ll have to read it a few times to understand but it’s exactly what I was looking for!

    Thank you, too, Semorah!

  • How would you control the speed, though?

  • I'm trying to figure out a formula to sine a variable from 0 to 500, then back to 0 repeatedly in a sine shape; preferably in a single line. Does anyone have a straight-forward way to do this?

  • The best advice I can give is to start small. Multiplayer is pretty complicated in this engine, and while not impossible, there are a lot of pitfalls and mistakes you should make in simple games before you shoot for a server-side multiplayer game.

    There are also a couple different ways you can implement multiplayer depending on what type of game you want to develop.

    The tutorials and this forum will be your friend through all of it! Hope that helps somewhat.

  • I might not be understanding either, but could you just get the angle the first image is traveling at and do a set position to sin(angle -/+ offset) * distance + sprite1.x and a cos(angle -/+ offset) * distance + sprite1.y?

    I’m doing this in my head so it may not quite work that way.

  • Any other ideas?

  • - yeah, that would make sense if it was.

    I think part of the problem (looking at my code again) isn't so much the setting of the position every tick, but calling a function that sets the text for multiple spritefonts, image animation and frames, etc.

    I know there's a good way to do it, it's just everytime I touch trigger once, things stop working properly.