bscarl88's Forum Posts

  • Thanks! But I get how to keep him in the air, and i know how im going to have him keep going, the problem I'm simply stuck with, is how to use a layout of 1280x720 instead of a giant layout of like 12,000x12,000, but keep it scrolling on him even if he's outside of the layout. Right now, the camera just stops following him once he's outside of 1280x720

  • http://www.berzerk-land.com/index.php?c ... gameid=641

    you just hit something and keep it in the air as long as possible. So it's infinitely scrolling in the X and Y directions, but i don't want to use a massive layout cuz i want it to work on mobile

  • how would I measure how high up the penguin is supposed to jump though? I'm trying to use a finger swipe to detect how fast to make the background and stuff go by, which I can do, but I don't know how to calculate jump properly for it

  • [quote:3cr38433]The engines don't move the ship at all. The ship stays where it is, and the engines move the universe around it.

    Move that background and spawn another when it's out of the screen infinitely

    haha nice futurama quote.

  • There's an autorunner template that does exactly what you want

    Would that mean I have to make every object that i plan to use move to the left and give it movement properties?

  • Trying to think how I'd go about this game:

    http://games.cellbiol.com/penguin.html

    I'm guessing I wouldn't use a massive layout or anything, but my scroll only follows the player within the layout. I also plan on having lots of randomly spawned objects in the way while the penguin is flying by

  • ah man, that's kinda game breaking for me. i was thinking on doing that too, but havent tested it. I get great FPS, just not stable. Im not using physics or anything like that either

  • I get about 58FPS with my game on my samsung galaxy s4, but there is framrate stutter where it pauses for a very split second on creation of a 128x128 sprite, and collision on that sprite. any ideas?

  • Here's a link to the game

    http://www.onemorelevel.com/game/luftrauser

    would it be physics based? Could i get away without using physics?

    Here's a few tid bits i picked up:

    -The plane always has a little bit of gravity, but only when it's thrusting.

    -If you are thrusting while facing down, you don't necessarily go faster than if you weren't thrusting

    -when you're gliding in one direction, then you turn and start to fly in another direction, It has some elasticity. I can't think of how to mimic that.

    id ideally like to use something other than the physics for performance reasons, but i can't think of any other way

  • ah awesome! Just found out how to use it, thanks!

  • thanks for the info! The problem we're having though is the player can travel in the X or Y direction, in any direction, not just right

  • thanks!

  • thanks everyone

  • vtrix is that how fruit ninja does it? I could have sword they do it by the actual slice on the fruit, but i guess morphing an image would require a lot more code and probably be very complex and CPU heavy.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would like to accurately break apart a sprite depending on a slice motion. Is this possible?