Ashley's Forum Posts

  • Yes, the MDC (MDN?) is a great reference - if you're googling a query, adding mdc works well for good results.

  • You do not have permission to view this post

  • Irbis: you could have phrased that a little more gently...

    xzalion was previously banned for some time and signed up a new account. Now I remember why I banned them! Cheerio!

  • I don't get this hygiene-extremism. We comparatively recently evolved out of scratching a living from mud, rocks and caves. So people are actually pretty robust. That's why monkeys aren't dropping dead because they don't shower every night. I don't think a bit of this or that in the water supply is going to be the end of the world.

  • WebGL won't be considered until Microsoft commit to supporting it in Internet Explorer, which it seems may be unlikely.

  • Yeah a lot of experts don't have very good things to say about w3schools - I'd find somewhere else to learn Javascript.

    Arsonide: there's no way around it, you pretty much have to rewrite plugins for each exporter anyway, because there's no one programming language which is ideal for *every* platform. That's why writing an exporter is a lot of work - because it's actually an exporter, runtime, and entire library of plugins!

  • Another small thing is I noticed a lot of semicolons missing - Javascript does automatically insert missing semicolons, but it's considered bad practice to miss them out - all your statements especially the 'acts["..."] = function () { ... };' should have that trailing semicolon too.

  • Don't forget to check the FAQ before asking!

    Mulkaccino: this is an open question, not sure about any specifics yet, this wasn't part of 0.x so it's not something we've planned in detail yet. It'll likely be that by default you only see options common to all platforms, but you can switch in to a mode where you can edit platform specific features.

    YetAnotherSuperhero: Yes, learning Javascript would be a great way to get in to scripting with C2! See extending C2 with javascript

  • You do not have permission to view this post

  • Arsonide: good tutorial but the expressions are wrong: the return value from expressions is ignored. You need to write PieExp like this:

    exps["PieExp"] = function(ret) // all expressions take a 'ret' parameter
    	{
    		// Call set_string, set_int or set_float on the ret object to return a value
    		// The value returned from this function is ignored!
    		// If your expression has parameters, they follow on after 'ret', e.g.:
    		// function(ret, x, y)
    		ret.set_string("Pie");
    	};[/code:2zaldcb6]
  • Not yet!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK, I'll see if I can put together a quick template at some point.

  • I deliberately didn't split Vista/7 - it's just the split between XP and newer I'm interested in.

    Well, that's cool, mostly above XP then The global market share is still something like 50% for XP so I'm not going to stop supporting it any time soon, but it's nice to know the perks are being seen.

  • Yeah, reading through the definitions and comments in exporters\html5\edittime_prelude.js and common_prelude.js is a good way to get going quickly. All the flags are defined and commented (briefly) there, if you need more specific information, do ask!

  • Quick poll - just wondering how many of you are seeing the new Vista style Task Dialogs in the editor. XP doesn't support them, so XP users will be seeing old-fashioned messageboxes instead.

    This'd be handy to know anyway, because the Windows technology changed a fair bit with Vista, so a lot of new Windows features are "Vista and up".

    (Linux/Mac folks, sorry, no option for you )