lionz's Recent Forum Activity

  • The original Rayman looks like an animation for the character as a whole and when you punch out it spawns the fist as its own object.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • It's difficult because you need to pick enemy against enemy. The first enemy will be easy as it is enemy nearest to tower. Maybe you can use the co-ord of the enemy chosen and pick nearest enemy to the co-ord that is not the original enemy. Another way if it is more of an AOE type thing you could spawn a sprite that covers an area and puts lightning on any enemies touching the sprite.

  • You do not have permission to view this post

  • If you right-click and invert the event this will act as a 'mouse not hovering button' event as noted by the red cross. For hovering with touch that's not really a thing is it, you just have 'in touch' which is finger touching the button

  • Need to see the events, screenshot or file

  • Why does the position of the questions matter and have to be different depending on the scene? In the video you shared the questions looks like they are on their own screen so you can just point the camera there every time ? Also you shared a successful example, so it's working ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's not bad either! You just need to remove the Else and bring the second event out of a sub event on its own. With the two separate events I think you should see it working.

  • There are different approaches. You could add an instance variable on the bullet to track where its spawned from so in your spawn bullet event directly under the spawn action you can set the bullet.var to tower.UID (the tower picked will be the one that is spawning the bullet)

    Now that the bullet has the UID of the spawning tower attached, on the collision with tower event you can add another condition bullet.var does not equal tower.UID, meaning the bullet will not be destroyed by the tower spawning it.

    As for being destroyed by the spawning tower later there are couple of ways. I used bouncing bullets in my game and I used another variable that tracks the number of bounces, so again on that same collision with tower event, with an action you can add 1 to this new numBounces var. Then you could add an event like if bounce > 0 set bullet.var (the UID check) to 9999 means it will now be destroyed when colliding with the spawning tower.

    There may be a simple way to do this with parent/child hierarchy but I've not used that functionality.

  • nice! :)

  • It's not working from your file either IF you have no save data so that's the problem. You have no logic for when a brand new user clicks on Play, you need some events that detect if there is a save game and load it but if not then start a new game.

    You can check out this tutorial : construct.net/en/tutorials/savegames-11

    In there it details the method normally used where if the player saves the game at any point you can save a local storage key. Then on your first game screen you first check if the local storage key exists (means they have a save game) then you enable a continue button and clicking this will load the save slot. If the key does not exist this means they are a new player and the only option would be to start a new game.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 73 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