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 / How can I reduce the blackness around my image?

Author
Message
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 14th Feb 2003 03:58


Ya see the black around the muzzle flash, well how can I remove it and make it look better, with no black or barely and black at all? This will also make it mucho easier to position it! Thanks!
Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 14th Feb 2003 04:16
Make the image a sprite, then set the sprite like this

Sprite NUMBER,1,1,IMAGE NUMBER

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 14th Feb 2003 04:37
lol, you do know that the 1,1 you got there are to position the sprite, right? Cuz right now I have it at 385,265 which is where you see it on the screen (well, i changed it so it aint exactly the same)...

btw, this has been a sprite all along. so what you said does not help

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 14th Feb 2003 14:07
Darnit no edit button, of course i know what sprite does

SET SPRITE number, 1, 1, image number

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 14th Feb 2003 14:08
Lol I was tired when I posted that Forgot to add SET in there

That will set its black transparency rating to 1 (black does not show) and its backsave state to 1 (will not leave a trail)

That works

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 14th Feb 2003 14:38
Doesnt help one bit.

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
Attreid
21
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 14th Feb 2003 15:18
glop!
I'm sure that your picture is a jpeg .. the jpeg is very bad ( the worst ! ) for the sprites 'cause it cannot keep the black black
let me explain it : the jpeg save the images with some lost of quality, and this is your problem : the black is not black anymore, but grey very dark.

so, open your file with paint or an other programm, and paint the dark area in real dark : only dark, pure dark, 100% dark, as my friend, vador

and then, save it in bitmap file, because the bitmap wash the dark darker than the dark
(no, im not mad)

I'm following John, but I'm not john.
Lol, it is funnier in french
hexGEAR
22
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 14th Feb 2003 16:51
if that's a gun flash, and your using an object for the image then the ghost object is your best bet black is completely invisible when using the ghost command and white (as well as other higher colors) are completely visible, thats what i use!

your birth was a blessing, sent to live and die on earth as a lesson, we each have a star all you have to do is find it, once you do, everyone who sees it will be blinded - DMX
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 14th Feb 2003 23:57
It is not an object.. Do you know how to make or get a muzzle flash object?? Plese help! Thanks!

btw, my image is a bmp

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 15th Feb 2003 02:33
Just texture a plain

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
hexGEAR
22
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 15th Feb 2003 03:16
yeah, i'd have to go with RPGamer there, even your red pointer looks kinda distorted! if they are plains then believe me, there are loads more benefits, increased speed, easier to remove the annoying black things, easily change the zdepth etc

your birth was a blessing, sent to live and die on earth as a lesson, we each have a star all you have to do is find it, once you do, everyone who sees it will be blinded - DMX
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 15th Feb 2003 14:01
The reason there are "black" bit they are actually very dark grey. Try ghosting the plain / sprite (SET SPRITE ALPHA num,value) and that will get rid of it

Visit [url]www.lightning-systems.co.uk[/url]
You are the th person to view this signature.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 15th Feb 2003 14:04
DarkJedi07: Are you grabbing the image from a bitmap? If you are, add ',1' to your GET IMAGE command. This deactivates anti-aliasing for that 'get'.
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 15th Feb 2003 15:15
i aint grabbing anything.. but i havent tryed your suggestions yet so let me do that soon thaanks

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 15th Feb 2003 15:24
if u tell me how to make a plain it'll help. No where in the Darkbasic commands does it have plains

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 15th Feb 2003 18:06
Make Object plain 1
Texture object 1
Ghost object on 1

Im pretty sure Its the morning so dont blame me if its wrong- YAWN im tired

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 15th Feb 2003 18:21
Oops you have to specify the width and height for the plain. But you already knew that

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 15th Feb 2003 18:23
And yes, it does have a full description in the commands. Look in the 3D menu.

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 15th Feb 2003 18:51
ooops didnt know it was an objct.. thanks

Current Project: Dark Wars
166 lines of code so far
http://hometown.aol.com/Hockeycow07/rebel.html - The official ReBel Games website!

Login to post a reply

Server time is: 2024-11-24 01:40:05
Your offset time is: 2024-11-24 01:40:05