lionz's Recent Forum Activity

  • I don't think you need to use arrays? What is your plan with them? I would just enable player attack. I'm not sure if you wanted a menu or you're clicking to attack? Then when the player has attacked, disable the player's ability to attack and then have the enemy choose a random move with random damage. It kinda depends on the design of the game but should be fairly straight forward in C2. I think it gets difficult once you start adding character progression and offensive/defensive stats but the basic turn based combat should be fine.

  • yeah in future you can debug check variables with text objects so that you know for sure they are being set correctly.

  • The first one looks fine...Instead of the Else you can use the same event twice and invert it if you want. Mouse Cursor is over btnStart > Right click > Invert. This will then set the anim to default when the mouse cursor is not over a btnStart object but the Else should suffice anyway..

  • Spawning on layer 0 which is the bottom layer. Might be behind another object.

  • Ah of course! Thanks for the help <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Hello!

    Thought I would update my problem here. I have come across an issue that I'm struggling to resolve.

    Upon pressing a switch, an obstacle tile moves well out of the way.

    Upon releasing a switch, an obstacle tile moves back to its original spot.

    If I select a spot as destination and start pathfinding, upon releasing the switch that I'm pressing, the obstacle returns to its original spot but the player will walk through it. I've not been able to solve this with regenerate obstacle map. Has anyone come across an issue like this or does anyone have a quick way of solving it?

    If it's not entirely clear what I want is for the player to detect that the obstacle tile has returned to its original spot and therefore block the player as he moves into it.

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How have you been saving? Isn't it just Clear Local Storage/ Clear Session Storage?

  • Got it, you have to Regenerate Obstacle Map when obstacles move. Doh!

  • Has anyone else had this problem before, is it a known bug? I have water tiles set as obstacles and when I move them or destroy them on the press of a switch, the player cannot pathfind around or through where the tiles used to be. It's as if they are still there whether moved or destroyed.

  • The layout doesn't have to be on screen and visible to enable things on it. You can run functions on the secret area to enable it while the main layout is on screen if you want.

  • If you need any more minor edits help I would take this to PM with me, thanks.

  • sgn15

    Basic 3 gets stuck because you have On animation "Basic 2" finished instead of Basic 3

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 75 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies