Magnatolia's Forum Posts

  • Awesome thanks for that. Great help!

  • Hi all,

    I know Scirra has effects you can apply to the sprites, but how about when a particular event has occurred?

    Say for example if bullet collides with enemy, enemy loses 1 healthpoint and sprite is set to grayscale for 0.4 seconds then effect removed. I've used this in Stencyl and it's a great effect to show an enemy has been hit.

    Thanks!

  • Hi guys,

    I really want to create my first game as an endless runner. I'm not 100% sure how the template does what it does, but that's for another day. I have a couple of questions:

    1. The template uses a block, but how do I make the ground look connected (smooth) rather than using blocks? Is it as simple as having a block that is the one texture with no borders?

    2. What would I need to do to keep the score as a high score? I created another label called HighScore. Added a sub-event to the System - Every Tick that says If TotalDistance > High Score then HighScore = TotalDistance, but it stops at a number after 600, usually around 602 or 604...even though TotalDistace keeps going. It also resets HighScore but I want it to keep the score.

    Thanks heaps!

  • Hey Farieh, that would work, but I want to bound them to the layout without having to put an edge around the screen. I set the enemy sprite to have the bound to layout behaviour but that doesn't seem to work.

    Although on my layout screen the viewable area has a dashed line with more white space beyond that. Not sure if that's correct?

    Thanks!

  • Thanks Plinkie, that worked great! Any ideas how to stop the enemy from simply going off the screen to avoid the obstacles?

    Thanks!

  • Hi guys,

    First time using the pathfinding function and it doesn't want to work? Can you please take a look and let me know where I went wrong?

    Thanks

    Maggs

    dropbox.com/s/3llquv70rzopxsm/pathfinding.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Actually I've discovered I think 'on collision with object', 'set animation to frame 1' will possibly work? But how do I stop the brick sprite from automatically animating?

  • Hi guys,

    Are there any good tutorials that go from start to finish for creating a decent game? Just so I can create and see an actual game. Obviously just one scene is enough.

    Thanks!

  • Hi guys,

    I have a basic brick that has four animation scenes of it getting cracks (like BreakOut). How do I have it so if the player spawns a bullet and the bullet collides with the brick, the bullet gets destroyed and the brick moves to the next animation sequence. And then how do I destroy the brick object once the final animation scene occurs?

    I'm practicing and am setting up basic pathfinding, but want to make it more interesting if the player shoots the barricade.

    Thanks!

  • Hi guys,

    In one of the examples on Torque 2D they have this group of 16 green blob sprites all linked together in a 4 x 4. When you pull one they all move, and expand and contract. When they hit the sides they compress together before expanding as they rebound.

    Is something similar possible? I'm thinking a sprite that has the ability to be compressed as it hits a surface and rebounds.

    Thanks!

  • Hi guys,

    Let's say I have 3 different coloured balls. When the player shoots a particular colour I want them to pop/disappear if three of the same object touch each other. As they do in most of these games where different coloured balls go along a line and you have to shoot your colour to connect at least three of the same.

    I assume the creation of them would be easy enough. Just have x number of different coloured balls, and spawn a random one each time the player shoots...

    Thanks!

  • Hi,

    I am just testing out the system and have set up a simple action/event that has a new enemy sprite created every 2 seconds. I set the randomization to 500.

    This is a two-fold question.

    1. Is it possible to set the randomization to fit the users screen size?

    2. Is it possible to make sure the enemy doesn't spawn too close to my player? Pretty frustrating if the enemy spawns right next to you...

    Thanks guys!

  • Hi guys,

    I spent about an hour or so trying to get these to work nicely together, and am still getting a slight glitch.

    I have AmmoClip - starts at 5, if >0 bullet is spawned and AmmoClip-1. Works well.

    I have AmmoRemain - starts at 15.

    If user pressses R key, if AmmoRemain >=5 difference between 5 and AmmoClip is subtracted from AmmoRemain and added to AmmoClip. Works well. Eg. if I have 2 in clip and press R it checks that there is at least 3 in AmmoRemain.

    Now the glitch. I have if AmmoRemain <5 and >0, Set AmmoClip to AmmoClip + AmmoRemain. So if I have 1 in clip and only 3 in AmmoRemain the first scenario is not met as I would need 4 in Remain. So it adds 1+3, gives me 4 in AmmoClip and I set AmmoRemain to 0.

    Now the glitch. I have sprites on the screen that when you right click on them you gain +3 to AmmoRemain. However the glitch I spotted was I had 0 in clip and 0 in remain. Clicked on one box, got 3 in remain which when R was pressed added 3 to clip and made remain 0. But when I clicked on the next box for a split second it went 6 in clip and 0 in remain, but then corrected to be 5 in clip and 1 in remain.

    Am I doing somthing wrong? This is my first real plunge into the program so any feedback is appreciated.

    Thanks!

  • Hi all,

    Is there a roadmap of upcoming/future plans for Construct 2? Would be nice to get an idea of what's in the pipeline.

    Thanks

    Maggs