trollface's Recent Forum Activity

  • In my last game The Gong I used a wave creation system to create wave-like effect. Now I decided to put it to the test and squeeze everything out of this system. I thought, that my computer would totally crash after I run it, but NO. I was surprised, how well does the code and renderers work. The test spawns circular waves ever 0.1 seconds and does remarakbly well. It runs 20-50 FPS for me regarding of the location of my turret. Note that each wave consists of 120 bullet type sprites and you would think that it would crash, but it runs quite smoothly and without lagging. I would really appreciate, if someone would test its performance on various mobile devices, to see how does it run on weaker processors. This is very important for my next project, where I am planning to take the wave system even further.

    Here is the link, the upload to the Arcade is broken, so I uploaded it to clay.io.

    http://wavetest.clay.io/

  • Are you using Node-Webkit? I haven't used it at all, I only make browser/Windows 8 games. You should contact with someone, who has more knowledge about desktop games.

  • Lets say, that you want to destroy a sprite, when the other sprite is closing to it. Positive offset means, that when you reach lets say 100 px radius to the sprite it is destroyed, on the other hand if the offset is negative, you must go "inside" the sprite you want to destroy.

    An example:

    http://www.upload.ee/files/3382828/test.capx.html

  • Assign one sprite a rotate behaviour and set other sprites angle equal to moving sprite angle. You can use conditions/instance variables to control it. http://www.upload.ee/files/3382776/teat.capx.html

    Are you making somekind of a cog wheel based game, where one wheel turns another?

    I hope it is what you meant, you weren't very clear about where you would be using it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use the browser object, there you have an action called open URL.

  • Here is the one I am using in my game, I modified this a bit for your use. Also check out my tutorial,which uses a similiar method for posting to MySQL.

    https://www.scirra.com/tutorials/585/how-to-make-an-ingame-costume-made-level-editor

    <?php

    $con=mysqli_connect("");

    // Check connection

    if (mysqli_connect_errno())

    {

    echo "Failed to connect to MySQL: " . mysqli_connect_error();

    }

    $result = mysqli_query($con,"SELECT * FROM test");

    $json_data = array();

    echo '{"c2array":true,"size":[10,3,1],"data":';

    while($row = mysqli_fetch_array($result))

    {

        $json_data = array(array(array($row['id'])), array(array($row['pseudo'])), array(array($row['score'])));

    $json_data = json_encode($json_data);

    echo $json_data;

    echo ",";

    //To separate two rows

    }

       echo '}';

    mysqli_close($con);

    ?>

  • Sorry my mistake, fixed it.

  • Here are some pictures:

    <img src="http://www.upload.ee/image/3380924/gong1.png" border="0" />

    <img src="http://www.upload.ee/image/3380925/gong2.png" border="0" /><img src="http://www.upload.ee/image/3380927/gong3.png" border="0" />

  • Hello, I have published a new tutorial, how to create ingame costum made level editors, so that users can make their own levels for your game and share them with others. Here is the link:

    https://www.scirra.com/tutorials/585/how-to-make-an-ingame-costume-made-level-editor

  • I thought that 21. june is the final date. My game is still in certification. I hope to get it published by Monday.

  • I have released a new version of my wall-breaker wave physics game "The Gong". I have made the game much more smaller and playable and added new features which some I believe have never been used in C2 games before:

    1)I have deleted all my main layouts and replaced them with a single layout, which loads all data from JSON files.

    2)You can now choose the color of the wave from main page.

    3)You can make a CanvasSnapshot of the game, to photograph a great moment in the game.

    4)I have made a complete ingame level editor, where users can make their own levels and share them with others. It also includes a ingame tester, so you can test your levels before publishing. After upload to the remote server all levels are reviewed and the best ones are selected out and made available for everyone in 48 hours.(I will soon be making a tutorial of how to make an ingame level editor based on my current project.)

    5)User made levels can be played under "User made levels" section, where you can load a game by double-clicking the level name.

    The game is currently under review in Windows Store I hope I can make it to the Summer Competition.

    I was unable to upload my game to Scirra Arcadde because it was too wide(1024 px). Instead I have uploaded this to Clay.io, where you can see the complete game.

    http://thegong.clay.io/

    The previous beta version 0.5 is available in Scirra arcade though:

    http://www.scirra.com/arcade/action/4366/the-gong

  • I got this to work, I downloaded r134 and used no Minify script. Very wierd thing indeed. You can close the topic.

trollface's avatar

trollface

Member since 21 Nov, 2012

None one is following trollface yet!

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies