Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Graphics already? HOLY SHIT!!!!!1

Sign in to follow this  


That's right folks, I have managed to implement map and tile rendering so I can see what the hell is going on. Of course any screenshots at this level are from memory dumps of the video ram(while running in VBA), these are not in-game shots so don't go creaming your pants in excitement.

One problem though is that calling the DLL functions is insanely slow, so when reading in the map data(byte by byte, and NOT rendering) the FPS goes from ~900 to ~200. Rendering the tiles then takes it down to ~70 [sad]. All well I'll see if I can speed things up by reading everything using arrays.

The screenshot is from Sneaky Snakes.

Edit: Reading the map though an array yeilds ~110 FPS.
Sign in to follow this  


Recommended Comments

Yeah, native DLL interop is pretty slow business. I faced the same issue during my adventures in SDL.NET. Although it's a pain, it can usually be 'solved' by "here and there" sorts of optimizations and shortcuts. However, 70 FPS is still nothing to balk about. [smile]

Share this comment

Link to comment
Original post by HopeDagger
However, 70 FPS is still nothing to balk about. [smile]

Actually I'm pretty sure it is since I still need to implement the CPU, sprites, sounds, hardware timers, interrupts and a whole bunch of other stuff. The GB runs at 60FPS so 10FPS to move around isn't a whole lot.

Share this comment

Link to comment
If you build in release mode and run it out of the IDE, it'll speed up the FPS. The slow down is because VS2005 tries to manage the calls to the unmanaged native library for debugging.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!