Is spritesheet demo appropriate for tilemapping

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
greycoder
DCEmu Newbie
DCEmu Newbie
Posts: 2
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Sun Aug 27, 2023 12:17 pm
Has thanked: 2 times
Been thanked: 2 times

Is spritesheet demo appropriate for tilemapping

Post by greycoder »

I have looked over the guide https://dreamcast.wiki/PVR_Spritesheets on how to do sprites. It was very helpful.

I am interested in doing 2D tile maps, basically rendering https://www.mapeditor.org/ maps. Is the best way to do this to just render a series of fixed-dimension sprites? Or is there a better way?

I looked over the KOS examples and didn't find exactly what I was looking for.

I also wondered what the most current way people are doing page flipping is.
TapamN
DC Developer
DC Developer
Posts: 108
Joined: Sun Oct 04, 2009 11:13 am
Has thanked: 2 times
Been thanked: 90 times

Re: Is spritesheet demo appropriate for tilemapping

Post by TapamN »

Using the sprite command for tile maps works fine. I worked on an unfinished port of Micropolis (open source SimCity Classic), and I used the sprite command to render the city as a 120x100 tile tilemap without issues.

When using KOS's PVR driver, the driver will handle flipping automatically.
These users thanked the author TapamN for the post:
greycoder
User avatar
lerabot
Insane DCEmu
Insane DCEmu
Posts: 134
Joined: Sun Nov 01, 2015 8:25 pm
Has thanked: 2 times
Been thanked: 19 times

Re: Is spritesheet demo appropriate for tilemapping

Post by lerabot »

Sprites are quite fast for this. You should be able to render Tiled map with the DC.

Add me on Discord (bertholet) if you want to talk about it, I could be interested in a Tiled map reader for the DC.
Post Reply