@@ -7,13 +7,15 @@ The window resolution is currently fixed at 1920 x 1080, but you can change this
77```` python
88screen = pygame.display.set_mode((1920 , 1080 ), pygame.FULLSCREEN )
99````
10+ (SimpleGUI.py, Line 194)
1011 If you want to use Center(), you will also need to adjust the resolution in the GUIWindow class's Center() method:
1112```` python
1213 def Center (self ):
1314 self .x = (1920 - self .width) / 2
1415 self .y = (1080 - self .height) / 2
1516 print (" [GUIWINDOW] Fenster zentriert" )
1617````
18+ (SimpleGUIClasses.py, Line 64 - 67)
1719
1820# Getting Started
1921
@@ -27,9 +29,10 @@ from SimpleGUIClasses import GUIWindow, GUILabel, GUIButton, GUITextEntry
2729import SimpleGUIClasses
2830from SimpleGUICSSParser import *
2931````
32+ (SimpleGUI.py, Line 1 - 6)
3033
3134## Starting a Lua Script
32- Currently, you can only change the name of the Lua script to be launched in the engine itself. The default is script.lua,
35+ Currently, you can only change the name of the Lua script to be launched in the engine code itself. The default is script.lua,
3336```` python
3437try :
3538 with open (" script.lua" , " r" , encoding = " utf-8" ) as f:
@@ -40,6 +43,7 @@ except Exception as e:
4043 logger.error(f " Error loading script.lua: { e} " )
4144 logger.info(" Press F3 for debug log or press F5 to run Callback script." )
4245````
46+ (SimpleGUI.py, Line 171)
4347and it is launched automatically when the engine starts.
4448
4549# Lua Scripting
@@ -204,4 +208,4 @@ The tick speed is currently very high (1000) and only intended for good GPUs and
204208```` python
205209 clock.tick(1000 )
206210````
207- (in SimpleGUI.py)
211+ (in SimpleGUI.py, Line 250 )
0 commit comments