-
Notifications
You must be signed in to change notification settings - Fork 39
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
Expand Mega Surface support #148
base: dev
Are you sure you want to change the base?
Commits on Jan 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2247f1d - Browse repository at this point
Copy the full SHA 2247f1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43ac2b3 - Browse repository at this point
Copy the full SHA 43ac2b3View commit details -
Fix blitting from megatextures
Code mostly taken from the implementation in Bitmap::drawText
Configuration menu - View commit details
-
Copy full SHA for 086adde - Browse repository at this point
Copy the full SHA 086addeView commit details -
Change the create Bitmap from surface constructor to always take owne…
…rship of the surface, and provide an option to leave it as a mega surface
Configuration menu - View commit details
-
Copy full SHA for 44739b8 - Browse repository at this point
Copy the full SHA 44739b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed0ef42 - Browse repository at this point
Copy the full SHA ed0ef42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d02148 - Browse repository at this point
Copy the full SHA 8d02148View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d9806c - Browse repository at this point
Copy the full SHA 1d9806cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b4b12b - Browse repository at this point
Copy the full SHA 8b4b12bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9a1aeb - Browse repository at this point
Copy the full SHA b9a1aebView commit details -
Limit squeezing text to a minimum of 50%
Not quite accurate to what VX Ace is doing, but I think that's mostly because of kerning differences.
Configuration menu - View commit details
-
Copy full SHA for e0290eb - Browse repository at this point
Copy the full SHA e0290ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e2a4aa - Browse repository at this point
Copy the full SHA 9e2a4aaView commit details -
Match some outline positioning behavior from RGSS and enable transpar…
…ent outlines Outlines should 1) Not change the position of the text and 2) Be visible even if the text is cut off from reaching the edge of the rect, without leaving the rect itself. We're currently not drawing full text for the outlines like RGSS does, so we don't perfectly succeed at (2), but if we ever start doing that then the logic is already there. Text transparency with outlines present still doesn't match Enterbrain's implementation, but I gave up on trying to figure that out.
Configuration menu - View commit details
-
Copy full SHA for c1b50ba - Browse repository at this point
Copy the full SHA c1b50baView commit details
Commits on Jan 8, 2024
-
More properly handle src_rects in sprites with negative positions or …
…too-large dimensions. I also fixed a small bug in how the wave position was calculated. I ALSO fixed src_rects in general for waves. (How was that not noticed before now?)
Configuration menu - View commit details
-
Copy full SHA for b7ad640 - Browse repository at this point
Copy the full SHA b7ad640View commit details
Commits on Jan 10, 2024
-
Ruby is not guaranteed to delete bitmaps after any windows, sprites, etc that they are attached to. In the event that the attached object is not deleted before the next call to Graphics.update, this will most likely result in a segfault, as isDisposed() is not guaranteed to return true for a deleted bitmap. Bitmap::invalid was added in an attempt to guard against this for sprites, but since the bitmap in question is deleted it's not guaranteed that the pointer actually points to null, which made the fix unreliable.
Configuration menu - View commit details
-
Copy full SHA for 35d46e6 - Browse repository at this point
Copy the full SHA 35d46e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bb6a9b - Browse repository at this point
Copy the full SHA 9bb6a9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce12247 - Browse repository at this point
Copy the full SHA ce12247View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d1932c - Browse repository at this point
Copy the full SHA 3d1932cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8d6471 - Browse repository at this point
Copy the full SHA b8d6471View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6668022 - Browse repository at this point
Copy the full SHA 6668022View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83ee323 - Browse repository at this point
Copy the full SHA 83ee323View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57fb65f - Browse repository at this point
Copy the full SHA 57fb65fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce239f6 - Browse repository at this point
Copy the full SHA ce239f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c25c9a - Browse repository at this point
Copy the full SHA 1c25c9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60241f0 - Browse repository at this point
Copy the full SHA 60241f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57b1130 - Browse repository at this point
Copy the full SHA 57b1130View commit details -
Configuration menu - View commit details
-
Copy full SHA for f985437 - Browse repository at this point
Copy the full SHA f985437View commit details -
Configuration menu - View commit details
-
Copy full SHA for 705b319 - Browse repository at this point
Copy the full SHA 705b319View commit details -
Configuration menu - View commit details
-
Copy full SHA for db50c46 - Browse repository at this point
Copy the full SHA db50c46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77fb2d8 - Browse repository at this point
Copy the full SHA 77fb2d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb7384c - Browse repository at this point
Copy the full SHA eb7384cView commit details -
Support mega surfaces in Windows, Planes, and Sprites
I'm implementing this via "child" bitmaps, which determine which part of the parent will be visible, manually shrink it if necessary, and send back new values for zoom and offsets. Window contents and Planes are currently fully functional. Window skins still aren't supported, because it seemed unlikely that would be needed. Sprites support everything except patterns.
Configuration menu - View commit details
-
Copy full SHA for 657f9d1 - Browse repository at this point
Copy the full SHA 657f9d1View commit details -
The old code only functioned perfectly on squares.
Configuration menu - View commit details
-
Copy full SHA for 2d0ad61 - Browse repository at this point
Copy the full SHA 2d0ad61View commit details