another test request (now with edge anti-aliasing)

Started by
22 comments, last by JohnHurt 18 years, 10 months ago
I'm going to test this as soon as I get home. Here at work my boss would probabl rip my head off, if he saw me playing games. ;)
-inFERNo a.k.a. gfxdroneGraphic Artist @ www.devdrones.com
Advertisement
Quote:Original post by DevLiquidKnight
I like the rain. Care to post the rain source?


The rain is a particle system defined in XML using my (semi) flexible particle engine. All I do is place the particle system at the top of the screen and set its width to the screen width, and then turn gravity on.
The code is quite large, but I'd be happy to email it to you. Please note though, that it isn't very optimised at the moment, and the "stretchy" particles (i.e. rain) are just rendered using lines, as I havent got round to figuring out how to use stretched textured quads yet.
I've also written a very basic (and highly buggy) editor for the systems in MFC that you could have a play with if you like.

Worked great! I like the sprites, even though they arent yours
[30/6/2005 11:58:52] gtWin32App::Create() - Registered window class.[30/6/2005 11:58:52] gtWin32App::CreateStandardWindow() - Creating window.[30/6/2005 11:58:52] gtWin32App::CreateStandardWindow() - Window created.[30/6/2005 11:58:52] gtWin32App::Create() - SetWindowLong() success.[30/6/2005 11:58:52] gtWin32App::Create() - App running...[30/6/2005 11:58:52] gtGLRenderer::InitDevice() - Got device context.[30/6/2005 11:58:52] gtGLRenderer::InitDevice() - Got pixel format.[30/6/2005 11:58:52] gtGLRenderer::InitDevice() - Set pixel format.[30/6/2005 11:58:52] gtGLRenderer::InitDevice() - Got rendering context.[30/6/2005 11:58:52] gtGLRenderer::InitDevice() - Activated rendering context.[30/6/2005 11:58:52] gtGLRenderer::InitDevice() - OpenGL renderer intialised.[30/6/2005 11:58:52] gtGLTextureManager::AddTGA() - *WARNING* Texture (SMOKE2.tga) not loaded [TGA_FILE_NOT_FOUND].[30/6/2005 11:58:52] gtSceneManager::AddFXFile() - Particle definition file (rain.xml) loaded successfully.[30/6/2005 11:58:52] gtGLTextureManager::AddTGA() - Texture (ryu.tga, 1) loaded successfully.[30/6/2005 11:58:52] gtGLTextureManager::AddTGA() - Texture (dudley.tga, 2) loaded successfully.[30/6/2005 11:58:59] gtGLRenderer::Destroy() - Released device and rendering contexts.[30/6/2005 11:58:59] gtGLRenderer::Destroy() - Rendering context deleted.[30/6/2005 11:58:59] gtGLRenderer::Destroy() - Deleted device context.[30/6/2005 11:58:59] gtGLRenderer::Destroy() - OpenGL renderer shutdown.[30/6/2005 11:58:59] gtWin32App::Destroy() - Destroying window.[30/6/2005 11:58:59] gtWin32App::Destroy() - Window destroyed.
--brb
Quote:Original post by ShoeStringGames
Worked great! I like the sprites, even though they arent yours
*** Source Snippet Removed ***


hehe, cheers! no, i think they're from street fighter 3 on the dreamcast if i remember right, got them from here.

This topic is closed to new replies.

Advertisement