newt's Forum Posts

  • Conditionals.

    If touch.y is greater than gold then set the variable to touch.y-gold*gspeed, else set it to touch.y+gold*gspeed.

    With the ? indicating the if, and the : indicating the else.

    Basically test if something is true, if it is, then it sets it to the value following the question mark. If its not then it sets it to the value following the :.

    In this case it determines if you are going up, or down.

    At least I think that's how it works, the script does seem familiar.

  • If you mean you want it for the editor, rather than runtime, then you will have to be much more specific on the implementation.

    I can think of two ways, either a: a button in the tilemap window, or b: copypasta using a selection box in the layout editor.

    I can pretty much guarantee the answer to both is use Tiled map editor.

  • The hockey mask might be okay, but Vader, and Iron Man are pretty iffy.

    Not too sure about the Halo, and others.

  • Hate to say this, but would not using a spritesheet solve the problem as well?

  • Lan preview would be about the same as what the device browser gets.

    Safari usually does quite well on all systems even though there's no webgl.

    As to the collision checks, that's fine and all, but not setting collisions enabled/disabled every tick might get a little better performance wise.

    A simple "family is on screen" with all the collision checks as subevents would simplify things.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I tested on a pc.

    Took too long to lan prieview for ipad.

    Too slow a connection/ too many objects to load.

    I might suggest the use of frames, and animations in instances over having so many different objects.

  • [attachment=0:3c9z6bxw][/attachment:3c9z6bxw]

    Not sure what those are good for, but if you must have them then at least add a trigger once while true.

    You might add them all to a family for sanity's sake.

    Otherwise I got 60 fps.

  • And the 4th option would be to use newt.angle.

  • I think its because of the on screen keyboard.

  • Judges rarely get involved, however lawyers do, and they care little about how different it is, but much more that they can make money off of someone who can barely afford a lawyer to begin with.

  • Nah, random, like everything else in C2 is zero based, meaning it starts at zero rather than 1.

    Remember 0 is still an integer, it just has no value.

    int(random(4)) would have included all 4 sounds.

  • The only reasonable facsimiles would be done via frames, or webgl since Starcraft is, well.....3d.

  • It doesn't matter if you make any money, using copyrighted material can get you sued.

  • And another:

    RandomScrollingSound0

    RandomScrollingSound1

    RandomScrollingSound2

    RandomScrollingSound3

    If foo audio object "Play by name" RandomScrollingSound&int(random(3))