Search found 208 matches

by wbushby
23 Jan 2023, 08:46
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 114724

Re: gtBASIC

I am not sure what happened. I had the sprites looking OK in a basic one step display. Then I moved the display code to my game loop, all tidied up and this is the result. I am hoping this looks familiar to you and you can point me in the right direction. The sprite (white) on the upper left starts ...
by wbushby
20 Jan 2023, 08:56
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 114724

Re: gtBASIC

OK, it seems the problem was the sprites draw, SORTY statement. When I removed the SORTY it started working I have an issue with the positioning of the sprite. If I use: POKE &hB8,0 SPRITES DRAW SPRITE MOVE, 1, PX, PY (PX=16, PY=88) SPRITES RESTORE, WAITVB Then Sprite 0 displays in position 0,0 ...
by wbushby
20 Jan 2023, 07:57
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 114724

Re: gtBASIC

Then the issue must be something else manifesting itself in the images. I am going to try removing significant parts of the program such as the music and see if it starts working.
by wbushby
19 Jan 2023, 21:26
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 114724

Re: gtBASIC

So with my experimentation I find the following issues with images and sprites If I don't Load BLIT... from ID 0 and keep the numbering continuous there are issues with displaying the incorrect graphic If I don't ID sprites from 0 and up they don't display on screen If I have Load BLIT with ID 0,1,2...
by wbushby
19 Jan 2023, 08:01
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 114724

Re: gtBASIC

OK, no problem with that. Now that I understand I can work with it. It also explains an issue that just popped up yesterday with a string variable that was storing the Level name going blank.
by wbushby
19 Jan 2023, 01:00
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 114724

Re: gtBASIC

Also I am finding that if I include this line Sprites Draw, SORTY I get an error: Assembler::assemble() : 'testsprite.gasm:810' : invalid label/equate '_vtX' This is the code: _runtimePath_ "../runtime" _runtimeStart_ &hFFFF _arraysStart_ &hFFFF _codeRomType_ ROMvX0 'audio fix for ...
by wbushby
19 Jan 2023, 00:35
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 114724

Re: gtBASIC

OK. I was concerned because I noticed a couple of days ago that if I skipped an Image ID then the image retrieved by ID was incorrect.
That is why I started them both at zero
by wbushby
18 Jan 2023, 21:28
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 114724

Re: gtBASIC

Is there any relationship between Image IDs and Sprite IDs. I seem to be having a conflict with Image ID 0 and Sprite ID 0
by wbushby
18 Jan 2023, 20:10
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 114724

Re: gtBASIC

My problem is even though I coded this as above it doesn't show on the screen LOAD BLIT, Images/ColdRoom/Guardian8.tga, 38, NoFlip LOAD SPRITE, Images/Willy1.tga, 0 Then later I show it by: SPRITE MOVE, 0, 24, 24 The image is white shape on black background Besides the obvious problem with no displa...
by wbushby
18 Jan 2023, 16:53
Forum: Hardware and software hacking
Topic: gtBASIC
Replies: 435
Views: 114724

Re: gtBASIC

I am trying to use Sprites. Is there some documentation on how to utilise ?