Introduction - If you have any usage issues, please Google them yourself
We have our classes ready, time to start writing the actual code. Point pri mitives are not much different from the other pr imitive types available (triangle strips, lists, etc.). . We can still choose what we vertex shader use. A vertex shader tells DirectX about what ty pe of vertices it can expect- such as whether the y are already transformed. if they have a diffuse color, and so on. Since I m mainly aiming this tutorial a t 2D gaming, I m going to use slightly customized TL vertices . This stands for Transformed and Lit. which means the vertices are already transform ed and that the lighting color has already been c omputed. So an X of 300 will be 300 on the screen. and the vertex color will be the final color.
Packet : 107215769pareng.rar filelist
Source
Source\source
Source\source\colAnimatedSign.cls
Source\source\colAtomic.cls
Source\source\colBlueExplosion.cls
Source\source\colBlueThrust.cls
Source\source\colBlueTwirl.cls
Source\source\colFireFX.cls
Source\source\colFireyHeart.cls
Source\source\colGalaxy.cls
Source\source\colGreenPlasma.cls
Source\source\colRedFlower.cls
Source\source\colRedTwirl.cls
Source\source\colSmokeFX.cls
Source\source\colWormhole.cls
Source\source\d3dinit.bas
Source\source\d3dutil.bas
Source\source\frmMain.frm
Source\source\mdlDeclarations.bas
Source\source\mdlDirectX.bas
Source\source\Particle.bmp
Source\source\Particle.cls
Source\source\Particle2.bmp
Source\source\Particles.exe
Source\source\Particles.vbp
Source\source\Particles.vbw
Source\source\MSSCCPRJ.SCC
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine.htm
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\gdlogo2.gif
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\clear.gif
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\pointsprite.png
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\dotsm.gif
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\download.gif
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\print.gif
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\discuss.gif
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\imgFireFX.jpeg
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\firetex1.jpeg
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\firetex2.jpeg
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\imgParticle.jpeg
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\total.jpeg
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\line.gif
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\global.html
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\global.js
Source\GameDev_net -- A Simple Point Sprite Based Particle Engine_files\Thumbs.db