wgfunstorm's Forum Posts

  • I noticed that when I export the project, all animation images are exported as separate files.

    I was under the impression that generally it is better to combine separate files into 1 sprite sheet where possible, especially for web content to reduce file size and HTTP requests. For example Google does this

    <img src="http://www.google.co.uk/images/nav_logo99.png" border="0" />

    So I was just curious as to why C2 doesn't do this. Is there a reason separate files are better for html5 games? Is this a planned feature?

  • Awesome, thanks guys!

  • Is there an easy way to find all references of a variable in a project?

    Right now I'm just opening up the XML and using notepad to search.

    Search didn't turn up anything.

  • That's exactly what I need, thanks! Didn't find it with a search earlier so I assumed it didn't exist. Same thing for the reload from disk feature, I was just using the folder icon to reload.

    Productivity *= 5! <img src="smileys/smiley20.gif" border="0" align="middle" />

  • This is super annoying right now... I have a load of images to import and all I want is a simple square collision but C2 insists on being clever and creating a complicated shape based on transparency. It even does it to each frame in an animation, and re-does it if you re-import any image.

    Imagine doing this with some 50+ times. And that's just today... I'll have lots more to do before the game is done.

    ARGHHHJHDAS:HD*(@#Qy4eher!@#)*&SDH <img src="smileys/smiley11.gif" border="0" align="middle" />

    Can we get:

    1) An option to turn off automatic collision box cleverness (just give me a square that matches the image dimensions)

    2) An option to re-load an image without changing collision box

    3) An option to copy a collision box from one frame in an animation to the others (like you can do with image points for example)

    Please? Pretty please? I'd be infinitely grateful for this late christmas gift! <img src="smileys/smiley1.gif" border="0" align="middle" />

  • They've redacted their outright support but they have angered a lot of people over it and a lot of people are moving their domains as they don't consider GoDaddys response to be sincere.

    Sorry to derail this thread further but... no they didn't. They said they did. But they didn't actually.

    reddit.com/r/technology/comments/npair/godaddy_has_not_withdrawn_its_official

    On topic: I also don't know of any free domains that only include your name. I think the average price is usually 7-10$ per year for a .com or similar.

    What kind of website are you trying to make KBD? Like a blog or ...? What's a website that's similar to what you want?

  • I think what you're after is:

    "post.php?name=" & name & "&score=" & score

    (assuming name and score are 2 variables in your project)

    Text goes in quotations. Variable references go outside of quotations.

    Also I'm pretty sure, ? goes after .php and before name=, but after that first ? you use & instead of ? for any other post'ed properties.

  • Good stuff, love the art and the gameplay it plays very smooth.

    • I think you should make spike hitboxes smaller. It often feels like I die even though I didn't touch them! For example here

      imgur.com/4MVWd, if I simply jump up without even moving forward I die and that feels really unfair :(

    What's the trick for the 'this jump is not impossible' jump? I couldn't make it past.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can connect to Parse through the Playtomic API and do all those things.. but that's a pretty advanced feature I won't be adding for a while (if ever). I'm mainly just doing this cause I need it for my own project <img src="smileys/smiley17.gif" border="0" align="middle" />

  • >

    jQuery.getScript(this.nameOfExternalScript, function(){});

    >

    this line looks nice but was bad for other browsers as firefox

    - i've changed it now and load the external file with pure javascript+dom

    => now the loading of the external-script should work <img src="smileys/smiley2.gif" border="0" align="middle" />

    Interesting... getScript is what I use in my plugin so it looks like I'll have to do a little more testing.

    Quick question. What do you do to include the .js file when the project is exported? I wanted to load my script from an external location, but fall back to a local version if it's unavailable. But the only way I could find to include the script during export was to set dependency in edittime, but that also automatically adds the script to the html thus making the remote loading useless.

  • Super, thanks!

  • Thanks for the feedback, I'll push out a fix with it. Strange it never changed playtomic in all my testing, now that you mention it.

    Just curious, is the performance of [""] the same as directly referencing? I was under the general impression that looking up an object according to a string is a little slower than accessing it directly. But maybe it's different in js?

  • My plugin makes heavy use of an external script... lots of Playtomic.Leaderboards.Save(data), Playtomic.Data.Views, etcetcetc

    This caused problems with the minifier and I ended up having to change everything to Playtomic["Leaderboards"]["Save"] and so on.

    So... it runs fine now, but it just looks a little strange to me. Did I do it right?

  • I just updated my Playtomic plugin with leaderboards support. To use it, all you need (apart from the plugin obviously!) is a Playtomic account (create one for free at playtomic.com). I tried to make it super easy to use and included a demo so you should be able to use without any advanced server/programming knowledge.

    Check it out if you're interested: http://www.scirra.com/forum/plugin-playtomic-metrics-analytics_topic47142.html

  • Leaderboards added! <img src="smileys/smiley4.gif" border="0" align="middle"> <img src="smileys/smiley4.gif" border="0" align="middle">   <img src="smileys/smiley4.gif" border="0" align="middle">

    Check out the live demo!

    Should be super easy to add to your project.

    BUMP