calebbennetts's Recent Forum Activity

  • But also check that he's still on a floor, too, or he'll die any time he jumps too high and hits a ceiling.

  • You could try "On start of layout" -> "Set minimum framerate to 60." That will make the game slow down instead of dropping frames. The problem is probably with optimization, though. If you want to keep your framerate high, you need to run your game as efficiently as possible.

    Also, certain framerate issues are a peculiarity of C2 (it's still a great engine, though). You might find this section of the manual useful: https://www.scirra.com/manual/134/performance-tips

    February 1 rolls around. 1 blurry screenshot. That's the evilest thing I can think of.

  • You can probably use the "for each" condition on the right events to make the different enemies act independently. As far as conserving memory, I don't know what specific changes you can make, but the picking conditions (pick by evaluate, pick highest/lowest, etc.) can probably help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's really fun.

  • There's a system condition called "pick by evaluate." You can choose the object type you want to pick by clicking it in the window that pops up, then use an expression like "object.variable = 1"

  • Welcome aboard!

  • I put together this example file. (Google Drive treats capx files strangely. Just click the "download" button in the top right.)

    To keep the player from running after the first tap, I put the conditions for the first and second taps as subevents of an "on D pressed" condition, separated with an "else."

    I also noticed 0.05 seconds wasn't really enough time to double-tap. I barely managed to do it with the timer set to 0.25!

  • I don't have an example, but I will say that "set speed" can be done with "set vector x," but you will have to take care of directions explicitly, and the speed won't hold if you don't also adjust the max speed.

  • Oh, yeah, I think you're right, you would need to check on multiple sides. So it would be 4 computations, not 2. But I was referring to the "compare x" and "compare y" actions that all objects have.

  • I think "distance" uses the Pythagorean Theorem, so there would be squaring and square roots involved. I'm not 100% certain, but I think it would be lighter computation to do compare X and compare Y. That would allow for collisions between rectangular objects, whereas distance would treat everything as a circle.

  • That's actually super-easy if everything you stack is the same object type or the same family. There's a system action - "sort z order."

calebbennetts's avatar

calebbennetts

Member since 6 Sep, 2014

Twitter
calebbennetts has 13 followers

Trophy Case

  • 10-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • x4
    Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x3
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

18/44
How to earn trophies