We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current window setup methods :
void VDP_setWindowHPos(u16 right, u16 pos); void VDP_setWindowVPos(u16 down, u16 pos);
are close to internals registers setup but not really user friendly.
Adding methods as :
VDP_setwnidowOff() VDP_setWindowOnTop/Bottom/Left/Right(..)
would be much more easier to deal with.
Usage examples : want a 32px high HUD at the top? (think shmups) VDP_setWindowOnTop(4);
VDP_setWindowOnTop(4);
96px HUD at the side (don't forget width is in 16px steps, not 8px like height): VDP_setWindowOnRight(6);
VDP_setWindowOnRight(6);
Set up window for vertical split screen (i.e. the right half of the screen): VDP_setWindowOnRight(10);
VDP_setWindowOnRight(10);
The text was updated successfully, but these errors were encountered:
Perhaps it makes sense to have the helper function units in pixels and >>3 or >>4 appropriately?
Sorry, something went wrong.
Stephane-D
No branches or pull requests
The current window setup methods :
are close to internals registers setup but not really user friendly.
Adding methods as :
would be much more easier to deal with.
Usage examples :
want a 32px high HUD at the top? (think shmups)
VDP_setWindowOnTop(4);
96px HUD at the side (don't forget width is in 16px steps, not 8px like height):
VDP_setWindowOnRight(6);
Set up window for vertical split screen (i.e. the right half of the screen):
VDP_setWindowOnRight(10);
The text was updated successfully, but these errors were encountered: