DetteMan's Forum Posts

  • Mark the event "Mouse->on left button clicked DepartButton ->System-> go to Galaxy Layout***" and press C on your keyboard to add another Condition. Go to System, campare variable "flying skills > 5"

    Then mark that event and press X on your keyboard to make an else event and do whatever you want to there

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I suggested "on touched" cause once it's set to 1 you don't have to set it again. "on is touching" would keep running every tick which isn't necessary. From what he explain he need it to switch set the animation speed to 1 when the button is touch which what "on touched object" will do. The animation doesn't change again until they stop touching. On is touching will keep running as long as it is true and keep setting the speed to 1 even when it already is one.

    To stop the inverted event from running every tick add a secondary check to see if the animation is even running should be done. So if they are not touching and the animation frame isn't 0 do this.

    Of course! I was thinking to fast. Thanks for the correction.

  • Make sure you choose the Condition "is touching object". Not "On touched object"

  • Okay, im not at my computer either. But if i understand correctly what you are trying to do this is what you should do.

    Event 1

    Condition: is touching Sprite

    Action: Set animation speed to 1

    Event 2

    Condition: is touching Sprite (invert)

    Action: Set animation speed to 0

    Im typing from phone so sorry for the sloppyness

  • The sprite will always be a square since its an image at say 64x64 pixels. If the problem is the collisions you can set the colission polygon in the image editor. I dont think that what you are asking for is possible.

  • Create an action: "Is touching X button". Then mark it and press X on your keyboard to invert it. Or right click the action and choose invert. The action will then be: "Is NOT touching X button"

  • Wow, that easy? Thanks alot ramones . Works perfectly

  • Hey! I'm building a tower defence game and having a problem. If a turret shoots on a enemy wich overlaps another enemy it shoots both. Can i somehow make it only hit one of them?

    I have tried this but its not working:

  • There are many ways to do it. One way is to create the a new layer with the popup window and set it invisible. Then set it visible when you die.

  • Has anybody tried to create a sprite font in shoebox for usage with construct 2.

    Shoebox does not respect the grid layout that Construct 2 needs in order to make spritefonts. I can't seem to find a good way to do it?????

    Bumping this

  • It works for me. Are you sure you checked the full-screen box on the android crosswalk build and not just android. I made that misstake before.

  • if by doing so will degrade the quality of the resolution sprites too?

    Yes, it will. In my case i bearly noticed any difference though. Take a look at my game in my signature. It got all the quality settings set to the lowest but still it looks pretty good i think. Well, the art itself is pretty crappy but it dont look that low res.

  • Performance impact is equal or more!

    Is this right? I always make images as small as possible when i can and scale them in the layout editor. Not for things that need to look good of course, but like invisible triggers and one colored squares etc.

  • One thing that i have noticed is that lowering full screen scaling quality help alot. My game went from 20-30fps to 50-60fps when changed from high to low. Disable high DPI might also help some. This is only my personal experience and might not work for every project.

  • Thanks

    I think i got it now. I just dont have time to try it out. I will post a capx later if i wont get it to work.