iMuYa Posted September 22, 2004 Posted September 22, 2004 Dear All I need help on how to draw a spotlight effect in MDX either VB.NET or C#. Why MDX consumed lots of memory spaces? My application consumed approximately 60MB of memory. It has D3D, DSOUND, DPLAY. But this is a 2D application. Anyway to shrink this down? Thanks. Quote
ThePentiumGuy Posted September 22, 2004 Posted September 22, 2004 That's odd that its taking up so much space.. are you using a lot of bitmaps? Try using a more compressed jpg. The DirectX SDK has more information on spotlights I beleive :), -The Pentium GUy Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
iMuYa Posted September 23, 2004 Author Posted September 23, 2004 That's odd that its taking up so much space.. are you using a lot of bitmaps? Try using a more compressed jpg. The DirectX SDK has more information on spotlights I beleive :), -The Pentium GUy Indeed, my 2D game consumed lots of memory. All my graphics are about 1.7 MB and my sound effects are 1.5 MB. My game connect to Access DB as well. Currently, it takes 55 MB when running with Debug mode, 45 - 49 MB when running in no debug mode. Do you have any recommendation to shrink it down? I'm running a 3d games with lots of features but it takes only 8 MB to 23 MB. It's so wonderful. Well, I couldn't find the spotlight sample. I want to spotlight my area, where the character of the game was caught. Thanks Quote
ThePentiumGuy Posted September 23, 2004 Posted September 23, 2004 Spotlights...hmm here you go: http://www.robydx.altervista.org/English/less3D06.htm Thanks RobyDX :) Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.