Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Tetriarch

Member Since 12 Jan 2011
Offline Last Active Dec 08 2014 01:04 PM

Topics I've Started

Please help! I have problem with FPS

12 April 2011 - 01:42 PM

Hi guys.

I am working on my game called Retro Invaders it's like Space Invaders.

And I have problem with FPS...

Well I have found some functions for FPS for example on http://www.sdltutorials.com/ and these functions are used only in movement of entities...

Well it looks well, but my computer uses during the game 100% CPU. And if I use SDL_Delay in the end of the loop, the computer uses 12-15% of CPU.

This is also well, but the game looks like it runs and halts and runs and halts.

Also surfaces are not blitted properly

My question is... any idea how to solve this problem please?


How to make ship capable of shooting

22 March 2011 - 10:02 PM

Hi,

I am working on my own space invaders I called it "Retro Invaders" and I have a problem.

I don't know how to figure out shooting. At the begginig of dealing with this problem I had a lot of ideas, but each of this idea failed.

Well I don't want some kind of complex weapon system. I just want shoot straight up from down.

Does anyone know how to make it?

If does, I would be very glad when I will know it.

I am writing in C/C++ using SDL, nothing more, nothing less.




Please help.




Tetriarch





PARTNERS