TechBoxNorth's Forum Posts

  • hallon314

  • What can I do to make my game centered on screen?

    When I export it to the website and then test it the game is shown at the top center on the webpage.

    Thanks

  • Ok, think I got it. Seems it had something to do with how I used "families". Gonna have to look into that a bit further. Thanx a million for the help..

    Hmm this thread should probably been posted in "How do I.." considering how it turned out.. sorry about that

  • What you just wrote should work fine:

    SubtractHP.capx (r116)

    hmm.. now I?m more confused <img src="smileys/smiley5.gif" border="0" align="middle">

    I?ll check something be back with an update...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • how would that work different than:

    Bullet collides with enemy:

    ----- subtract 1 from Enemy "HP"

    ----- destroy bullet

    Enemy "HP" <=0

    ----- destroy enemy

    it�s the same thing

  • Problem is that every time one of the drones is hit all of them suffers HP loss. A for each loop would make no difference

  • I have yet to successfully make a game where one of multiple instances of the same type can be destroyed.

    example:

    player shoots one of the seven attacking drones. Drone has 5HP.

    When player has hit the same drone 5 times, all drones are destroyed.

    quite a few times I have started making a game where this is needed and every time I end up scrapping the project because I can�t figure it out.

    Have been searching the forum but can�t find a explanation or tutorial detailed enough.

    Some of the projects I ended up making with other game making software where this handled automatic. But overall I prefer C2 and that�s the reason this post.

    Thanks

  • I�m making a simple asteroids clone and having some problems with the screenwrap behaviour together with physics:

    ship and asteroids wont wrap while "gliding", also if I keep the movebutton("up" arrow in this case), the ship loses speed everytime it wraps.

    Anyone know how to fix this? Have tried setting friction and dampening to zero but that did not help.

  • This is the error I get:

    dl.dropbox.com/u/61303567/appMobiError.png

  • anyone?

  • The CocoonJS Launcher is no longer available on android market so that�s going nowhere.

    With appMobi in the xdk i get an error about this code snippet:

    "<!-- the line below is required for access to the appMobi JS library -->

    <script type="text/javascript" charset="utf-8" src="http://localhost:58888/_appMobi/appmobi.js"></script>

    <script type="text/javascript" language="javascript">

            // This event handler is fired once the AppMobi libraries are ready

            function onDeviceReady() {

                //use AppMobi viewport to handle device resolution differences if you want

                //AppMobi.display.useViewport(768,1024);

                //hide splash screen now that our app is ready to run

                AppMobi.device.hideSplashScreen();

            }

            //initial event handler to detect when appMobi is ready to roll

            document.addEventListener("appMobi.device.ready",onDeviceReady,false);

    </script> "

  • Have tried several times to export a game to android using both cocoonjs and appmobi by following the available tutorials with no success. Is there any chance C2 will get a better (easier) way to export? In GameMaker Studio and Stencyl when I export all I do is choose platform and voila! there's your apk/ios file. C2 has so many advantages over the other two and with an export method like that C2 would be even more awesome!

  • I have used parallells 7 to run C2 on my mac and it worked nicely but for better over all smoothness I run win7 with bootcamp

  • I have an idea for a game for android that would have to be able to send and recieve sms. Anyone here that did this before, i would very much appreciate any pointers as to where to start. Thanx