Hello forum! I'm currently creating a start-up sequence of two animations played before my game menu. I'm having problems with the resolution of the animations. I want the final product to run in fullscreen, enabling anyone to play regardless of their screen size. I've managed to achieve this with the use of:
dw = desktop width()
dh = desktop height()
set display mode dw, dh, 32
However the resolution of the animation is
1920 x 1080, which does not work on all computers, leaving the animation quartered:
Here is my current code, I haven't added the second animation or menu in yet, I'm just trying to fix the animation problem first. I'd like the animation and fullscreen window to be compatible with all (or most) computers, without compromising the quality of the animation too much.
Here is the code I am using at the moment:
set window off
hide mouse
disable escapekey
dw = desktop width()
dh = desktop height()
set display mode dw, dh, 32
wait 2000
load animation "resources/sigil.wmv", 1
remstart - thought this would help...
aw = animation width(1)
ah = animation height(1)
set display mode aw, ah, 32
remend
play animation 1
wait 15000
delete animation 1
wait key
I'm fairly new to Dark Basic Professional but not to programming. Any solutions or advice would be great.
Thanks in advance!