Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Objects list : How to use it?
#6
Sprites in Tilengine are statically allocated during init, you set the maximum number of sprites the engine will manage. All sprite functions take an index number indicating which sprite are you dealing with. Background layers work this way too. This is to mimick actual 2D graphic chips, where sprites and layers are hardware slotted and you don't create or destroy them, but instead you enable/configure them.

The sega megadrive/genesis has 80 sprites, the super nintendo/famicom 128, and the NeoGeo has 380 -but no background layers-, to give you an idea.
Reply


Messages In This Thread
Objects list : How to use it? - by System64 - 12-19-2020, 05:20 AM
RE: Objects list : How to use it? - by megamarc - 12-19-2020, 06:09 PM
RE: Objects list : How to use it? - by System64 - 12-19-2020, 09:57 PM
RE: Objects list : How to use it? - by megamarc - 12-19-2020, 10:27 PM
RE: Objects list : How to use it? - by System64 - 12-19-2020, 11:29 PM
RE: Objects list : How to use it? - by megamarc - 12-19-2020, 11:59 PM
RE: Objects list : How to use it? - by System64 - 12-20-2020, 12:07 AM
RE: Objects list : How to use it? - by megamarc - 12-20-2020, 12:15 AM
RE: Objects list : How to use it? - by System64 - 12-20-2020, 02:58 AM
RE: Objects list : How to use it? - by megamarc - 12-20-2020, 03:14 AM
RE: Objects list : How to use it? - by System64 - 12-20-2020, 04:14 AM
RE: Objects list : How to use it? - by megamarc - 12-20-2020, 08:05 AM
RE: Objects list : How to use it? - by System64 - 12-20-2020, 09:25 AM
RE: Objects list : How to use it? - by megamarc - 12-20-2020, 05:17 PM
RE: Objects list : How to use it? - by System64 - 12-20-2020, 10:06 PM
RE: Objects list : How to use it? - by megamarc - 12-21-2020, 03:14 AM
RE: Objects list : How to use it? - by System64 - 12-21-2020, 04:13 AM
RE: Objects list : How to use it? - by megamarc - 12-21-2020, 07:41 AM
RE: Objects list : How to use it? - by System64 - 12-21-2020, 07:53 AM
RE: Objects list : How to use it? - by megamarc - 12-21-2020, 08:23 AM
RE: Objects list : How to use it? - by System64 - 12-21-2020, 09:15 AM
RE: Objects list : How to use it? - by megamarc - 12-24-2020, 06:47 AM
RE: Objects list : How to use it? - by System64 - 12-24-2020, 06:56 AM
RE: Objects list : How to use it? - by megamarc - 12-24-2020, 04:33 PM
RE: Objects list : How to use it? - by System64 - 12-24-2020, 09:43 PM
RE: Objects list : How to use it? - by megamarc - 12-25-2020, 07:31 AM
RE: Objects list : How to use it? - by System64 - 12-25-2020, 08:59 AM
RE: Objects list : How to use it? - by megamarc - 12-27-2020, 05:05 PM
RE: Objects list : How to use it? - by System64 - 12-27-2020, 09:44 PM
RE: Objects list : How to use it? - by megamarc - 12-28-2020, 05:58 PM
RE: Objects list : How to use it? - by System64 - 12-28-2020, 09:13 PM
RE: Objects list : How to use it? - by megamarc - 12-28-2020, 10:42 PM
RE: Objects list : How to use it? - by System64 - 12-29-2020, 01:31 AM
RE: Objects list : How to use it? - by megamarc - 12-31-2020, 10:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)