Thread: Try out my first game!!

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    18

    Try out my first game!!

    Language: HTML, JavaScript, C/C++. Python

  2. #2
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    you need to include SDL.dll in your project. People who dont use SDL in their projects will not have it, and therefore cannot run your project.

    Your lucky I use SDL and so a quick transfer of files made it run.
    My Website

    "Circular logic is good because it is."

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    18
    If you're missing some SDL dll files, here are they.

    http://www.angelfire.com/empire2/pal...in/SDL_DLL.zip
    Language: HTML, JavaScript, C/C++. Python

  4. #4
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    jpeg.dll ?
    ...

  5. #5
    Registered User
    Join Date
    Dec 2003
    Posts
    18
    Yeah, someone else also had the same problem. I don't understand it. I didn't use any jpeg files(if you looked in the image folder that came with the game). Nor did I use jpeg lib. I don't understand why some people are having that error.

    I only used:

    SDL
    SDL_image
    SDL_mixer

    THAT's IT!

    For me project, I only linked to:

    -lmingw32
    -lSDLmain
    -lSDL
    -lSDL_mixer
    -lSDL_image

    I don't know why people are having trouble. Anyways, if you want the source code. Here it is:

    http://www.angelfire.com/empire2/palegate/Pong-src.zip
    Language: HTML, JavaScript, C/C++. Python

  6. #6
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    What is jpeg.dll?

  7. #7
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    You always need to include the following DLLs with SDL executables (AFAIK):
    Code:
    sdl.dll, sdl_image.dll, zlib.dll, jpeg.dll, libpng1.dll
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  8. #8
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    It says that I need that jpeg.dll file as well.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  9. #9
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Here's a link to the DLLs that you need.

    http://www.libsdl.org/projects/SDL_i....2.2-win32.zip
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  10. #10
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    Either my computer sucks or the game is really slow........probably my computer sucks. I have a question how do I move the little stick on the right?
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  11. #11
    .
    Join Date
    Jan 2004
    Posts
    1
    right and left arrow keys.

  12. #12
    Registered User
    Join Date
    Dec 2003
    Posts
    18
    Yeah, I was too lazy to make a README file. I'll do it next time.

    What do you guys think? Have you detected any glitches?
    Language: HTML, JavaScript, C/C++. Python

  13. #13
    Funniest man in this seat minesweeper's Avatar
    Join Date
    Mar 2002
    Posts
    798
    A window flashed up on the screen and then it immediately closed. If it's any help, the file stderr said:

    Assertion failed: mSong, file ../CGame.cpp, line 30

  14. #14
    Senor Member nomi's Avatar
    Join Date
    Jan 2004
    Posts
    129
    nah...doesnt work and files dont compile....somethin do with makefile.win....

    make.exe -f "C:\Documents and Settings\Nomi\My Documents\Downloads\Pong 0.9\Pong\resource\Makefile.win" all
    make.exe: *** No rule to make target `all'. Stop.

    "No rule to make target `all'. Stop."
    ^^^^ no idea what this is...

  15. #15
    Registered User
    Join Date
    Dec 2003
    Posts
    18
    Me neither. I hate it when I someone can't play my game. My last program had some .dll errors(according to peopel that tried it). I don't know what that error means.
    Language: HTML, JavaScript, C/C++. Python

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. Open Source / Semi Open source game idea. Help needed
    By CaptainPatent in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 05-16-2007, 10:44 AM
  3. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM