bWard's Recent Forum Activity

  • This community is unfriendly? That's a shame to hear. I actually haven't had a chance to know the community enough to have an opinion.... care to elaborate? What was your experience?

  • Me too. I use "true/false" strings or 0 or 1 as a substitute, but it's still not the most convenient method, especially when employers actually look at my code...

  • There are lots of ways to go about this: the Custom Movement behavior isn't meant to recreate behaviors like this, as noted on the Custom Movement manual page, and would be best suited for other behaviors, or simply using the Move at Angle command or Bullet behavior with an event to round its angle to 45, 135, 225, or 315. Custom Movement just doesn't give you the capabilities you need.

    Yet if you really want to check for when the ball collides with a corner, (or moves through it, as happened to me when I tested out your .capx,) you should add another event to check for when the ball X/Y is exactly at wall X/Y or inside of it to check for the corner and multiply the custom movement speed by -1 rather than using the reverse function.

  • Yeah, this was kind of an oversight when the global variables system was developed. I've been meaning to get round to fixing it...

    That's good to hear! There's definitely lots of work for a two-man team to do, so that's understandable.

  • The simplest way is to have a Layout and Event sheet solely for the splash screen: a Layout with a logo image and an Event sheet with whatever effects you want, and at the end have a Wait command followed by a "Go to Layout" leading to your main game.

  • I can't help but feel wrong whenever I use a number or text global variable when I only need a boolean value. It can work in the same way, but it's a little more hassle to work with.

    Any chance of having global variables giving a boolean option in the future?

  • Not being able to use variables to set the X and Y at the same time (excluding gammabeam's great workaround a few posts back) is a little disappointing, but being able to use variables when setting the X and Y separately works just as well.

    Thank you for continually making this plugin better and better!

  • Northern California, do I qualify?

  • I'm afraid I don't have the time to test your .capx right now, but I can link you to two great tutorials for performance.

    http://www.scirra.com/tutorials/298/performance-tips-for-mobile-games

    http://www.scirra.com/blog/85/the-great-html5-mobile-gaming-performance-comparison

    If it's too long and you didn't read: Lots of performance tips, Scirra recommends using CocoonJS and Directcanvas for publishing.

  • -When shooting, set the angle of the spawned bullet to the angle of the gun/character, so it will face in the same direction.

    -If I understood correctly, the best way would be to stop the audio when the key is no longer pressed.

    -If the shoot event stops the player and changes its animation, then add another condition to the event that makes the player run to only run when the shooting animation is not being played.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Minecraft and Terraria use really advanced systems for their world generation: There's a couple of ways to go about creating a generator, but they all come down to relying on a random factor.

    In Construct you could use something like "random(999999999)" to generate a random number, and parse it using TokenAt or TokenCount expressions as you like to change how the world may be built.

    To really understand how to do this, you should read up on seed generation, Construct's expressions, and this page specializing in random world generation.

  • You could either use a plugin like Lerp, or you could use something like this:

    Every Tick --> While Player.Moving --> Player.x + (64 * dt)

    Every tick/fraction of a second, you can check for a player's moving boolean and move the x value however much you want (the dt is for framerate independency) and then check for when the player reaches his next tile destination to stop his movement.

bWard's avatar

bWard

Member since 23 Jun, 2012

None one is following bWard yet!

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies