LittleStain's Recent Forum Activity

  • The beginners tutorial and the platform tutorial in the tutorial section are great, also there is an asteroids tutorial and probably even more.

    Just have a look at the tutorial section of the site and choose one, it will learn you a lot about working with Construct2.

  • Ah yes, it's always good practice to look through your eventsheet and see if you are doing stuff every tick that only has to be done once and put it in or under an event triggered once.

  • It would probably be a lot easier to use containers for this. Then the enemy-image would automatically be linked to the enemy.

    I'm not sure what is going wrong in your current code, but I would put the enemy-image actions in the on created event as subevents (not sure if it would make a difference, but it looks cleaner.

  • You are spawning an instance of treeB every tick treeA has energy 30.

    And because you haven't picked an instance of treeA all instances of treeA will spawn.

    add a trigger once while true condition and if you have more trees on your layout you should add a for each treeA condition.

  • wouldn't using a global variable work?

  • andreyin,

    Thanks! The intention was to make a analog stick for all built in behaviours, with as many options build in to make it easily adjustable for individual needs.

    End-product will probably be this example capx and seperate capx's for every behaviour with a number of options to adapt. All commented ofcourse.

    This will take some work still, but the response so far helps me a lot to get the energy to go on..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • andreyin,

    Have you only checked the 8 direction behaviour? By clicking on the name you get bullet behaviour, car behaviour and platform behaviour examples.

  • The way your game is set up, I would choose to either set the collision polygon just around the feet or create a collision sprite at that point. I think you wouldn't mind your enemies overlapping as long as they are not completely occupying the same place. Using solid behaviour for the feet-sprite could work perfectly, but if you'd like a different solution you could check for distance and speed up or make the movement slower accordingly.

  • Thanks AllanR

    Glad to hear the Iphone works now too. Now I can try to implement some of the suggestions and create the commented capx's for the community.

  • This is a picking problem.

    add a for each enemy

    for each enemy

    system compare two values : distance(enemy.x,enemy.y,player.x,player.y)<200

    • enemy shoot
  • I see you've been helped already, but just to show you how close you actually were yourself:

    progress indicator improved

    I only changed two lines to take the 384 and the arrowheight into account.

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies