bWard's Forum Posts

  • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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.

  • You could try using a System Trigger once while true Event to only work on the first collision, or toggle a boolean on the first collision Event to trigger a short "unhittable" phase while the enemy is hurt.

    But we'll need more information to figure out why other attacks' collisions don't work. What kinds of attacks are they?

  • When you try to paste events to a separate project, a dialog pops up explaining why it doesn't work. All of them are because the copied Events aren't compatible due to missing Objects and their behaviors/variables.

    To solve this, take out references that don't exist in both projects, or temporarily put those objects in both projects while pasting code.

  • An easy way to do this is to put the background on its own layer and move that layer back as you move forward. You can achieve this with an Event Sheet or with a Scroll To behavior on your character.

  • This tutorial will explain how to control the size of your game.

  • I know that the Status bar at the bottom displays the total number of events, the Project bar on the right will show all of your layouts under (ProjectName)/Layouts. They can be toggled on in the View tab if they're not there.

    And if you save your project as a folder directory there will be an Event Sheet and Layouts folder inside with two .xml files for each Layout/Event Sheet.

    As for variables, nothing simple comes to mind.

  • Those are big spaces. The previous two suggestions should work, but if those don't work and those spaces aren't on the image file itself, then reinstalling Construct couldn't hurt.