Pixel,circle,square and line draw

SGDK only sub forum

Moderator: Stef

Post Reply
Cristiano Sword
Posts: 3
Joined: Mon Jul 03, 2017 2:23 pm
Location: Sao Paulo -Sp

Pixel,circle,square and line draw

Post by Cristiano Sword » Fri Jun 15, 2018 2:07 am

hello guys, :D
I'm trying to create lines, pixels, circles and squares that appear on screen by sgdk, I know there's a function, but nn I'm getting it, could anyone help me :?: :(

Chilly Willy
Very interested
Posts: 2558
Joined: Fri Aug 17, 2007 9:33 pm

Re: Pixel,circle,square and line draw

Post by Chilly Willy » Fri Jun 15, 2018 2:27 am

Look at the BMP commands. You can set pixels, draw lines, or draw polygons. If you use enough sides in the polygon, it'll appear circular.

Very interested
Posts: 284
Joined: Sat Jul 30, 2016 12:33 am

Re: Pixel,circle,square and line draw

Post by Miquel » Sat Jun 16, 2018 12:59 pm

Or just draw circles and lines through tiles (sprites or planes) were Geny excels on. MD hardware wasn't designed to draw using bitmaps, Stef simulated it but with a performance penalty.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests