pe.ppy.sh/aprilmeeting.txt:: is the bow supposed to be transparent o.O 10:03 < Neku> Its just 10:33 < peppy> and figure hwo to render a sprite 10:33 < peppy> thats about it! http://pe.ppy.sh/aprilmeeting.txtHOME | g'day
I'm having problems trying to make a transparent sprite in RB4. The code I'm using is pretty much as follows. I want to have a image of a 256 grey colour cloud with a 256 grey colour mask to it looks transparent.
// create the picture
clonecloud = newpicture(128,128,32)
// copy cloud image in to picture
clonecloud.Graphics.DrawPicture cloud,0,0
// copy cloud mask in to mask of picture
clonecloud.Mask.Graphics.DrawPicture cloudmask,0,0
// make the sky sprite REALbasic Network Users Group (date):: Sprite Surface weirness in 5.5, hoaglin, 11:00 Re: How do I open a PDF picture at a largeer size?, Christian Schmitz, 21:00 http://support.realsoftware.com/listarchives/realbasic-nug/2004-02/index.htmlHOME | Re: what is the best way to load images once?:: to make the realbasic picture property reference a picture (in some other Re: Sprite Game Oriented Question, Ben Gotow. Previous by Thread: http://support.realsoftware.com/listarchives/realbasic-nug/2002-05/msg00567.htmlHOME |
sky = spriteSurface1.NewSprite(clonecloud,64,64) // add the cloud sprite
// update so we can see the sprite
window1.spriteSurface1.update
The above, doesn't work, can anyone see a problem? Or am I missing something?
8 bit masks don't work in RB. [RESOLVED] about control array - VBForums:: [RESOLVED] about control array Visual Basic 6 and Earlier in these case the object2 is my Sprite control(i dont put the index property, http://www.vbforums.com/showthread.php?p=3369635#post3369635HOME | Exner, Jr Interview:: most heavily towards transparent water color, which was of large the final illustrations -- were transparent water color illustrations for cars http://www.autolife.umd.umich.edu/Design/Exner.htmHOME |
Never did.
Try reading the online help file on sprites.
If you want 8 bit masks try using Rb3D...
it will give you full translucency etc.
Adn its easy to use...
How much does getting a small tattoo on your hip/stomach hurt?
Do anyone else have an itchy anus? ?
|