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.

DarkBASIC Professional Discussion / Game Graphics & Effects

Author
Message
Moaz
15
Years of Service
User Offline
Joined: 18th Jan 2011
Location:
Posted: 6th May 2011 16:54
Hi, I'd to have a good idea about effects & techniques which i can adopt and use in my games to produce a nice and smooth appearance.
Quel
17
Years of Service
User Offline
Joined: 13th Mar 2009
Location:
Posted: 6th May 2011 18:12
Well, that was pretty vague, so here is a response which is compatible with it.

Look into making your own particle system, because if you do it right with fully control over what is a particle, how it looks like and reacts to the environment, you can pretty much achieve any kind of spectacular effects with a single function call, and giving it the right variables.

-In.Dev.X: A unique heavy story based shoot'em ~12%
-CoreFleet: An underground commander unit based RTS ~15%
-TailsVSEggman: An Sonic themed RTS under development for idea presentation to Sega ~15%
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 6th May 2011 18:46
Draw everything at, at least double the required resolution - then when you scale down to the required resolution, you get a neat anti-alias effect, so smooth edges on everything and no jaggies.

I second the custom particle system idea as well - a good particle system can really make your game shine. It doesn't even have to be complex... a function to update your particles position, alpha, scale - and start each particle effect with a function that sets the properties and texture. Ideally you'd be able to spawn a particle with a function call, which in turn makes it easy to add new particles, and encourages you to do that. I've even made creatures with particle systems, like a moth that flies around light sources and chases the player, and a 2D fish. It's actually pretty good fun to make particle effects once the framework is in place.

One other thing is shaders, pretty obvious I know - but choose the right shader for the job... the best looking shaders tend to be the slowest - try and find a good balance between performance and looks - because looks are no good if it results in a sluggish game.

Health, Ammo, and bacon and eggs!
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 7th May 2011 00:01
Quote: "I second the custom particle system idea as well - a good particle system can really make your game shine."


Definitely, and it gives you so much more control.


Quote: "choose the right shader for the job... the best looking shaders tend to be the slowest... "

A good example of this is when using lights. Picking an 8 light shader when the object only has 1 or 2 lights is waste. You can use different versions of the same shader to reduce the work load.

Login to post a reply

Server time is: 2026-07-11 04:24:27
Your offset time is: 2026-07-11 04:24:27