Another update. Rewrote part of the collision code.
Collision has been a huge issue for BasiEgaXorz beginners. If you could tell us your strategy or show us your code sometime.. well, that would be a big help!
So far this is the best generic example we have:
declare function rectRect(x1 as integer, y1 as integer, x2 as integer, y2 as integer, x3 as integer, y3 as integer, x4 as integer, y4 as integer) as integer if x1 > x4 then return 0 if x2 < x3 then return 0 if y1 > y4 then return 0 if y2 < y3 then return 0 return 1 end function
Last Edit: Aug 25, 2016 17:09:01 GMT -5 by theloon
Updated again. Changed the borders to black so it looks better on TV with real hardware. Fixed a couple of small bugs. I haven't received any bug reports so I'm calling this 1.0 and probably abandoning it unless something comes up.
BEX programs seem to trigger a palette bug in Kega Fusion when emulating Sega CD. I see the same sympthom with YAGAC MD. It's emulator specific. Both games run just fine on my real Sega CD. Kega Fusion also doesn't manifest the freesprite glitch. So I'm using MESS to test my stuff. But if anyone knows a way around this, please let me know.