Another newbie question (screensize)

Need help with using DizzyAGE then look here
Post Reply
Gangsta
Your Backpack is Empty
Posts: 5
Joined: Sat Nov 13, 2010 5:58 pm
Location: Carmarthen, Wales

Another newbie question (screensize)

Post by Gangsta » Sat Nov 13, 2010 10:52 pm

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

Code: Select all

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

Code: Select all

#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

macon
Hard Boiled Egg
Posts: 174
Joined: Mon Apr 30, 2007 1:08 pm
Location: Grimsby, England

Post by macon » Sun Nov 14, 2010 2:08 pm

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()

Gangsta
Your Backpack is Empty
Posts: 5
Joined: Sat Nov 13, 2010 5:58 pm
Location: Carmarthen, Wales

Post by Gangsta » Sun Nov 14, 2010 3:25 pm

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_smile:

Post Reply