Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 12 Nov 2012
Offline Last Active Jun 01 2013 05:58 AM

Topics I've Started


24 May 2013 - 07:07 AM


I just wanna ask if anyone knows for some SDL.net tutorials for basic/beginners++, i allready went through top tutorials that I could find but still I have some problems...

Im having a problem that my client sends only one package to the server and cant send any other date and doesnt want to send same package aswell, its like the client locks down after the first package... Any ideas?

Camera/screen moving

25 February 2013 - 08:15 AM

I am having some issues with camera or screen and background animations...

All of the examples i can find are kinda focused that your screen and character is still while the background is actually moving and that gives you impression that you are the one moving.

I would like to script that your background is still and that your screen would be the one moving, like lets say you have dimension of the ''map''

1920 × 1080 and your screen would be 800 x 640.

If you would move the character, camera would be centered on it and he would be constantly changing coordinates while the background coordinates would be always the same...

Is that even possible to do something like that or is it always that your background is moving instead of you?

Tnx for any info if you can help me :P

Bullet animation

11 December 2012 - 10:47 AM

Im just wondering if anyone could help me out a bit...
First of all im making topdown 2d shooter with C++ and SDL and iwe got a problem with the bullet animation...
Anyone knows what math code should I use that the ''bullet'' would follow the mouse coordinates and then acctually go in a straight line from char coordinates to mouse coordinates? Tnx for any ideas...

SDL mouse

12 November 2012 - 03:50 AM

Hi all im kinda new with SDL and im making game for my self as a practise run really,
Iwe been having couple of problems i want it to be top down shooter...
Now i have no idea how to make my character follow and turn where the mouse is and bullet animition fire in direction of the mouse.
If i could get any tips from you guys i would be really glad i just dont know where to start with this one.
Tnx guys