PixelPower's Forum Posts

  • 0plus1

    I don't know the specifics of your project but maybe I can help I made a tutorial on mobile optimizing that covers alot here

    After you read it tell me of any specific problem and maybe I can help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you want your character to shoot automatically? If so this is the easiest way

    System- every x second ( type in 1 second) = player - spawn another actor- bullet

    After you select system , scroll to bottom of page and you will see the "every x seconds" button. Get used to it because "every x seconds" will be your friend in the future.

  • Ok when you export your project in construct 2 click the box

    [] Intel Export

    And then upload your files to XDK.

  • ezgaming420

    Ok I got the easiest way

    Have a sprite that has 2 animations open and locked , set the animation to locked. To set the animation to open do this.

    System = compare variable = choose sprite = set animation "open"

    Its one line of code , can't get easier than that.

  • I use number 1 just in case in the future I have to put an "if" or "else" statement it will be easier. So go with number 1 so in case you want to make changes to code, its very easy.

  • I dont know what to say but making games is work. You can try to UDID method if you want to use 1 sprite only and just make duplicates but even thats a bit of work. Trust me we all go through it. I am making a Metroid style game now and I am banging my head on the wall its hard work but will pay off.

  • Look at my code if you can't understand it let me know. I can help you out.

  • got an enemy with a platform behavior and i want him to jump at random intervals (which works fine and was easy to get right) and also to walk forward or backwards for about half a second at different, also random intervals. thing is, setting him to move "every x seconds" will only input that control for one frame. any thoughts on how i can sustain that movement long enough to matter, but also have him stop in between and not just go from left to right?

    Ok from your post I am assuming you know how to get the enemy moving left and right but you want him to stop for a moment before turning around.

    Ok basically let say you have an invisible box the your enemy hits to make him move back and forth.

    Collision , with invisiblebox = accelleration=0

    wait(2.0)

    accelleration=1000

    moveleft=1

    moveright=0

  • Remove project from xdk and then export your project from construct2 but do not minfy it. That should work but no guarentee.

  • I don't know if this will work on the forums but

    <img src="zombie.png" height="300" width="300">

    is the way you do it in HTML. Otherwise just resize the image and upload to tinypic.

  • The game is good so far the bullets bouncing off the wall is a nice effect. You won't get much feedback since there is no goals yet in the game. How long have you been using Construct 2 and what are you planning to add to the game?

  • That was useful as reference -- thank you! Have a look also at this post about collision cells, as it involves some coding practices that's good keep in mind.

    The only thing that's disheartening me is the soundfile sizes. Some of mine sounds are easily 200, 300kb...! 16bit mono wavs them all, short things like grunts and chops. 20kb is so... tiny.

    The rules are for super optimizing and running but they can be bent as long as you test the game often on your device. I suggest phonegap build for testing since its just 2 steps and then apk. So you can include those sound files . If you need to make them smaller go here

    http://www.online-convert.com/

    Good luck on your game!! And of course you need any advice we can help.

  • After 30FPS your eyes won't be able to tell the difference so its a goal you shoot for but not exactly hit every time. I made a tutorial that will help you alot here

  • Excellent you took the Construct 2 tool to the limits with this game!! How is the game doing on Steam so far and how much coverage did you get from blogs and online magazines?

  • Just to give you an example of the type of layout used here is a photo zoomed out. Its an uncomplete layout of one of the maps 3000,1800. In the video above the game is running on a mobile device just fine. You have to do certain coding tricks that will allow the game to run smoothly and fast. I will get to coding another day since I'am in crunch time now.