[Frage]Loadingscreens

04/27/2014 17:58 Fratze1996#1
Guten Tag

Ich bitte nochmal darum, dass sich [Only registered and activated users can see links. Click Here To Register...] doch bitte Jemand mit Ahnung anschauen möge.
Bitte um Lösung.


mfg Fratze1996
04/27/2014 19:55 rollback#2
ein einfaches "bump" reicht ...
04/27/2014 22:58 Poccix#3
Wie wäre es in der loadingwindow.py in locale/de/ui/ die Maße bei Background auch anzupassen ? :)
04/27/2014 23:05 Fratze1996#4
Gute Idee, werds ausprobieren, und danke schonmal im Vorraus wens klappt.


PS: Du meinst die loadingwindow.py so anpassen oder wie?
Code:
import uiScriptLocale

window = {

	"x" : 0,
	"y" : 0,

	"width" : SCREEN_WIDTH,
	"height" : SCREEN_HEIGHT,

	"children" :
	(
		## Board
		{
			"name" : "BackGround",
			"type" : "expanded_image",

			"x" : 0,
			"y" : 0,

			"image" : "d:/ymir work/ui/intro/pattern/Line_Pattern.tga",

			"x_scale" : float(SCREEN_WIDTH) / 1920.0,
			"y_scale" : float(SCREEN_HEIGHT) / 1080.0,
		},
		{ 
			"name":"ErrorMessage", 
			"type":"text", "x":10, "y":10, 
			"text": uiScriptLocale.LOAD_ERROR, 
		},
		
		{
			"name" : "GageBoard",
			"type" : "window",
                        "style" : ("ltr",),
			"x" : float(SCREEN_WIDTH) * 400 / 800.0 - 200,
			"y" : float(SCREEN_HEIGHT) * 500 / 600.0 ,
			"width" : 400, 
			"height": 80,

			"children" :
			(
			
				{
					"name" : "BackGage",
					"type" : "expanded_image",

					"x" : 40,
					"y" : 25,

					"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/gauge_empty.dds",
				},
				{
					"name" : "FullGage",
					"type" : "expanded_image",

					"x" : 40,
					"y" : 25,

					"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/gauge_full.dds",
				},
			),
		},
	),
}
04/28/2014 02:31 Raizon.#5
Quote:
Originally Posted by Fratze1996 View Post
Gute Idee, werds ausprobieren, und danke schonmal im Vorraus wens klappt.


PS: Du meinst die loadingwindow.py so anpassen oder wie?
Code:
import uiScriptLocale

window = {

	"x" : 0,
	"y" : 0,

	"width" : SCREEN_WIDTH,
	"height" : SCREEN_HEIGHT,

	"children" :
	(
		## Board
		{
			"name" : "BackGround",
			"type" : "expanded_image",

			"x" : 0,
			"y" : 0,

			"image" : "d:/ymir work/ui/intro/pattern/Line_Pattern.tga",

			"x_scale" : float(SCREEN_WIDTH) / 1920.0,
			"y_scale" : float(SCREEN_HEIGHT) / 1080.0,
		},
		{ 
			"name":"ErrorMessage", 
			"type":"text", "x":10, "y":10, 
			"text": uiScriptLocale.LOAD_ERROR, 
		},
		
		{
			"name" : "GageBoard",
			"type" : "window",
                        "style" : ("ltr",),
			"x" : float(SCREEN_WIDTH) * 400 / 800.0 - 200,
			"y" : float(SCREEN_HEIGHT) * 500 / 600.0 ,
			"width" : 400, 
			"height": 80,

			"children" :
			(
			
				{
					"name" : "BackGage",
					"type" : "expanded_image",

					"x" : 40,
					"y" : 25,

					"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/gauge_empty.dds",
				},
				{
					"name" : "FullGage",
					"type" : "expanded_image",

					"x" : 40,
					"y" : 25,

					"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/gauge_full.dds",
				},
			),
		},
	),
}
Ja genau so
04/28/2014 06:41 Fratze1996#6
Hab ich gemacht, dennoch habe entweder, wie im anderen Thema beschrieben,
nen Blackscreen oder aber Runtime Error.
04/28/2014 14:40 rollback#7
versuch mal per bildbearbeitungsprogramm (gimp, paint reicht für sowas auch, photoshop etc) alle bilder auf die gleiche auflösung zu ziehen