newt's Forum Posts

  • That would depend on your view on making revisions.

  • I'll let you figure out how to do a state when in pause.

    Mouse set x to clamp(mousex,0,displaywidth)

    Mouse set y to clamp(mousey,0,displayheight)

    You'll want to add some way to exit the program, as you cant get to the close button in the frame, and esc is the standard for exiting via keyboard.

  • So is Nan going to be a regular return value?

    I mean except for when you don't try to divide by zero.

    Probably a better way to go any ways.

    I know there were a few issues where the e^ would get cut off in debugging when it went into scientific notation.

  • How about:

    "Construct.... Two!"

    or

    "Construct pew, pew-pew!"

    "Construct 2, less boo-hoo, more pew-pew"

  • Yeah, well, um I think that old saying "a rock and a hard place" works the best here.

  • Construct: Web Edition ...

    ...

    heh

    Wont be long till "HTML5 game" will do the job.

  • Pretty sure you cant use "solid like that, and since you cant get x,y coordinates from it anyways, I'd suggest placing all the "solid" objects into a family, and using overlapping at offset.

    +n y will get the bottom, -n y will get the top etc.

    Its that or making up some collision dummies you place at image points.

  • The UID of an object is based on all the existing objects, including text, behaviors etc.

    So it wont help here, as it would be pretty hard to keep up with all of the possibilities.

    However there's no reason you can't give each instance a value of your own choice.

    http://dl.dropbox.com/u/666516/varpick.cap

    Note:

    In this example I used a global variable as a placeholder for advancing the value of the variable.

    Setting, or adding to a private variable is a bit tricky as each instance is given the default value on creation.

  • Wow!

  • Well it looks fairly feasible to have a read only type of array, either inside the main script, or reading from another external js.

    But changing the array during runtime looks to be a much more complicated thing.

    To start off people will be reading this from an single external host, instead of on their own system.

    That means you would need a separate array for each person to either be stored in their browser, or on the server that the game is being read from.

    Both ways have some pretty big disadvantages.

  • No offense, but since this is your first post, and downloading some random exe is not very safe.

    It might be better just to ask, but the chances are that it can.

  • Yes each instance will have an id, the uid, but that wont help with picking.

    The usual method for picking is to give the object a private variable, and when you create an instance give that instance a different value in its variable.

    You can then compare that variable, and any instance with that value in its private variable will be picked.

    mouse&keyboard on left clicked

    -system create object sprite at 100 x, 100 y

    -sprite set variable to 1

    sprite compare private variable = to 1

    -sprite set x to 200

  • Might try str(player.health).

    At this time text doesn't accept anything except strings.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Given the likelihood of someone fixing C0.x, versus the ease of porting your animator to C2, or even the likelihood of C2 getting a exe exporter... I would put my money on C2.

    Hell you probably wouldn't even need to pay someone to port it. If you were smart enough to make the animator, your smart enough to figure out the scripting for its plug, and the ideal person to do it I might add.

  • So what is Andy?

    The metrosexual gelding?