lionz's Recent Forum Activity

  • When you create the function in C3, you right click on it in the event sheet and choose to add a parameter and you create it there. Then in another part of the event sheet where you call the function it will request a value for the parameter.

  • They're not? You've unticked 'Default Controls' which is what would cause this as this means move with arrow keys.

  • Rather than function.param(0) the parameters now appear in the list and look like variables so you just type the name of the parameter.

  • 1. You use one array with 2 different columns, such as 0,0 and 0,1 then 1,0 and 1,1 where 0 is the X co-ord and 1 is the Y co-ords, you would push back X and then Y you need to set in the same row and for this you need to know the row's X value so use the array's width to work it out maybe array.width-1,1, where the X is set at array.width-1,0 when you push it

    2. You can pop the top row of the array as you push one in

  • Isn't the explosion going to hit both objects anyway? That means the on collision logic would work on both of the instances separately. Not sure what you're trying to do here. If you want to destroy the object being hit by the explosion then it should just be the first line of the event you have there. Surely the object being hit by the explosion is also the one nearest to the explosion so I don't understand the need for the other checks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The problem you have here is the first condition limits the number of picked instances to 1, you cannot then pick multiple instances further down in the event. As mentioned above with the family picking is a good way of distinguishing it from 'itself'.

  • On start of layout you can set 2 instance variables on the player object to the player object's x and y position and then set these when you want.

  • Can I get some more info on the gameplay, not everyone has played that game. In general to access certain letters in text you use the tokenat expression, or you can just play sounds on key press.

  • I don't see a need to post it, you have events on one event sheet split into groups. You just need to remember to assign the event sheet to each layout you add.

  • It's probably that the movement logic for the player isn't linked to the layout? The layout should be using the event sheet with the logic on, it might not be using any event sheet if you know where that option is.

  • Check it in what sense ?

  • try on start of layout : player set health

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