General J's Forum Posts

  • Thanks for the tip! That really helps.

    Wish this could somehow work with shadows and lightcasting though.

  • I want the lines in my project to look as sharp as possible. The most noticeable aliasing is coming from the player sprite, which is a 32x32 square. It rotates freely around, and these jagged edges are a bother.

    The only thing I know that's related in C2 to aliasing is Point vs. Linear sampling. I can't even tell the difference because the sprite is so small. Is there anything I can do to improve the AA, or am I stuck with what I got because of the sprite size?

  • Thanks!

    Any reason why Request Fullscreen isn't in the NWjs Object though?

  • 'On Start Layout -> NWjs -> Maximize Window' is not solving this.

    I want to have the game open up into an ideal fullscreen game application. No window bars, no visible taskbar. Can't figure this probably simple solution out. Can anyone throw me a bone?

  • -Snip-

    Problem solved.

    This whole 3~4 paragraph-typed issue was fixed by a single Event that wasn't accounted for there being multiple versions of the same enemy. Be organized and document everything, literally would have saved me 3 hours.

  • Thanks!

    To be honest I'm confused as to why this works but I'm glad that it does. I actually did try subtracting the distance from a constant 100 but it acted all wonky.

    The key is the /4 after the distance. I don't understand why it's there but I understand that that's the reason why my attempt didn't work.

  • I'm making an effect that goes along the lines of "Player gets closer to object, intensity of effect increases."

    So far I've been using 'distance(Player.X, Player.Y, Object.X, Object.Y) to get the initial value, but when the player gets closer this value gets smaller. The effect works fine- just in backwards. The effect is stronger when the player gets further away from the object.

    Is there a simple command or thing I can do to "invert" this value in a way? For example let's just say that I want the intensity value to be '100' when the distance between the player and object is 0 pixels (touching).

  • Yeah see doing that with a text file would make this so much simpler but I don't know how to do that. What is ajax?

    Right now I'm doing it as

    On Start of Layout>

    Adj_var>Set Value at 0 to "red"

    Adj_var>Set Value at 1 to "big"

    Adj_var>Set Value at 2 to "arm"

    and so on.

  • I'm making a random phrase generation system. It's going to be something like "Thing + ADJ_VAR + NOUN+VAR."

    The Noun variable is going to have a ton of nouns in it. Arm, leg, butt, etc. Would the easiest thing to do is make a on Start Layout > Add all the nouns into a 1 dimensional Array and then pull out a random one when asked for it? I just feel like there's an easier way to accomplish this.

  • I'm creating a simple thing that calculates values based around money. It works perfectly but sometimes you'll get a thing where it's $33/$99 or so, and makes it a third of the value, spitting out things like $33.3333333333 or $66.6666666666667 etc. Same thing with percentages.

    How would I round these values up so it only has two decimal places? And in the case of percentages, no decimal places?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks! Exactly what I needed to know.

  • For example, I want the text to say "Sorry, you need to make $(Dynamic_Global_Value) more to be in the green today."

    Yet I can't figure the syntax out. This sort of thing is supported right?

  • Instead of moving the background, try making an invisible sprite that takes up the whole camera space, and do a "Every Tick > Scroll To Sprite".

    Then, on the trigger hit move the invisible camera sprite in the direction you want.

  • When I was developing my game through the free edition this was no issue. I set the save file to a dropbox folder and could effortlessly transition from my main rig to my laptop if I was out somewhere.

    Now that I got the Full Edition I don't know how it works when it comes to using it on multiple machines. I have it set up on my main rig for now, but was too worried to put the license info in the laptop as well. Is this possible/allowed?

  • I think I've found a solution that works for me but I've never thought of Arrays and I'll keep them in mind, thanks!