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

Author Topic: 4800 Sprites fast drawing  (Read 3548 times)

0 Members and 1 Guest are viewing this topic.

Zerod

  • Newbie
  • *
  • Posts: 3
    • View Profile
4800 Sprites fast drawing
« on: July 15, 2009, 03:18:04 pm »
Hello,

i want to make a little game. its a  tile based game with max. 4800. But when i want to draw all 4800 tile, the FPS rate goes to 5 FPS.

What should i do?

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
4800 Sprites fast drawing
« Reply #1 on: July 15, 2009, 03:40:55 pm »
Are there really 4800 sprites on the screen? And each of them has to be drawn?

Looks like you could merge some sprites to bigger, but fewer ones. Or you directly use OpenGL.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Zerod

  • Newbie
  • *
  • Posts: 3
    • View Profile
4800 Sprites fast drawing
« Reply #2 on: July 15, 2009, 03:53:58 pm »
4800 sprites is a worst case szenario

csiz

  • Newbie
  • *
  • Posts: 30
    • Yahoo Instant Messenger - calinutzu92
    • View Profile
    • Email
4800 Sprites fast drawing
« Reply #3 on: July 15, 2009, 06:09:57 pm »
That would be confusing for the player even if it worked fast ... try to make that situation almost imposible
My new webpage calinmocanu

 

anything