Set Fullscreen and Smooth Scaling within Ruby #122

Closed
opened 2015-07-07 14:13:10 +00:00 by PabloNeirotti · 3 comments
PabloNeirotti commented 2015-07-07 14:13:10 +00:00 (Migrated from github.com)

Hi there!

I was wondering if there was a way to, from within Ruby, to make the game Fullscreen or not, or make it use the smoothScaling option or not.

There settings can be both defined in the config file (or Alt + Enter to toggle Fullscreen), but I want to provide this as part of the Settings menu.

I tried to do Graphics.fullscreen = true (innocent me!) to no luck. Don't know about smoothScaling.

Any clues?

Thank you!

Hi there! I was wondering if there was a way to, from within Ruby, to make the game Fullscreen or not, or make it use the smoothScaling option or not. There settings can be both defined in the config file (or Alt + Enter to toggle Fullscreen), but I want to provide this as part of the Settings menu. I tried to do `Graphics.fullscreen = true` (innocent me!) to no luck. Don't know about smoothScaling. Any clues? Thank you!
Ancurio commented 2015-07-07 14:16:48 +00:00 (Migrated from github.com)

I tried to do Graphics.fullscreen = true (innocent me!) to no luck.

Hmm, that should have worked.

> I tried to do Graphics.fullscreen = true (innocent me!) to no luck. Hmm, that should have worked.
PabloNeirotti commented 2015-07-07 18:13:14 +00:00 (Migrated from github.com)

Ok no, that is working in fact. I just forced it on every Scene update and worked (I guess one of my checks was overwritting it to false)

So that's a thing! Thanks! Now, can Smooth Scaling be controlled the same way with some method?

Ok no, that is working in fact. I just forced it on every Scene update and worked (I guess one of my checks was overwritting it to false) So that's a thing! Thanks! Now, can Smooth Scaling be controlled the same way with some method?
Ancurio commented 2015-07-07 23:47:22 +00:00 (Migrated from github.com)

So that's a thing! Thanks! Now, can Smooth Scaling be controlled the same way with some method?

Currently, no.

> So that's a thing! Thanks! Now, can Smooth Scaling be controlled the same way with some method? Currently, no.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MapleShrine/mkxp#122
No description provided.