Main Menu

Cant fit in current screen !

Started by Amiga Forever, 15 Mar, 2016, 02:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Amiga Forever

I am trying get back in Amos :)

I got a problem as I got title screen that is 320 x 256 with 32 colours then I open the screen open 0, 320,256,32,lowres then I get error saying cant fit in the current screen!

Here the code of it...


Load IFF "TitileScreen.iff"
get sprite palette

Screen Display 0,320,256,32,lowres

Flash off: Curs off

Repeat
          Wait VBL
until Keystate(64)

Screen close 0


What am I doing wrong!?

[/code]

SamuraiCrow

Try opening the screen first?

Amiga Forever

#2
I did this one

Screen open 1,320,256,32,lowres
Load IFF "TitleScreen.IFF"

Wait Vbl

wait key


the error I got was saying "CANT Fit in current screen" even thought it is same size as IFF Picture that I have load!
[/code]

Hungry Horace

Load iff "file",1

Try adding screen number at the end like that ^^

If you do, you may not even need to pre open the screen
Quote from: KillerGorillabecause winuae is made of code and your amiga is made of stuff