I think there is a bug in the SPRITE SHOW command. It blanks out every 2nd show.
I am moving the sprites off screen for the moment to hide them when not in use. This is working for me ok when my characters are walking.
Search found 208 matches
- 30 Jan 2023, 15:46
- Forum: Hardware and software hacking
- Topic: gtBASIC
- Replies: 435
- Views: 114110
- 30 Jan 2023, 13:11
- Forum: Hardware and software hacking
- Topic: gtBASIC
- Replies: 435
- Views: 114110
Re: gtBASIC
OK, I will remember that. It is working in a procedure for LOAD BLIT but maybe this will break later. I am not quite understand SPRITE SHOW, ID, ? If I call it once with a value of 1 the sprite shows, then if I call it a second time the sprite disappears and on the 3rd call it reappears. Can you des...
- 30 Jan 2023, 12:17
- Forum: Hardware and software hacking
- Topic: gtBASIC
- Replies: 435
- Views: 114110
Re: gtBASIC
I found an interesting situation. My sprites were still breaking up so I stripped everything out of the program, got the sprites working then started adding all the code back a little at a time to find out what was breaking the sprites. I found that if the sprite loading is in the main code flow it ...
- 30 Jan 2023, 10:57
- Forum: Hardware and software hacking
- Topic: gtBASIC
- Replies: 435
- Views: 114110
Re: gtBASIC
I am getting this error which I don't understand why. Looks like it is complaining about jumping a page boundary ?
- 29 Jan 2023, 10:28
- Forum: Hardware and software hacking
- Topic: gtBASIC
- Replies: 435
- Views: 114110
Re: gtBASIC
That cleaned up all the random weirdness in the graphics as well as the issue with the text positioning.
Now to get the sprites displaying again
Now to get the sprites displaying again
- 28 Jan 2023, 14:38
- Forum: Hardware and software hacking
- Topic: gtBASIC
- Replies: 435
- Views: 114110
Re: gtBASIC
Thank you for the help
- 28 Jan 2023, 14:04
- Forum: Hardware and software hacking
- Topic: gtBASIC
- Replies: 435
- Views: 114110
Re: gtBASIC
OK, I got it now. My graphics are actually 12 bits wide. I completely missed that when I was programming. It should only affect the bottom right corner tile as the screen memory is contiguous ?
I could also make my tiles 6 bits wide which probably would be better
I could also make my tiles 6 bits wide which probably would be better
- 28 Jan 2023, 09:25
- Forum: Hardware and software hacking
- Topic: gtBASIC
- Replies: 435
- Views: 114110
Re: gtBASIC
Sorry, I don't see the problem. W=8 so maximum J*W = 152 and maximum I*W=104. These are within the screen area of 120 X 160 pixels are they not ?
The tiles are 8 X 8 pixels that are being drawn.
There is no issue until sprites are drawn.
The tiles are 8 X 8 pixels that are being drawn.
There is no issue until sprites are drawn.
- 25 Jan 2023, 11:23
- Forum: Hardware and software hacking
- Topic: gtBASIC
- Replies: 435
- Views: 114110
Re: gtBASIC
No hurry. Just wanted to confirm it arrived in case the spam gods got it
- 25 Jan 2023, 11:00
- Forum: Hardware and software hacking
- Topic: gtBASIC
- Replies: 435
- Views: 114110
Re: gtBASIC
I sent the code via your email. Did you receive it OK ?