I am making a 2D Shooter on DBPro and 3D plains a better for 2D but im having trouble with the trans. most of it is trans. but the edges of the sprite is blue (same color as blue background) Any help?
load image "right_riffle.bmp",1
load image "left_riffle.bmp",2
load image "background.jpg",3
load image "floor.jpg",4
rem create player
make object plain 1,70,70
texture object 1,1
set object transparency 1,1
position object 1,0,50,1
rem create back ground
make object plain 2,600,400
texture object 2,3
position object 2,300,200,0
rem create floor
make object box 3,600,32,1
position object 3,300,0,0
texture object 3,4
rem position the camera 300 points infront of the player
position camera 0,0,300
point camera 0,0,0
do
if rightkey()
move object right 1,0.7
texture object 1,2
endif
if leftkey()
move object left 1,0.7
texture object 1,1
endif
rem reposition and repoint the camera as the player moves
position camera object position x(1),170,300
point camera object position x(1),170,0
loop
(Ps: also when i texture the plains the image is alot darker than originally is)