Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9198097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:12:29+00:00 2026-06-17T22:12:29+00:00

In a game I’m building I want to make a UIView that represents a

  • 0

In a game I’m building I want to make a UIView that represents a tiled map. I’d like to know if a UIView filled with a grid of UIImageViews would lag when animated around the screen? My first thought is that if UIVIew was really optimized the subviews would know not to draw themselves if they weren’t on screen, but I don’t know the details of how UIView optimizes drawing.

Also, if this approach is possible, is there an upper bound on how many 64×64 pixel tiles I could have in one view before it has issues?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:12:30+00:00Added an answer on June 17, 2026 at 10:12 pm

    If you want to represent a tiled map, why not use CATiledLayer? This is what provides support for the tiling seen in, for example, Maps. It provides asynchronous drawing of tiles with crossfading, support for different zoom levels, etc.

    If you were to go with your original idea, I would suggest that you remove imageviews that are offscreen (assuming a large-enough grid to begin with). It’s easy enough to do that with the scrollview delegate methods. Given that, any lag you experience would probably be due to trying to process a bunch of image data on the main thread (which is one benefit of CATiledLayer; all the drawing happens on background threads).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a game that will allow content development and I'd like it to
Making game of life I need to a have a grid that is 30x20
I am making a game in java and I want to create a simulation
In my game I have a grid of smaller UIViews hosted on my main
I am creating a game for android devices where I want to integrate a
I have a PHP game which uses a MySQL table (history) that keeps track
I am building a game using cocos2d-iphone 0.99.4 and Xcode 3.2.4. When I try
The game is simple where the Pan object catches the Pizza objects that are
I have written a game in Flash (AS3/Flex SDK/MXMLC) that streams music and sound
Game engines like Quack, OGRE3D, JMonkeyEngine and Blender are used for PC games but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.