Scripts / [SOLVED] Newbie low details script to speedup personnal simple games

Author
Message
Brother
11
Years of Service
User Offline
Joined: 2nd Jul 2012
Location:
Posted: 14th Sep 2021 12:04
Hi,

I use GameGuru Classic and i am very happy with it.

I have finished Tutorial Serie 1 and i build some graphical case (lava fountain, teleporter, flotability, fly, personnal decals, ...) and simple maps, still working/learning on interacting characters, memory array, and so on..

I also starting to build map with lot of kind items.
I avoid animated plants to not lose fps, i have also limited far view with mountains arround my zone (like in tutorial serie 1).

When i make a standalone game, the compiler include possibility to obtain lowest details. (by detecting low fps)

In this mode it's fast. The details are low but for the simples games i build it's enough.

Is there a script i could include in a trigger zone linked to my start position marker to execute a "lower detail script" ?
I dont know all script function but i think it's the kind of script some experienced user have already done.

I would be pleased if somebody give me hint or link to find one.

Best regards
I am not english so xcuse my syntax, grammary or anything else wich could occure some ununderstanding

The author of this post has marked a post as an answer.

Go to answer
PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 14th Sep 2021 16:40
I'm not aware of a script that can turn that particular mode on or off. The efficiency steps in tutorials (you already mentioned) will be your best bet. Things like texture optimization (paint.net) and LOD for models which I've heard can be set in the .fpe? Good work!
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 14th Sep 2021 18:10 Edited at: 14th Sep 2021 18:15
This post has been marked by the post author as the answer.
SetGameQuality( g_iGraphicChoice ) is the function to call.

Not sure what values it can take but 0 or 1 will probably be 'low' settings.

Edited to add:
According to the graphics.lua script in titlesbank:
if iHighlightButton==GRAPHICS_LOW then
g_iGraphicChoice = 1
SetGameQuality(g_iGraphicChoice)
end
if iHighlightButton==GRAPHICS_MEDIUM then
g_iGraphicChoice = 2
SetGameQuality(g_iGraphicChoice)
end
if iHighlightButton==GRAPHICS_HIGH then
g_iGraphicChoice = 3
SetGameQuality(g_iGraphicChoice)
end

So 1 is lowest setting.
Been there, done that, got all the T-Shirts!
PM
Brother
11
Years of Service
User Offline
Joined: 2nd Jul 2012
Location:
Posted: 14th Sep 2021 18:48
Thank you AmenMoses and GubbyBlips.

You gave me precious information, i think i have enough information to do what i need.

Best regards
I am not english so xcuse my syntax, grammary or anything else wich could occure some ununderstanding
PM

Login to post a reply

Server time is: 2024-04-18 12:45:28
Your offset time is: 2024-04-18 12:45:28