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

[Heads Up]: Crash whilst trying to print text #245

Open
1 task done
pro6836 opened this issue Dec 23, 2024 · 0 comments
Open
1 task done

[Heads Up]: Crash whilst trying to print text #245

pro6836 opened this issue Dec 23, 2024 · 0 comments
Labels

Comments

@pro6836
Copy link

pro6836 commented Dec 23, 2024

Software Version

current

What Happened?

So, when trying to print text, DONT make it over lap, don't try to print text twice, it will crash ur console, what you should do, if its a console type thing your making, implement a text system, check reproduction code for fix, Not a bug ( kinda is tho ), doesnt need to be fixed because its a simple fix, just a heads up so that people know why their games/apps are crashing.

What was Expected?

Expected

Code to Reproduce

local text = {} --store text

function love.draw(screen)
     --to fix text overlaping
     for i, msg in ipairs(text) do
          love.graphics.printf(msg, 10, 30 + (i * 20), love.graphics.getWidth() - 20)
     end
end
-- works for any screen on 3DS other consoles not tested...

Console

Nintendo 3DS

Firmware Version(s)

Just a fix for a common error

Custom Firmware Version

Just a fix for a common error

Execution Method

Homebrew Menu

Code of Conduct

  • I have read the Code of Conduct and agree to these terms
@pro6836 pro6836 added the bug label Dec 23, 2024
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

1 participant