Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more graphic functions #16

Open
nguyengiabach1201 opened this issue Jul 15, 2024 · 2 comments
Open

Add more graphic functions #16

nguyengiabach1201 opened this issue Jul 15, 2024 · 2 comments

Comments

@nguyengiabach1201
Copy link

I really want a BPCore to have some more graphic functions to draw such as line, point, rect, circle, ...

@evanbowman
Copy link
Owner

Hi! I could try to add some graphic functions, but, unfortunately:

  1. The GBA hardware does not allow drawing individual pixels and displaying tile layers at the same time. Allowing software rasterization would disable the hardware accelerated graphics support, so background layers would no longer appear.
  2. If I enable software rasterization and displaying individual pixels, the engine could slow down significantly if people use line/point/circle graphics drawing features. The GBA CPU speed is limited, and it would not be possible to draw very much without significantly reducing the framerate.

@RodrigoDornelles
Copy link

I really want a BPCore to have some more graphic functions to draw such as line, point, rect, circle, ...

I'm working on a multiplatform game engine that also supports GBA. Currently, support is much lower and there aren't many optimizations.

But you might like it, it's simple and has an online IDE and npmjs cli package.

https://github.com/gamelly/core-native-gba

@nguyengiabach1201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants