Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:57 20 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : I can't make SPRITE LOADARRAY work

Author Message
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 03:40pm 03 Mar 2022
Copy link to clipboard 
Print this post

I am sure this has been covered before, but thebackshed's search function keeps timing out when I try to find it in the forum.

I am trying to test the SPRITE LOADARRAY call on my CMM2 Gen 2 box that is running version 5.07.00 firmware. When I run this simple code, I get an "invalid variable" error on the line where I do the SPRITE LOADARRAY.


option base 1

dim c%(4, 2)

for i% = 1 to 4
 for j% = 1 to 2
   c%(i%, j%) = &H0ffffff
 next j%
next i%

sprite loadarray #1, 4, 2, c%()

cls
sprite show #1, 100, 100
end


Any clues? Thanks!
-Bill
 
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 06:14pm 03 Mar 2022
Copy link to clipboard 
Print this post

Ah, the form SEARCH finally gave me some useable results, so I now understand how the SPRITE LOADARRAY works.

-Bill
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 596
Posted: 11:04pm 03 Mar 2022
Copy link to clipboard 
Print this post

show us please, thx
Plasma
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025