Page 1 of 1
SMFX - So Whatt? QL Sprite Record
Posted: Sun Jan 22, 2023 3:00 pm
by spkr
hi there guys,
Ive set the new bar at 35 sprites in a single vbl while running a 1px scroller of 5px high and playing music! The previous record was at 17 sprites...
You can find the link to the binary
https://www.pouet.net/prod.php?which=93405, or watch the Youtube video (captured from real hardware, but not at 50hz unfortunately), here:
https://youtu.be/bS_Csjm01z0.
Try to beat diz!
Regards,
Wietze
Re: SMFX - So Whatt? QL Sprite Record
Posted: Sun Jan 22, 2023 3:57 pm
by Derek_Stewart
Hi,
Nice YouTube video.
I tried the SOHATT.IMG file on the Q68, which runs very nicely in 512x256 4 Colour mode.
Re: SMFX - So Whatt? QL Sprite Record
Posted: Sun Jan 22, 2023 6:17 pm
by spkr
Hi,
that is unexpected; I would expect it to switch to 256x256; I am doing
Code: Select all
or.b #%1000,$18063 ; set the 256x256 screen mode
The intended use is for Stock QL anyhow, but I can not explain why you are in mode 4.
Regards,
wietze
Re: SMFX - So Whatt? QL Sprite Record
Posted: Mon Jan 23, 2023 5:08 am
by ppe
Holy cow, that's an amazing achievement on stock QL

Waiting for ASM gurus like Norman or JanB to step up to the plate and try to beat that one
Thank you for bringing demoscene to the QL world, you rock!
Re: SMFX - So Whatt? QL Sprite Record
Posted: Mon Jan 23, 2023 10:16 am
by stevepoole
Hi Folks,
The quoted YouTube video 3D animation of space vessels is very good.
It would be interesting to try to do it in Basic...
Steve.
Re: SMFX - So Whatt? QL Sprite Record
Posted: Mon Jan 23, 2023 12:04 pm
by NormanDunbar
ppe wrote: Mon Jan 23, 2023 5:08 am
...Waiting for ASM gurus like Norman or JanB to step up to the plate and try to beat that one
I don't "do" graphics!
But it was very impressive!
Cheers,
Norm.
Re: SMFX - So Whatt? QL Sprite Record
Posted: Mon Jan 23, 2023 12:45 pm
by dex
Is the drawing somehow synchronised with the frame?
If yes, how?
Re: SMFX - So Whatt? QL Sprite Record
Posted: Mon Jan 23, 2023 2:14 pm
by ones' complement
Any chance of a Sprite Toolkit?
Re: SMFX - So Whatt? QL Sprite Record
Posted: Mon Jan 23, 2023 3:33 pm
by spkr
dex wrote: Mon Jan 23, 2023 12:45 pm
Is the drawing somehow synchronised with the frame?
If yes, how?
The effect is double buffered, so a screen is completed before its displayed. The buffer switch is executed in the vertical blank vector, then the mainloop runs seperately from the vblank code to draw to the backbuffer. The mainloop in this case waits for the vblank to occur and have finished before it starts drawing to the buffer.
Re: SMFX - So Whatt? QL Sprite Record
Posted: Mon Jan 23, 2023 3:35 pm
by spkr
ones' complement wrote: Mon Jan 23, 2023 2:14 pm
Any chance of a Sprite Toolkit?
I dont know what you mean here; what do you mean with Sprite Toolkit?
For some other stuff I cobbled together a bmp to ql graphics format conversion (bmp in, assembly statements out).
For this sprite record stuff, the sprite graphic is analyzed and some optimal code generation has been applied. (bmp in, sprite masks and code out).
Kind regards,
Wietze