pouët.net

Go to bottom

searching for...

category: general [glöplog]
 
I'm new to the scene and i'm searching some documents to learn 2d graphics programming, i'm a gbc coder, and i'm trying to do some nice effects like plasmas and tunnels, but i can't understand how to do them on a tile system like gbc.
here you could find something useful.
Watch also there.

added on the 2005-10-25 16:42:45 by bdk bdk
you just have to set up the tiles in a nice way. On gbc you can cover the whole screen with unique tiles but to find the tile at x-coordinate is not so elegant this way.
There is also a standard tile-map called APA which is defines a 128x128 bitmap in the middle of the lcd where you can very easily find the right bytes. You should find info on that on the internet.

Of course, if you implement the effects broderick linked to per pixel with some c2p routine they will run extremely slow.

Just learn how the effect you want to code works and adapt it to gbc. It's impossible to know exactly what you mean by "tunnel" and "plasma".

An ugly way to decrease computation is to set up chardata so the effects run in 4x4-pixel blocks.. then you can dump your effect directly in $9800/$9c00.
added on the 2005-10-25 19:55:20 by lai lai
maybe you wanna do some raster effects first. they're easier and can look cool.
added on the 2005-10-25 20:15:22 by ph0x ph0x
Broderick: Entertaining reading!
I esp. liked:
http://freespace.virgin.net/hugo.elias/graphics/x_shadow.htm >D
added on the 2005-10-25 20:35:46 by Hatikvah Hatikvah
hahaha :DD
maybe i should email the author that matrices exist...
or meybe leave him in blissful ignorance of them instead ?...
added on the 2005-10-25 20:45:35 by apricot apricot
you could have a look at some sourcecode

another tip is to watch gb-demos in an emulator and open the vram-viewer... both nocash and bgb has this feature
added on the 2005-10-25 23:38:54 by Dalton Dalton
Lol, I haven't used matrices in my 3d engine yet. What are the benefits anyways? ;)
added on the 2005-10-26 09:01:57 by Optimus Optimus
thank you :)
i'll try some raster first!

login

Go to top