Real Games

This is a section with real-life examples of posts you shouldn't make.
Jaxerhaxer
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 14
Joined: Fri Sep 04, 2009 7:39 pm

Re: Real Games

Post by Jaxerhaxer »

Moosader wrote:
Jaxerhaxer wrote:So guys which one is better for beginner
C++ Primer Plus (5th Edition) or Sams Teach Yourself C++ in One Hour a Day (6th Edition)
Why are you still here, kid?
Because you guys are funny.... BITCHES..
User avatar
Pickzell
Chaos Rift Junior
Chaos Rift Junior
Posts: 233
Joined: Sat May 16, 2009 10:21 am

Re: Real Games

Post by Pickzell »

Good one.
GASP HE SED TEH BEE WURD!
I'm an altogether bad-natured Cupid.
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Real Games

Post by JaxDragon »

Im not sure if this kid is TheNiceLord or just stupid.
Jaxerhaxer
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 14
Joined: Fri Sep 04, 2009 7:39 pm

Re: Real Games

Post by Jaxerhaxer »

Shutup, I dont see any of your projects, have you even codedea physics engine?
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Real Games

Post by JaxDragon »

Jaxerhaxer wrote:Shutup, I dont see any of your projects, have you even codedea physics engine?
If you would have searched the forums, you would see that I have indeed posted a project. Granted it was an early project, but I don't see any of YOUR work. LOL and I highly doubt YOU have coded a physics engine if you cannot even understand the content of a C++ book. You sir are indeed quite the idiot and I suggest you not post such topics/replies being rude, lazy, or ignorant.
Last edited by JaxDragon on Sat Sep 26, 2009 5:07 pm, edited 2 times in total.
User avatar
Moosader
Game Developer
Game Developer
Posts: 1081
Joined: Wed May 07, 2008 12:29 am
Current Project: Find out at: http://www.youtube.com/coderrach
Favorite Gaming Platforms: PC, NES, SNES, PS2, PS1, DS, PSP, X360, WII
Programming Language of Choice: C++
Location: Kansas City
Contact:

Re: Real Games

Post by Moosader »

Jaxerhaxer wrote:Shutup, I dont see any of your projects, have you even codedea physics engine?
^ Does sound like BJ.
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Real Games

Post by JaxDragon »

Moosader wrote:
Jaxerhaxer wrote:Shutup, I dont see any of your projects, have you even codedea physics engine?
^ Does sound like BJ.
Quite so.
User avatar
Bludklok
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Tue Apr 14, 2009 1:31 am
Current Project: EnigmaCore
Favorite Gaming Platforms: PC, N64, Playstation1, Playstation2
Programming Language of Choice: C++
Location: New Jersey
Contact:

Re: Real Games

Post by Bludklok »

Jaxerhaxer wrote:Shutup, I dont see any of your projects, have you even codedea physics engine?
This has been asked already but, why are you still here? Your going to get IP banned and I know you're not smart enough to know how to change IP so just leave. You're just making yourself look like the rest of the ignorant 10 year olds we've had to deal with in the past.

<< EDIT >> Oh sweet, Junior TCR rank. :D
Youtube
Website
Current project: Enigma Core
User avatar
Pickzell
Chaos Rift Junior
Chaos Rift Junior
Posts: 233
Joined: Sat May 16, 2009 10:21 am

Re: Real Games

Post by Pickzell »

Jaxerhaxer wrote:Shutup, I dont see any of your projects, have you even codedea physics engine?
Jaxerhaxer wrote:I am kinda new to sdl, and kind of new to C++ in general, but i got lots of books on it, anyways..
I am having trouble displaying images, you see, I am using sDL_Rect to display images, and it comes up and everything, but it is so hard to get teh right part of the image on the screen, and i rarely ever can even get the image in the right spot without making the image screen huge!!
Some of the code is not needed to display the image, but i am too lazy to take it out right now.
Here is my code:

Code: Select all

#include "SDL/SDL.h"
#include "stdio.h"
const int WINDOW_WIDTH = 640;
const int WINDOW_HEIGHT = 480;
const char* WINDOW_TITLE = "program";

int main(int argc, char **argv)
{
   SDL_Init( SDL_INIT_VIDEO );

   SDL_Surface* screen = SDL_SetVideoMode( WINDOW_WIDTH, WINDOW_HEIGHT, 0, 
      SDL_HWSURFACE | SDL_DOUBLEBUF );
   SDL_WM_SetCaption( WINDOW_TITLE, 0 );
   SDL_Surface* bitmap = SDL_LoadBMP("im2.bmp");
   if(5+5 == 10)
  rename("output.txt", "edit.txt");
   // Part of the bitmap that we want to draw
SDL_Rect source;
source.x = 40;
source.y = 0;
source.w = 50;
source.h = 50;

   // Part of the screen we want to draw the sprite to
   SDL_Rect destination;
   destination.x = 400;
   destination.y = 100;
   destination.w = 65;
   destination.h = 44;

   SDL_Event event;
   bool gameRunning = true;

   while (gameRunning)
   {
      if (SDL_PollEvent(&event))
      { 
         if (event.type == SDL_QUIT)
         {
            gameRunning = false;
         }
      } 


      SDL_BlitSurface(bitmap, &source, screen, &destination);

      SDL_Flip(screen);
   }

   SDL_FreeSurface(bitmap);

   SDL_Quit();

   return 0;
}

I'm an altogether bad-natured Cupid.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Real Games

Post by Falco Girgis »

Jaxerhaxer wrote:Shutup, I dont see any of your projects, have you even codedea physics engine?
I have, fuckface. Banned.
Post Reply