Skip to content

Add a new slider in graphics to select the quality (Potato, Fast and Fancy)#1188

Open
Bakoubak wants to merge 4 commits intosmartcmd:mainfrom
Bakoubak:main
Open

Add a new slider in graphics to select the quality (Potato, Fast and Fancy)#1188
Bakoubak wants to merge 4 commits intosmartcmd:mainfrom
Bakoubak:main

Conversation

@Bakoubak
Copy link

Description

This PR adds a new slider in graphics to configure the current graphics level (Potato, Fast and Fancy)
(I think this supports the community guidelines, it is integrated in the code but never used and it is nice for peoples with older/weaker computers)

Previous Behavior

The game always assumed Fancy as the default

Root Cause

Graphics mode switching was never implemented and can be helpfull for older devices or weaker configurations.

New Behavior

Added a new slider in graphics to select the graphics quality

Fix Implementation

Added the slider in the SWF (Iggy), packed it in the .arc, then i added most of the code for this in the cpp side. Clouds are set to 2d for potato and fast, Leaves as fast for potato and fast, and ambient occlusion is disabled for potato.

AI Use Disclosure

The only use of AI here was to vibecode an arc opener/editor, and to understand how i was supposed to mess with the swf file. The code is authored only by myself.

Related Issues

* Potato Mode for very low end devices, sets particules to minimal, graphics to fast and disables Ambient Occlusion.

* Fast Mode for low/mid end devices, sets particules to decreased, graphics to fast with Ambient Occlusion.

* Fancy Mode for mid/hight end devices, sets particules to maximum, graphics to fancy with Ambient Occlusion
@Bakoubak
Copy link
Author

Here are the results:

[Potato Mode]
image
image

[Fast Mode]
image
image

[Fancy Mode]
image
Uploading image.png…

@Bakoubak
Copy link
Author

github seems to have mixed up every pictures... It goes from potato, fast to fancy.

@linkana20
Copy link

que versión usa Minecraft Legacy Edition

@codeHusky
Copy link
Collaborator

why are all of the sliders just white

@Bakoubak
Copy link
Author

why are all of the sliders just white

Im running on wine, it works fine on Proton-GE for some reason lmao

@Bakoubak
Copy link
Author

Added hot reload capabilities instead of having to leave everytime to apply the settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Suggestion] Fast/Fancy graphics option?

3 participants