-
Notifications
You must be signed in to change notification settings - Fork 5
Alphabet fixes #24
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
base: alpha
Are you sure you want to change the base?
Alphabet fixes #24
Conversation
Instead of using maximum height of all letters in font it only uses the heights ot the line!
TechnikTil
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Baran, this is great for your first PR! There are some small nitpicks/issues though.
| for (line in realLines) | ||
| { | ||
| // Skip it if the line is fully empty | ||
| if (line.length == 0 && realLines.indexOf(line) == realLines.length - 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if (line.length == 0 && realLines.indexOf(line) == realLines.length - 1) | |
| if (line.length == 0) |
I don't see why we would check if this is in the last array... If this is intentional, say it in the comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after realLines is created for me there was a extra array that had nothing at all if i didn't mess up it suppose to clear that extra array
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fair...
what exactly would happen if this check didnt exist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't check but it might move the text up slightly
not sure of course- i still don't understand how haxe works
Co-authored-by: TechnikTil <techniktil@tilnotdrip.org>
Co-authored-by: TechnikTil <techniktil@tilnotdrip.org>
Co-authored-by: TechnikTil <techniktil@tilnotdrip.org>
Co-authored-by: TechnikTil <techniktil@tilnotdrip.org>
this pull request makes that alphabet hx using maximum heights of the current line instead of all letters in the font
and fixing the title state intro text collising the newgrounds logo