wollwllow

August 28, 2009

Rectangle Demo

Filed under: Gameboy Advance — wollw @ 12:59 pm

Here’s a version with a process for drawing rectangles. Source code included just like before.

Download


Bonus moving square version

Bresenham for Positive Slopes

Filed under: Gameboy Advance — wollw @ 9:09 am

Worked a bit more at the previous demo and managed to make it work for all positive slopes.

Download

August 27, 2009

Homework for dovoto’s Second Tutorial

Filed under: Gameboy Advance — wollw @ 3:11 am

After watching dovoto’s second live video tutorial I decided to check out the Bresenham algorithm mentioned in the last slide. After some help from dovoto and this indispensable website I put together this demo of the basic version of the algorithm. It only only draws in the first octant but it’s a start I suppose. Also, it’s in ASM rather than C and it is for the GBA instead of the NDS (dovoto’s tutorials being for NDS with C).

Download

Powered by WordPress