Squeakydave's Forum Posts

  • I just ran into this. I had sounds set to play at a certain frame of an animated sprite (using a variable). I was getting a reverb effect which was the sound playing twice in rapid succession.

    The System - `trigger once while true` works perfectly. Thanks for sharing.

    Dave

  • Thanks. I'm really happy to have discovered C2. It really is animator friendly <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Here is a Chinese New Year e-card done with Construct2 (Animation Anime studio)

    Shakespeare's Horse

    I think I have found my Post Flash workflow and I greatly prefer the interactivity programming in Construct2 <img src="smileys/smiley1.gif" border="0" align="middle">

    Dave

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's a bit bizarre and something to look out for.

    I'm glad you got it sorted

    Dave

  • It could be that your png is over a bit of transparent background. When exported the index.html file sets the background to black. You would need to edit that manually if you want to change it. Below I have turned it to transparent:

              body {

                   background-color: transparent;

                   color: white;

                   padding: 0;

                   margin: 0;

                   overflow: hidden;

              }

    As a test you could try putting a coloured sprite behind the offending bitmap and re-exporting.

    Huge Regards

    Dave

  • Hmmm. well it seems like you need to edit the index html file of the exported project and change the background colour from black to transparent.

              body {

                   background-color: transparent;

                   color: white;

                   padding: 0;

                   margin: 0;

                   overflow: hidden;

              }

         

    I'm surprised that there isn't a project setting in Construct2 to set this or that it isn't mentioned in any of the tutorials. Mind you I am exploring C2 as a flash replacement and not currently for making games.

    Dave

  • Hmm. I can't seem to get this to work. I'm trying to export a html5 animation with a transparent background to a website using an iframe.

    I have one layer with the background set to transparent

    Clear background is set to 'yes' in the project properties.

    My iframe code is (though I have tried other variations as per the stackoverflow suggestion above):

    <iframe width="750" height="460" src="http://www.site.com/subfolder/index.html"frameborder="0" allowtransparency="true"scrolling="no"></iframe>

    The project tests just fine but once I upload it and put it into an iframe it comes over with a back backround.

    Is there a project setting I am missing?

    Many thanks for reading this and for any hints or tips you can provide

    Huge Regards

    Dave.

    Ideally I want to keep the html files minified as it is already a bit of a hefty project.

  • I just bought Spriter Pro and C2 in my ongoing quest for a HTML5 Flash replacement.

    One question though, and I realize that the plugin and Spriter are not finished yet, How do I synchronize sounds with a specific point in my animation in C2?