English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. Blitz Basic

 
 
Thread Tools
Old 15 September 2019, 16:54   #1
Nightshft
Registered User

Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Age: 44
Posts: 153
Screens and Bitmaps

I'd need some help about screens and bitmaps.
I know how to open a new screen and use screensBitmap. Works fine.

But how do I use a new bitmap with the new screen?
Do I have to use blitz mode and slices then or does it work without, too?
Can I use/display a bitmap without opening a new screen?

I understand what a screen is and what a bitmap is, but for the moment I just dont understand the relationship between screen, bitmaps and slices...
Nightshft is offline  
Old 15 September 2019, 23:05   #2
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,888
Slices are for full-screen games, Screens are for GUI applications.

Slices, however are replaced by CopLists and Displays since a long time.
idrougge is offline  
Old 16 September 2019, 10:53   #3
Daedalus
Registered User

Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 4,208
To elaborate, Blitz Screen objects are Intuition screens, therefore system-friendly and multitasking, whereas Slice objects are the equivalent to a screen in Blitz mode, which is used to shut down multitasking. (Though, as said, you're better off using CopLists instead of Slices.)

Bitmaps are separate, and can be shown on either a Screen or a Slice. The ShowBitMap command can be used to show a bitmap on a Screen object, which will let you create system-friendly games if that's your aim.
Daedalus is offline  
Old 17 September 2019, 01:41   #4
Nightshft
Registered User

Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Age: 44
Posts: 153
Thanks guys, that's a start. I will look further into it. Takes some time because the manual isn't bad but quite incomplete about things like this. Examples often are too basic or too advanced. Will see what I find... Thx
Nightshft is offline  
Old 17 September 2019, 12:11   #5
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,888
Actually, the manual is beyond bad.
idrougge is offline  
Old 17 September 2019, 21:26   #6
Nightshft
Registered User

Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Age: 44
Posts: 153
Now that you say it - you'r right
Maybe someone should create a Wiki...
Nightshft is offline  
Old 18 September 2019, 09:39   #7
Daedalus
Registered User

Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 4,208
There's also some decent information in the blitz section of AmigaCoding.com that might be of some use. It's also a Wiki so people can add content if they like...
Daedalus is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
interleaved bitmaps and blitting h0ffman Coders. Asm / Hardware 6 07 December 2013 20:58
BPLxMOD for interleaved bitmaps phx Coders. Asm / Hardware 12 02 June 2012 22:47
Bitmaps in FASTRAM and blitting - C++ NovaCoder Coders. General 22 01 December 2010 23:40
Bitmaps Brothers Djay request.Old Rare Games 22 23 November 2003 21:18

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:23.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.06648 seconds with 15 queries