RadioMars's Recent Forum Activity

  • Advanced random plugin has a permutation table function. It does exactly what you want

  • No problem

  • You can still add all the players in another family and adress it to identify who's party is acting, adding another variable that represents the team is also a good idea. Alternatively you can make players into animations of one single object. They would differ by their individual variable settings. I believe if you can represent a difference between players with a variable rather than creation of an object class then it's going to be better and more flexible system

  • NP! Yes, you can add them to one family which will exist purely for counting turns. Don't worry, it won't restrict your architecture. It's still possible to add them to other families. It's probably possible to do it the other way, but having them in one family seems easy enough

  • Add a global variable that represents character's turn. Give characters a variable that represents their position in a queue. Allow action only when character's variable matches the global one, add 1 to global var after each turn and set it back to zero when the last character makes a move. If an enemey and a character are different objects, then you may want to unite them under one family and assign their position variable to this family instead(a good practice btw. Helps a lot with picking objects of the same kind)

  • Tilemaps handle collisions diffrently and it's probably best to "disable" chunks altogether when you don't need them. A more viable aproach in this case would be storing the world data in an array and use only handfull of chunks around the player when they move. For example you can use 9 chunks around the player and when he exits the central chunk, the furthest ones change position to the front of player's movement, while getting world data from the array and setting tiles accordingly. Alternatively you can update one single tilemap object and shift all objects to create an illusion of seamless movement. I tried this aproach with an infinite world and performance is pretty solid even with bitwise autotiling slapped on top of the whole process. If you're interested you can check the "infinite runner" example

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't see any reason not to use object pooling to be honest. I tested it many times in construct and it always works better. I believe pooling is THE way to do bullets in such games. If only 400 bullets are droping your performance then you should check if anyhthing is done to them while they're in the pool and not active. Just disable them altogether until you shot them

  • Check out this video

    youtube.com/watch

  • This is crazy! Keep up the good work! Love the gltf format btw. So much information can be stored within just one file. I think it'll be possible to make a real eye candy inside Construct. Especially with some fog options

  • Thanks for the help, guys. I managed to make it work by following oosyrag's suggestion to use additional array to store bitwise data. It turns out I only needed to store four values for each direction around the tile and just use the same bitwise method during tile placement. Worked like a charm

  • Thanks for the link, newt. I'll try the plugin. Hope it just works

  • Oh I get it. Get the bitwise data before scrolling and add it to the tile in the same event it scrolled. I should give it a try, thanks, oosyrag

RadioMars's avatar

RadioMars

Member since 22 Dec, 2011

None one is following RadioMars yet!

Trophy Case

  • 12-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Lightning Draw First person to up-vote a new Construct 3 release
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies