Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / no transparancy..

Author
Message
RebirthAnime
21
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 23rd Sep 2003 21:39
Anyone see why my transparancy for the sprite map isn't working? My "4" bitmap has black in it and I set transparancy on right but it's not working and I can't figure it out. "5" is a solid black tile so it should show through to the bottom tile map, but the transparancy isn't working, and you can't use 0 to make it read no data, because it'll say illegal image number. Anyone have any ideas?
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 22:09
well it may be a typo but you don't have a "5" image you have typed it in as "9"

it may be that your color isn't 0,0,0 for your background? i know that when i used "pixelit" program it saved the black on .bmp files as 10,10,10 so it looked black but db read it as a color, i only found out cause the pics i made in mspaint worked, so i checked them in mspaint
just a thought???

My advice is free -
unfortunately you get what you pay for (-:
RebirthAnime
21
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 23rd Sep 2003 22:17
oops..yeah..the "5" should be a "9", I just typed 5 when enterting it into the code thing on here, and no..my blacks on the tiles are 0,0,0...I checked several times because I made them in paint
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 23rd Sep 2003 22:22
er...I don't see a SET SPRITE anywhere. Try that, should work.

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
RebirthAnime
21
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 23rd Sep 2003 22:25
already tried setting the 2nd layer as a sprite or the individual grabbed image of "9" but it didn't work
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 22:46
you shouldn't have to set sprite because a flag of 1 is the default setting

i think i got it, in the background your pasting the image and not making a sprite, when you paste an image, it doesn't have the same properties as pasting a sprite
if i remember right you said you have DBReg?
if so you have to make them as sprites

if you have Pro you have to set image color key

hope it helps

My advice is free -
unfortunately you get what you pay for (-:
RebirthAnime
21
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 23rd Sep 2003 22:59
I have dbpro..I'll try the set color key and see how it works
RebirthAnime
21
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 23rd Sep 2003 23:03
didnt' work..
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 23:14
did you set the color key before you loaded the images?

if you do you may have to switch your program around, because all images loaded after have the colorkey limitation (i don't know how to turn it off, haven't needed it so i haven't looked in to it)

My advice is free -
unfortunately you get what you pay for (-:
RebirthAnime
21
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 23rd Sep 2003 23:20
I tried before and after, neither worked
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 23:49
well i made my own bmp files and tested it and i can't get it to work either )-: i think you have found a bug )-:
i know it works if your texturing an object and set the tranparancy 1
(i have a prog that i am writing that uses this)
or
make them sprites
I just change your code and verified it



i hope it helps

My advice is free -
unfortunately you get what you pay for (-:
RebirthAnime
21
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 24th Sep 2003 00:38
well it still doesn't work with either your code or mine..I guess it is a bug..grr! I've come across at least 4 bugs when trying to work on this stupid rpg..talk about bad luck
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 24th Sep 2003 01:26
i'm sorry wish i could help )-:

My advice is free -
unfortunately you get what you pay for (-:
RebirthAnime
21
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 24th Sep 2003 02:01
Well..looks like no one knows how to fix it and I sure as heck don't, so unless one of the big programmer guys take a look at this and know what's wrong..I guess I'll have to try to find a way to redo my engine or something

Login to post a reply

Server time is: 2024-09-21 01:13:34
Your offset time is: 2024-09-21 01:13:34