Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Large Textures & maps  (Read 2691 times)

0 Members and 3 Guests are viewing this topic.

Qluxzz

  • Guest
Large Textures & maps
« on: June 24, 2013, 09:25:34 pm »
Hi there. I'm trying to make a sidescroller type game. The problem I'm having is that I don't know how to make large maps without getting the Texture size error. For example: In the game Limbo they have huge maps without running into an error like that. How is this done?

Thanks in advance
 

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Large Textures & maps
« Reply #1 on: June 24, 2013, 09:43:06 pm »
Split it into multiple textures.
Laurent Gomila - SFML developer

Polyfructol

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Large Textures & maps
« Reply #2 on: June 24, 2013, 09:52:15 pm »
In Limbo, there is large maps, but there is no need to load "large" textures. They just display a lot of objects at given positions. That's why map editor exists: http://forum.unity3d.com/attachment.php?attachmentid=31197&stc=1&d=1329779441

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Large Textures & maps
« Reply #3 on: June 24, 2013, 10:28:28 pm »
Today's 3D games display millions of triangles per second. This is "so much".
A simple 2D game made of tiles (a few thousands?) is not much. Your graphics card is laughing.
Laurent Gomila - SFML developer

Polyfructol

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Large Textures & maps
« Reply #4 on: June 24, 2013, 10:42:05 pm »
Yeah I guess so. I might just be stuck in the 1980's xD

Not even close :).

NES sprite size limit was 8x16 pixels. From the beggining, games are made by displaying a lot of "relatively" tiny elements next together.

 

anything