Page 1 of 1

Sprite help.

PostPosted: Thu Sep 18, 2008 10:06 am
by roxfox64
Could someone take this PNG(http://www.spriters-resource.com/nintendo/pokemon/pkmnrbgy/pokeblue.png and give me 10 16x20 PNGs of Ash(without bike)?
There are only 6, but I need Two that face Right, and Two that face Left.
If you don't know how to flip an image, press ctrl + i in paint(If you you use MS Paint.

PostPosted: Thu Sep 18, 2008 10:12 am
by Yumiko
Sure, I'll have them for you soon!

I have to wait 'till I get home though.
I don't wanna get caught using this website here at school.

PostPosted: Thu Sep 18, 2008 12:37 pm
by roxfox64
Nevermind!!!!!

I made this function in lua:

  Code:
Tile = Image.load("Tile.PNG")

function bt(x,y,tx,ty)
screen:blit((x-1)*16,(y-1)*16,Tile,(gx-1)*16,(gy-1)*16,16,16)
end

--And you use it like this:

while true do
bt(1,1,1,1)
bt(2,1,2,1)
bt(2,1,3,1)
bt(1,2,1,2)
bt(2,2,2,2)
bt(3,2,3,2)
bt(1,3,1,3)
bt(2,3,2,3)
bt(3,3,3,3)
end


I feelz smartz 8)