How to make things glow

Started by paulscode, December 05, 2008, 04:31:01 AM

Previous topic - Next topic

fireside

Very cool.  It looks better than the first, although the first looked pretty good also.  I thought.  I saved the source in case I get far enough to actually worry about special effects.  The main one I want to learn is the particle system but I'm kind of stuck right now with getting my path finding to work in real world coordinates. 
click here->Fireside 7 Games<-

EgonOlsen

Quote from: fireside on December 09, 2008, 06:24:50 PM
I'm kind of stuck right now with getting my path finding to work in real world coordinates. 
This is quite of topic but maybe you don't have to use real world coordinates. I'm used to use a grid representation of the world instead. That makes things easier to handle IMHO. Paradroidz as well as Robombs are/were all grid based with some interpolation in world coordinates on top.

fireside

Yeah, that's pretty much what I'm doing, I think.  I'm just having trouble with the interpolation.  It's getting closer.  It worked for just clicking and moving the full distance, but now I'm trying to get the dragon to follow the grid points and it only works half the time for some reason.  That's normal for me.  Eventually I'll figure out what I did wrong.
click here->Fireside 7 Games<-

raft

nice work paul :) can i use your glow texture in my game ?

paulscode


zammbi

Any idea why its doing this?


Its basically the same code/images but just in my engine. Does the same thing in hardware mode too.

paulscode

I've seen that before, but its been a while since I worked on this, so I don't remember what the cause was.  It seems like you have transparency, but the alpha channel isn't coming through correctly.  Sorry I can't be any more helpful than that, though.

EgonOlsen

To make jPCT use a texture's alpha channel, you have to use one of the Texture(...., <boolean>) constructors with <boolean> set to true. Maybe that is what's missing?

raft


zammbi

Sweet got it working and its looking great.