Replicate vs. Tile vs. Individually Placing Actor???

dotsonj23dotsonj23 Member Posts: 316
edited November -1 in Working with GS (Mac)
From a performance perspective, what is better for the following situation: I need to place the same visible non-movable actor with no rules within my scene about 400 times (i.e., a tile background for part of the scene. Which of the below options will result in better performance: (1) using the tile function under graphics attribute; (2) using the replicate function; or (3) individually placing the multiple identical actor instances. Any one of the options will result in the look I need, but I would like to use the option that results in the best performance. FYI.... I would prefer to replicate since I will be doing this with several scenes and it takes me a lot less time to get that working than individually placing or even tiling. Thanks in advance for any advice you may have.

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi, I'd say definitely the Tile option in the Graphics section.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • dotsonj23dotsonj23 Member Posts: 316
    Thanks. I hope so, since that is what I guessed and started doing that. I suspect that has to be much better than placing 400 copies of the same actor on the scene. But if anyone knows that replicate will work better as far as performance, please let me know.
  • BSideGamesBSideGames Member Posts: 392
    I'm doing the same thing right now in my game.
    I was told when I ask the same ? that the image gets loaded one time no matter how you go about it.
    I think the tile option is the best for fast work, I have tiles that span from 2 to 200 in horizontal and vertical.
  • dotsonj23dotsonj23 Member Posts: 316
    AsherScott said:
    I'm doing the same thing right now in my game.
    I was told when I ask the same ? that the image gets loaded one time no matter how you go about it.
    I think the tile option is the best for fast work, I have tiles that span from 2 to 200 in horizontal and vertical.

    Thank you.
  • dotsonj23dotsonj23 Member Posts: 316
    Ok, so I tested the difference between tile and replicate. Everything else was the same. Replicate came out the winner (barely)

    Replicate Stats: 44 frames per second; Total memory: 12 MB

    Tile State: 42 frames per second; Total memory: 13.11 MB

    Not much of a difference. Also, what is the minimum acceptable frame rate for an IPAD game?
Sign In or Register to comment.