RGB_Man

Miscellaneous Forums/Blitz Showcase/RGB_Man

Config:
You does not need a seperate setup.exe file, that use so much space. Instead you can checking if a config.ini exists or not on the startup of the game....

If it does, pop this up or run directly without setup.

Resolution:
Why not to check all graphics resolutions and check if it a 4x3 format. This because it didden't list my default resolution, 1450x1050 I use on my work machine.

Some thing like this:
Local LastX=0;
Local LastY=0;

' 1.33 is the 4x3 format. 1.25 can been used for 5x4 format, if you want to add these as well.
For Local mode:TGraphicsMode=EachIn GraphicsModes()
	If STR_Round(Float(mode.width)/Float(mode.height),2)="1.33" And mode.depth=32
		If mode.width<>LastX And mode.height<>LastY
			LastX=Mode.Width
			LastY=Mode.Height
			Print "resolution found: "+mode.width+" "+mode.height
		EndIf
	EndIf
Next


Function STR_Round:String(value:Double,digit:Int)
	Local result:String
	Local data:String = String(value)
	Local on=False
	For Local i=1 To Len(data)
		If on=1 Then digit:-1
		If digit=0 Then result=Left$(data,i); Exit;
		If Mid$(data,i,1)="." Then on=1
	Next

	For i=1 To 32
		If Right(result,1)="0" Then result=Left$(result,Len(result)-1)
	Next
	If Right(result,1)="." Then result=Left$(result,Len(result)-1)
	Return result
End Function


Game:
I could not get this game to run. I have same problem as degac have, but it does works, if I attached a joystick. Many arcadecabs (like mine) also use various form for keyboard controllers, hence you should set the default controls same as MAME and should been remappable.

Would been nice if you chooiced to render the graphics on startup, and not when you start a new game.

Would been nice to have some speed settings for faster or slower gameplay.

Graphics is really nice and work fine.