Now we just need a car and some curves
It's been a few days, but curves and hills have been added to the road engine.
Eager to watch a new video!
Eager to watch a new video!
Here you go
You see lateral movement in the video, it's because I'm moving left/right with the cursor keys while recording it. The next steps will be to :
- change the geometry of the current road, in order to have a result closer to the road on Outrun
- add a car sprite
- fix known bugs
Oh wow, looking very good!!! What frame rate are you getting with the current version?
That looks pretty impressive!
This looks very good!
Whoa!
Would a g9k give any observable boost in framerate, or is this mostly the Z80 at work?
Wow, stunning!
Very nice!
YES! I like! Very good looking road!
If you use long OTIRs (with bigger values in B register), you might try to optimize speed with kind of loop unrolling technique
--- CLIP ---
i tried to modify it to the case when you don't know exact number of bytes you OUT.
Your method seems quite complex... How about something like:
OTIR_UNROLL: LD E,A AND 15 LD B,A OTIR XOR E RET Z LD B,A OTIR_LOOP: REPEAT 16 ; 16 OUTI command in a row OUTI ENDR JP NZ,OTIR_LOOP RET