newt's Forum Posts

  • When do you change the score?

  • You could also go the service route.

    http://mandrill.com/

  • Well its not the simplest solution, but it is the most robust, other than possibly using the nodejs portion of node-webkit.

    As to adding images you can try the canvas snapshot, or Rojo's canvas as the base 64 string: "mailto:somebody@something.com?body=<img src="&Canvas.imageUrl&">"

    It worked for me in Ios, and Windows 7.

  • Ok, I guess you could let the user add the email via a text box, and add it using "mailto:"&myvariable.myvalue.

    I know you can even add an image, but that doesn't work for all clients.

  • Using the browser object open url : "mailto:someone@example.com" , and any of the regular html flags should work there in.

    Note: It will open the email client, and on mobiles that may mean stopping the game completely.

  • Make sure the file is an actual project file by adding it under files, then use the on finished loading ajax using the tag you give it.

    Don't use the button, unless you are for sure the file is loaded

    Then set the text to the return value ajax gives.

    ajax.lastdata

  • Use ajax. Load as project file.

  • How big a difference?

    Unless your greens are red, or blues are yellow, then slight differences in hues are to be expected.

  • Unless an instance is picked distance() will only use the first index of the object given.

    To cycle over each instance you can use for each. It is cpu intensive, so use sparingly.

    You could possibly use the los behavior instead.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Still not sure what you are trying to do.

    Since the sprite object already has that functionality, you could take a look at the existing code.

  • Just lerp the scale.

    sprite set scale to lerp(self.scale, 0,self.opacity*0.1)

    ...oh wait there is no .scale expression.

    Perhaps you should ask for that instead.

  • Where are you editing code at?

  • Copy, and paste, or ajax file loaded as lastdata into "load image from url".

    Can't really recommend the first.

    Remember that frame must exist, and the animation be on that particular frame. Speed should probably be 0 at that point as well.

    Also that texture will replace that frame in any other instances of the same sprite.

  • You other option is to use a third party plug div, or iframe and do it yourself in html:

    http://www.w3schools.com/cssref/css3_pr_columns.asp

  • You could try css

    Property name "wordSpacing"

    Value "30px"

    That places the words that are in quotes 30 pixels apart.

    I wouldn't count on it not resetting in other events.

    Keep in mind that's not going to make the text line up in columns.