Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Cant fit in current screen !  (Read 2387 times)

0 Members and 3 Guests are viewing this topic.

Amiga Forever

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
  • Generic Amiga User
Cant fit in current screen !
« on: March 15, 2016, 01:36:36 PM »

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...

Code: [Select]
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]
« Last Edit: March 15, 2016, 01:41:56 PM by Amiga Forever »
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Cant fit in current screen !
« Reply #1 on: March 15, 2016, 04:43:07 PM »

Try opening the screen first?
Logged

Amiga Forever

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
  • Generic Amiga User
Re: Cant fit in current screen !
« Reply #2 on: March 15, 2016, 04:58:04 PM »

I did this one
Code: [Select]
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]
« Last Edit: March 15, 2016, 05:24:23 PM by Amiga Forever »
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: Cant fit in current screen !
« Reply #3 on: March 15, 2016, 10:47:20 PM »

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
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022