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

Problem with Graphics.fillEmptyRect #35

Open
sqrg opened this issue Feb 1, 2018 · 4 comments
Open

Problem with Graphics.fillEmptyRect #35

sqrg opened this issue Feb 1, 2018 · 4 comments
Labels

Comments

@sqrg
Copy link

sqrg commented Feb 1, 2018

Using latest build, unsafe eboot

index.lua:

switch_grey = Color.new(57, 50, 44)

while true do

    Graphics.initBlend()
    Screen.clear()

    Graphics.fillRect(0, 960, 0, 544, switch_grey)

    Graphics.fillEmptyRect(10, 50, 100, 250, Color.new(25, 200, 120))

    Graphics.termBlend()

    Screen.flip()

end

2018-01-31-230842

.vpk download

@Rinnegatamante
Copy link
Owner

Rinnegatamante commented Feb 14, 2018

Stick with nightly instead of official build. Issues with rects are solved in it.

@sqrg
Copy link
Author

sqrg commented Feb 14, 2018

I'm pretty sure I was using the latest nightly, but maybe I messed up. I'll try again tonight and report back. Thanks

@sqrg
Copy link
Author

sqrg commented Feb 17, 2018

Hey, I just tried with the latest nightly (Build time: Sat Feb 17 06:01:30 EET 2018) and I get the same error.

Here's a 7zip file with the builder I've downloaded and the resulting .vpk

@Rinnegatamante
Copy link
Owner

Mmmhh that's strange.
In the meantime you can replace the fillEmptyRect call with two fillRect (one for the internal area and one for the border).
I'll look into this further.

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

No branches or pull requests

2 participants