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).


1 Comment »

  1. Ok, so you got the positive angles sorted, from an article that explains only 1 octant…

    Here’s some C code that does all 8 octants very easily http://www.falloutsoftware.com/tutorials/dd/dd4.htm (Yes it’s for DirectX, but you can use the same principles on the DS / GBA…

    Comment by steven — August 29, 2009 @ 7:00 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress