Robin Posted February 6, 2011 Share Posted February 6, 2011 I came in this thread and honestly didn't realise you lot were pretending. Link to comment Share on other sites More sharing options...
JSchilli1 Posted February 6, 2011 Share Posted February 6, 2011 ROBIN IS TEH STUPIDEDEST PERSIN EVARR!!! HE NEVAR DO ANATHING HE JUST SIT AROUND AND TIPE IN TEH SHOUTBOX!!!-JS1 Link to comment Share on other sites More sharing options...
shado360 Posted February 6, 2011 Share Posted February 6, 2011 HELP ME I GET TH ERUNTIME ERR OR 13!11!! HOWI FIX DIS!?!? PLEASEEEEEEEEEEEEE HELP MEH!!~Païn Link to comment Share on other sites More sharing options...
JSchilli1 Posted February 6, 2011 Share Posted February 6, 2011 Hey guys! I just found this new thing called YouTube!-JS1 Link to comment Share on other sites More sharing options...
shado360 Posted February 6, 2011 Share Posted February 6, 2011 REALLY!? WWWWHHHATS IT DO?!?!~Païn Link to comment Share on other sites More sharing options...
shado360 Posted February 6, 2011 Share Posted February 6, 2011 GUESSS WHAT GUYSSS!? I HAVE 13 POSTS NOW!1!11 I'M THE BEST ECLIPSERR EVAR!11!1~Païn Link to comment Share on other sites More sharing options...
JSchilli1 Posted February 6, 2011 Share Posted February 6, 2011 DOOD! THATS SOOOOO IMPRESSIVE! I ONLY HAS 5 BUT I HOPE TO BE LIKE U SOMDAY!-JS1 Link to comment Share on other sites More sharing options...
VitinhooxD Posted February 6, 2011 Share Posted February 6, 2011 how do i open my server? Link to comment Share on other sites More sharing options...
Lavos Posted February 6, 2011 Share Posted February 6, 2011 HELP I STILL DON'T UNDERSTAND!! I CANT GET THIS TO COMPILE WITH EO ON VB6!!! PLEASE HELP ME!! ASAP!!!>! ```//The headers#include "SDL/SDL.h"#include "SDL/SDL_image.h"#include //The screen sttributesconst int SCREEN_WIDTH = 640;const int SCREEN_HEIGHT = 480;const int SCREEN_BPP = 32;>! //The attributes of the dotconst int DOT_WIDTH = 20;const int DOT_HEIGHT = 20;const int DOT_VEL = 200;>! //The surfacesSDL_Surface *dot = NULL;SDL_Surface *screen = NULL;>! //The event structureSDL_Event event;>! //The dotclass Dot{  private:  //The X and Y offsets of the dot  float x, y;>!   //The velocity of the dot  float xVel, yVel;>!   public:  //Initializes the variables  Dot();>!   //Takes key presses and adjusts the dot's velocity  void handle_input();>!   //Moves the dot  void move( Uint32 deltaTicks );>!   //Shows the dot on the screen  void show();};>! //The timerclass Timer{  private:  //The clock time when the timer started  int startTicks;>!   //The ticks stored when the timer was paused  int pausedTicks;>!   //The timer status  bool paused;  bool started;>!   public:  //Initializes variables  Timer();>!   //The various clock actions  void start();  void stop();  void pause();  void unpause();>!   //Gets the timer's time  int get_ticks();>!   //Checks the status of the timer  bool is_started();  bool is_paused();};>! SDL_Surface *load_image( std::string filename ){  //The image that's loaded  SDL_Surface* loadedImage = NULL;>!   //The optimized surface that will be used  SDL_Surface* optimizedImage = NULL;>!   //Load the image  loadedImage = IMG_Load( filename.c_str() );>!   //If the image loaded  if( loadedImage != NULL )  {    //Create an optimized surface    optimizedImage = SDL_DisplayFormat( loadedImage );>!     //Free the old surface    SDL_FreeSurface( loadedImage );>!     //If the surface was optimized    if( optimizedImage != NULL )    {      //Color key surface      SDL_SetColorKey( optimizedImage, SDL_SRCCOLORKEY, SDL_MapRGB( optimizedImage->format, 0, 0xFF, 0xFF ) );    }  }>!   //Return the optimized surface  return optimizedImage;}>! void apply_surface( int x, int y, SDL_Surface* source, SDL_Surface* destination, SDL_Rect* clip = NULL ){  //Holds offsets  SDL_Rect offset;>!   //Get offsets  offset.x = x;  offset.y = y;>!   //Blit  SDL_BlitSurface( source, clip, destination, &offset );}>! bool init(){  //Initialize all SDL subsystems  if( SDL_Init( SDL_INIT_EVERYTHING ) == -1 )  {    return false;  }>!   //Set up the screen  screen = SDL_SetVideoMode( SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP, SDL_SWSURFACE );>!   //If there was an error in setting up the screen  if( screen == NULL )  {    return false;  }>!   //Set the window caption  SDL_WM_SetCaption( "Move the Dot", NULL );>!   //If everything initialized fine  return true;}>! bool load_files(){  //Load the dot image  dot = load_image( "dot.bmp" );>!   //If there was a problem in loading the dot  if( dot == NULL )  {    return false;  }>!   //If everything loaded fine  return true;}>! void clean_up(){  //Free the surface  SDL_FreeSurface( dot );>!   //Quit SDL  SDL_Quit();}>! Dot::Dot(){  //Initialize the offsets  x = 0;  y = 0;>!   //Initialize the velocity  xVel = 0;  yVel = 0;}>! void Dot::handle_input(){  //If a key was pressed  if( event.type == SDL_KEYDOWN )  {    //Adjust the velocity    switch( event.key.keysym.sym )    {      case SDLK_UP: yVel -= DOT_VEL; break;      case SDLK_DOWN: yVel += DOT_VEL; break;      case SDLK_LEFT: xVel -= DOT_VEL; break;      case SDLK_RIGHT: xVel += DOT_VEL; break;    }  }  //If a key was released  else if( event.type == SDL_KEYUP )  {    //Adjust the velocity    switch( event.key.keysym.sym )    {      case SDLK_UP: yVel += DOT_VEL; break;      case SDLK_DOWN: yVel -= DOT_VEL; break;      case SDLK_LEFT: xVel += DOT_VEL; break;      case SDLK_RIGHT: xVel -= DOT_VEL; break;    }  }}>! void Dot::move( Uint32 deltaTicks ){  //Move the dot left or right  x += xVel * ( deltaTicks / 1000.f );>!   //If the dot went too far to the left  if( x < 0 )  {    //Move back    x = 0;  }  //or the right  else if( x + DOT_WIDTH > SCREEN_WIDTH )  {    //Move back    x = SCREEN_WIDTH - DOT_WIDTH;  }>!   //Move the dot up or down  y += yVel * ( deltaTicks / 1000.f );>!   //If the dot went too far up  if( y < 0 )  {    //Move back    y = 0;  }  //or down  else if( y + DOT_HEIGHT > SCREEN_HEIGHT )  {    //Move back    y = SCREEN_HEIGHT - DOT_HEIGHT;  }}>! void Dot::show(){  //Show the dot  apply_surface( (int)x, (int)y, dot, screen );}>! Timer::Timer(){  //Initialize the variables  startTicks = 0;  pausedTicks = 0;  paused = false;  started = false;}>! void Timer::start(){  //Start the timer  started = true;>!   //Unpause the timer  paused = false;>!   //Get the current clock time  startTicks = SDL_GetTicks();}>! void Timer::stop(){  //Stop the timer  started = false;>!   //Unpause the timer  paused = false;}>! void Timer::pause(){  //If the timer is running and isn't already paused  if( ( started == true ) && ( paused == false ) )  {    //Pause the timer    paused = true;>!     //Calculate the paused ticks    pausedTicks = SDL_GetTicks() - startTicks;  }}>! void Timer::unpause(){  //If the timer is paused  if( paused == true )  {    //Unpause the timer    paused = false;>!     //Reset the starting ticks    startTicks = SDL_GetTicks() - pausedTicks;>!     //Reset the paused ticks    pausedTicks = 0;  }}>! int Timer::get_ticks(){  //If the timer is running  if( started == true )  {    //If the timer is paused    if( paused == true )    {      //Return the number of ticks when the timer was paused      return pausedTicks;    }    else    {      //Return the current time minus the start time      return SDL_GetTicks() - startTicks;    }  }>!   //If the timer isn't running  return 0;}>! bool Timer::is_started(){  return started;}>! bool Timer::is_paused(){  return paused;}>! int main( int argc, char* args[] ){  //Quit flag  bool quit = false;>!   //The dot that will be used  Dot myDot;>!   //Keeps track of time since last rendering  Timer delta;>!   //Initialize  if( init() == false )  {    return 1;  }>!   //Load the files  if( load_files() == false )  {    return 1;  }>!   //Start delta timer  delta.start();>!   //While the user hasn't quit  while( quit == false )  {    //While there's events to handle    while( SDL_PollEvent( &event ) )    {      //Handle events for the dot      myDot.handle_input();>!       //If the user has Xed out the window      if( event.type == SDL_QUIT )      {        //Quit the program        quit = true;      }    }>!     //Move the dot    myDot.move( delta.get_ticks() );>!     //Restart delta timer    delta.start();>!     //Fill the screen white    SDL_FillRect( screen, &screen->clip_rect, SDL_MapRGB( screen->format, 0xFF, 0xFF, 0xFF ) );>!     //Show the dot on the screen    myDot.show();>!     //Update the screen    if( SDL_Flip( screen ) == -1 )    {      return 1;    }  }>!   //Clean up  clean_up();>!   return 0;} ``` Link to comment Share on other sites More sharing options...
JSchilli1 Posted February 6, 2011 Share Posted February 6, 2011 MAAYBE U SHUD INSTAL TAH LIBARY FILEZ!-JS1 Link to comment Share on other sites More sharing options...
MCADAMS Posted February 6, 2011 Share Posted February 6, 2011 @JS1:> MAAYBE U SHUD INSTAL TAH LIBARY FILEZ!> > -JS1WAThOW U get!!!!!1111pls make a tutorail with detials1!!! Link to comment Share on other sites More sharing options...
JSchilli1 Posted February 6, 2011 Share Posted February 6, 2011 WEL, FRIST U ASK ROBBIN TO PM U TEH FILEZ.-JS1 Link to comment Share on other sites More sharing options...
Jeff Posted February 7, 2011 Share Posted February 7, 2011 U GUYZ FAEL SO MUCH!! U DONT EVEN HAZ TEH SRERVERS UP!!!! YU NEDE TEH PUT TEH SERVERS ON GUIZ LOLZ!!! xV Link to comment Share on other sites More sharing options...
MCADAMS Posted February 7, 2011 Share Posted February 7, 2011 @Jeff:> U GUYZ FAEL SO MUCH!! U DONT EVEN HAZ TEH SRERVERS UP!!!! YU NEDE TEH PUT TEH SERVERS ON GUIZ LOLZ!!! xVhow me and my frind want 2 maek A GAME PLZZ HELP ITLL BE LIK WOW I SWEAR1!!!!!! EVN BETTER!! Link to comment Share on other sites More sharing options...
JSchilli1 Posted February 7, 2011 Share Posted February 7, 2011 wht u tlkn bt u dnt nd tah srvr up ta play da gaem! u jst need to dwnld tah libry filez!-JS1 Link to comment Share on other sites More sharing options...
cheatking Posted February 7, 2011 Share Posted February 7, 2011 Hey guys, can someone point me to some good source tutorials? Link to comment Share on other sites More sharing options...
MCADAMS Posted February 7, 2011 Share Posted February 7, 2011 @Mr.:> Hey guys, can someone point me to some good source tutorials?WATS THE SOURCE IS THT LIKE CONTER STRIEK Link to comment Share on other sites More sharing options...
Fogger Posted February 7, 2011 Share Posted February 7, 2011 Cant instal libery files. dont have libery :( Link to comment Share on other sites More sharing options...
JSchilli1 Posted February 8, 2011 Share Posted February 8, 2011 ya liek cunter striek! u got ti!-JS1 Link to comment Share on other sites More sharing options...
cpunerd96 Posted February 8, 2011 Share Posted February 8, 2011 da gm ha bos io wa lk wha? ho mi i da @s. Link to comment Share on other sites More sharing options...
JSchilli1 Posted February 8, 2011 Share Posted February 8, 2011 ok gays i jsut finshed mah gaem! im gonna put up sum screnshotz latter!!!!!-JS1 Link to comment Share on other sites More sharing options...
MCADAMS Posted February 9, 2011 Share Posted February 9, 2011 i jus got rte 10332943032: u r 12 stop makin a geam tht u wil host for ur 3 friedns and hav it yoosing a vanila copi of ee 2.7wat doz that mean me nd my friend want 2 b admin pslsssssssssssss Link to comment Share on other sites More sharing options...
MCADAMS Posted February 9, 2011 Share Posted February 9, 2011 plz help Link to comment Share on other sites More sharing options...
Repercussionist Posted February 11, 2011 Share Posted February 11, 2011 how 2 click intrawebzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz?!?#?#$B Link to comment Share on other sites More sharing options...
Richy420Rich Posted February 11, 2011 Share Posted February 11, 2011 i need leik 5 mapers, 5 coders, and 3 modz to work on my WiP game.. i'll gets the screenshots and story later becuz i just started. classes are fighter and mage, using EO, but how i get vb?! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now