Elliott's Recent Forum Activity

  • Couldn't you get away with a variable numbered say 1-10 and move your objects to layers based on their value?

  • Try now?

    darkdemon.org/user-files/1745/1360422615.capx

    If for some reason that doesn't work, here's the event sheet:

    <img src="http://i.imgur.com/yEiRTmS.png1" border="0" />

    The sprites have the following properties:

    player: Platformer (Default)

    breakable: Solid, Physics (Default, Default)

    solid: Solid, Physics (Default, Immovable set to Yes)

    particles: Spray Cone: 360, One-Shot

    Sprite: Flash

  • You could create a more static version of the effect by using images with high feathering on the edges and transparent backgrounds, which would lend a merge effect when they cross over each other?

    <img src="http://i.imgur.com/CzdQknM.png" border="0" />

    Without knowing your desired application though this may not be practical.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When saving a transparent image file as a .gif be sure to enable alpha-transparency <img src="smileys/smiley1.gif" border="0" align="middle" />

  • You can simply swap out sprites or animations?

  • This is one of those problems where it will take more time to explain the solution than actually do it :)

    darkdemon.org/user-files/1745/1360273730.capx

    Here's the .capx, I did everything you were asking for except the explosion, but that's because I don't have any audio files on my computer! You simply use the audio object to create the sound as an action in the OnClick event :)

    If you have any questions please ask!

  • I'm also going to chime in with disagreement, the How do I forum is a massive resource for solving problems, and with more complex queries there will often be more than one way of solving the problem: The first posted solution may not be the best.

  • Bit unsure what you're trying to accomplish but I'll take a crack:

    If you want to refresh your game from within your iFrame, that's as simple as restart layout event, you can map this from everything from a collision to a key press.

    Refreshing your game from outside the iFrame, via a text or image link is pretty simple: Your best bet is to simply refresh the whole page, which will reset the iFrame.

    If you want to refresh the game without refreshing your web-page, in theory you could get creative with mouse overlapping collisions; with your game refreshing the layout whenever the mouse isn't within your iFrame: The practicality of this questionable though.

    Finally, if your familiar with JS, you can use that refresh your frame, simply use this on a button on your parent page:

    <IFRAME id="frame1" src="http://www.example.com/"  runat="server">
    
        <script type="text/javascript">
        function refreshiframe()
        {
            parent.frame1.location.href="http://www.example.com/"
        }
        </script>
    
    <asp:Button ... OnClientClick="refreshiframe();" />

    As always StackOverflow is your friend: stackoverflow.com/questions/2064850/how-to-refresh-an-iframe-using-javascript

    I'm pretty sure you can refresh an iFrame simply in HTML, though I've never tried, doubtless someone knows!

  • I think the bigger problem would be getting your game on Steam, even with Greenlight it's pretty hard!

  • I'm getting screen tearing with a low of 28FPS with an average of 38 and a high of 49 on a machine that can destroy Crysis and running the latest version of Chrome, it's not C2, it's your event construction.

    Recent web-apps I've made run at a solid 50+ FPS with physics objects, 10s of sprites on screen, platformer object and multi-touch controls in an un-optimised full screen mode; on an iPad 3.

    As Arima said, overdraw looks to be the big issue.

    EDIT// Repeated reloads dramatically boosts performance.

  • Welcome to the forums Nightswim!

    In regards to your programming question,it'd really depend on what you're really trying to accomplish and how dedicated you are: If you want to make some simple games for fun,C2 is the way to go! If you're serious about game-dev then by all means start learning an O-OBPL like C++ or #; which will be infinitely better in the long run!

    ... BUT, and there's always a but, it will take you months to learn how to do things that C2 can do in minutes, simply because C2 does a tonne of your background work for you.

    Reading up on logical statements and reverse engineering some classic games is an excellent start IMO, and I have yet to think of something 2D that C2 cannot handle.

  • Smooth as butter on Chrome, first load is about 4 seconds, every load after is instantaneous.

    How are you handling your zoom? Great ambitious graphics, will be watching with interest!

Elliott's avatar

Elliott

Early Adopter

Member since 27 May, 2012

None one is following Elliott yet!

Connect with Elliott

Blogs