lionz's Recent Forum Activity

  • It will work if the animation name is ID_100 I guess. You don't need to do trial and error with the array data, you can see it in debug view.

  • The other data is at a different Y. So using what you have now, array.at(weapon,0) is the weapon name. array.at(weapon,1) is the next column of data.

  • In a way it doesn't matter because if you don't use the object in a particular layout then it's fine. It comes down to making the code more efficient if you can use variables instead of a lot of redundant objects.

  • If the location is random I'm not sure why imagepoints would be useful? If you are saying they are not random but you are adding in lots of possible locations then I'm not sure creating a lot of imagepoints would be useful either. I don't see an issue with using the choose method that you already had?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • I'll just explain it here :

    Add a global string variable and set it to tilemap.tilesJSON

    The variable is then the positional data for the tilemap.

    Then later on for tilemap you can use the action 'load' and use the variable

    You can also use the download action to make an external file of the tilesJSON information if that's useful for the game

  • You don't need to call it by name in that way (also not sure if possible). You would do on start of layout, set a local variable to choose(1,2,3,4) and then sub events : if var=1, call func1, if var=2, call func2 etc

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You save tilemap tile layout in a json format, then load it again later.

  • That looks fine to me

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

  • 12-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

25/44
How to earn trophies