AntonioND / nitro-engine

3D engine for the Nintendo DS
154 stars 12 forks source link

[Improvement] Add real 2D support #11

Closed Fewnity closed 1 year ago

Fewnity commented 2 years ago

Hello, For me the big problem of Nitro Engine is the 2D. Because if the 2D system we are limited to 30fps in dual screen mode if we just want to use 3D at the top and 2D at the bottom. Real 2D would allow 60 fps with both screen mode. You are adding the support of compressed textures, maybe it's time to support real 2D right? :)

Thanks!

AntonioND commented 2 years ago

Hi!

Yes, I agree lack of clear guidelines to use 2D graphics is an issue.

To be honest, I'm not sure if adding 2D support to Nitro Engine is a great idea. I was thinking that maybe it would be better if I added a couple of examples combining NFlib or libnds with NE to show how to use 2D graphics. Do you think this would be a good option for you?

Antonio

Fewnity commented 2 years ago

Yes a mix of NightFox and NE would be great! I already tried to mix NE and NF but without success I don't know why.

AntonioND commented 1 year ago

Hey! I have been working on this for a few days, and I finally got to ask the author of NFlib about it. This is an example of how to integrate both libraries in the same project!

https://github.com/AntonioND/nitro-engine/tree/bb04ea86a5d6226b06d7d4d65565969950c3d1cd/examples/templates/using_nflib

AntonioND commented 1 year ago

I consider NFlib to be enough for the 2D support (and anyone can use libnds if that's not enough!) so I'm going to close this.