English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 22 January 2018, 22:12   #1
volvo_0ne
Registered User

 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 259
2 Icon/object banks?

I appreciate that you can only have one object/icon bank at a given time, but does anyone know of a fast work-around to the problem as loading times are critical?

I thought about pre loading them to ramdisk and loading them from there but it's rather fiddly and not ideal for low memory systems.

I *could* have all the items in one large icon/object bank, but I do some grabbing during my program, which make the manipulation awkward again.

Any ideas gladly recieved

TIA
V1
volvo_0ne is offline  
AdSense AdSense  
Old 23 January 2018, 09:50   #2
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Ft. Collins, CO USA
Age: 43
Posts: 942
Send a message via Yahoo to Samurai_Crow
Bank Swap is useful....
Samurai_Crow is offline  
Old 23 January 2018, 10:40   #3
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,182
Yes, Bank Swap.
idrougge is offline  
Old 23 January 2018, 20:55   #4
volvo_0ne
Registered User

 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 259
Thanks guys, for some reason I didn't think that would work, but it works perfectly.

Much appreciated

V1
volvo_0ne is offline  
Old 29 January 2018, 00:33   #5
volvo_0ne
Registered User

 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 259
I Knew there was a reason...

If you try to load an object/Icon bank from disk to anywhere other than the same kind, it will not work so you need to load then swap then load again which works a treat.

Thanks guys
volvo_0ne is offline  
Old 29 January 2018, 01:42   #6
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,182
You can load one bank as sprites/bobs and one as icons and swap between them — at least basically. There may be some snags when AMOS treats your sprites as icons or vice versa.
idrougge is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Structure of CopList object? earok Coders. Blitz Basic 7 24 May 2017 00:13
Object not found Brick Nash support.WinUAE 5 22 March 2015 18:13
...file is not an object module Vaninna support.Apps 8 11 March 2015 12:53
Object width mritter0 Coders. C/C++ 2 20 September 2014 00:06
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 05:39

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 11:13.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Page generated in 0.13043 seconds with 12 queries