Salem Holly
Member
I'm making a 3D fps game in gamemaker studio 1.4, and I have gotten really far, but recently I've been optimizing it and have a pretty big fps killer. I'm using d3d_draw functions to draw all the walls. At first it wasn't an issue, because I was just making test levels and didn't need a high number of wall objects. But now that I'm actually making levels, the number of walls is really affecting the FPS. So now I've been experimenting with vertex buffers to draw the walls, and they are a little faster, but I want to take it one step further. I've heard of people using one master object to draw all the wall's vertex buffers as one draw call, rather than have each wall be responsible for it's own vertex buffer/ draw call. That way I can place hundreds of walls and only have one draw call rather than hundreds. Can anyone help me with that? Maybe even provide some kind of idea where to put the code and how to do it. I haven't really found any tutorials that are really helpful, so this is my last resort. If any of you are interested in seeing my project, let me know. I'll upload images and or videos later on. I just keep getting errors while trying to post them at the time being.
Thank you,
Salem
Thank you,
Salem