YolkfolkThe Dizzy Fansite 0 logged in0 playing
Community discussion

Another newbie question (screensize)

Started by Gangsta on 13 November 2010 • 3,549 views

3 posts
#54833

Hi

Im using a larger screensize for my game, and for some reason its not working the way I expected. The game seems to be placed with my game screen starts halfway down and halfway across the screen. The updated values for dizzys step and jump are working great.

I have changed dizzy.ini to read

[VIDEO]
api			=0
windowed	=1
width 		=496
height 		=384
scale 		=1
bpp			=32
refresh		=85
vsync		=0

and def.gs

#def GAME_SCRW		512			// screen's width (fixed by engine to Z80 screen size)
#def GAME_SCRH		384			// screen's height (fixed by engine to Z80 screen size)
#def AIR_LEVEL		100			// player's air critical level
#def STUN_LEVEL		20			// player's stun critical level
#def DIZ_HURT		4			// default hurt level for "hurt" materials
#def WINDPOW		2			// default wind power
#def DIZ_POW		14			// player's jump power (for default movement)
#def DIZ_STEP		8			// player's walk step (for default movement)
#def JUMPFIXPOW		16			// fix jumper power
#def JUMPPROPOW		16			// pro jumper power limit
#def FLIPX			1			// flip x (bit value)
#def FLIPY			2			// flip y (bit value)
#def FLIPR			4			// flip rotate (bit value)

Thanks

👍 0
#72080
Something you should be aware of when altering the screen size.

Where the playing area is drawn on the screen is dependant on G_VIEWX and G_VIEWY.

These are set in handlers.gs ---> HandlerGameStart()
👍 0
#72081
Thanks,

I found another couple if settings in the other dizzy.ini, and along with these settings you just posted, all is looking well {dizzy}:dizsmile:
👍 0