UberTube

This is a discussion on UberTube within the Game Programming forums, part of the General Programming Boards category; Latest Version: Alpha 0.4 Changelog: Code: Initial to Alpha 0.3 * Now shows version number (huge change, I know) * ...

  1. #1
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254

    UberTube - Complete playable 3d arcade Game w/ SRC

    Latest Version: Alpha 0.4
    Changelog:
    Code:
    Initial to Alpha 0.3
      * Now shows version number (huge change, I know)
      * You now get an extra life every two levels
      * The big change: Some segments now rotate
    Alpha 0.3 to Alpha 0.4
     *  A bug with level size was fixed.
    * Fixed missing faces, so that all the tiles are actually cubes. Although I thought it wouldn't make a huge difference, everything looks way way better now.
      * Warp Tiles have been added, really cool
      *  Now shows a warning if your graphics card is too slow (or you are running software GL)
      * Turning speed is now limited, so that fixes one of BMJ's problems
      * The Window title is now UberTube
      *  Thanks to Bubba (your z-buffer suggestion was indeed correct), the background now displays.
    I made a game called ubertube, which I consider pretty cool. You basically fly down a tunnel, which you spin and try to bounce your way along. Its OpenGL/SDL based, and I include an EXE with required DLL's, along with the sourcecode, a Dev-Cpp project, and a script which builds it under Linux. It runs on Linux and Windows. Anyway, I'm just wondering if I can get some C&C on the game itself, or the code within it?

    Download the Game (Alpha 0.4)

    A screenshot is attached to this post.

    The screenshot is out of date, and things have improved since, such as the missing polys.

    NOTE: The post was edited by a moderator as requested by the poster.
    Attached Images Attached Images  
    Last edited by CrazyNorman; 04-03-2006 at 01:16 PM. Reason: Made title more descriptive
    Programming Your Mom. http://www.dandongs.com/

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    My top score: 85796
    That's possibly the hardest arcade game I've played this year. Tis awesome.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #3
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    Ya, it is challenging.
    Also, if there are any OpenGL experts out there? I'm having trouble figuring out why the background doesn't seem to show up on Windows boxes (works under Linux tho). If any of you guys are running windows and could help me figure it out, it would be great.
    Programming Your Mom. http://www.dandongs.com/

  4. #4
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Yeah no background here. Good game.

  5. #5

    Join Date
    May 2005
    Posts
    1,041
    I managed to get over 70,000 points just by holding down the right arrow and not trying.

    It looks good overall otherwise though.
    I'm not immature, I'm refined in the opposite direction.

  6. #6
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    230,176 is my high

    After 100,000 it gets really hard

    You awesome jokes signature doesn't seem to work

  7. #7
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    Thanks for pointing that out. I'll fix my signature. It is fairly easy to get to 100,000. My record is like 206 thousand something. I've got some improvements I'll put up in a minute.
    Programming Your Mom. http://www.dandongs.com/

  8. #8
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    OK, Version Alpha 0.3 is now up. It includes a pretty big change: Some sections of the cylinder rotate relative to others.
    Anyway, two things:
    A. Hopefully, I'll be able to fix the background bug. Can anyone help me figure out what I'm doing wrong? If it helps, when I run the executable under Linux using wine, the background shows up. Am I doing something OpenGL 2.0 specific or something?

    B. I'm thinking of adding an online high score board. Does anyone have any idea how to go about this securely, or am I just stuck with using the honor system?

    Glad people are having fun w/ my game.
    Programming Your Mom. http://www.dandongs.com/

  9. #9
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    498
    I don't know if you know, but your signature still doesn't work.

  10. #10
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    OK, I finally fixed it. Anyway, tommorow I'll put up a few more updates. So far, I've got the following working (but not access to a Windows box to compile until tommorow..)
    Code:
    * Limited turning rate to 360 deg/sec
    One Medium One:
     * I found a bug.  Originally, each level was supposed to last for the same amount of time, which obviously wasn't happening.  I fixed this, so each level is 15 seconds flat.  Of course, you get going faster, and you will get to a higher level, but your score might be lower.
    Two Big Ones:
      * Fixed missing faces, so that all the tiles are actually cubes.  Although I thought it wouldn't make a huge difference, everything looks way way better now.
      * Added a warp tile, the warp effect is wicked awesome.  I think you guys will enjoy this
    Last edited by CrazyNorman; 04-02-2006 at 09:29 PM.
    Programming Your Mom. http://www.dandongs.com/

  11. #11
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    Cool game. What causes you to get owned though?

  12. #12
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    Thx, The pink tiles do. If your not looking for them, they might blend in.
    Programming Your Mom. http://www.dandongs.com/

  13. #13
    C++ Newbie
    Join Date
    Jul 2005
    Location
    Plovdiv, Bulgaria
    Posts
    11
    I hit 300 000
    It's realy cool, but I'd add more tiles and faster speeds, so that you can reahc higher and higher speeds. also, you should rename the window in WIN cause right now it says "SDL_app"

    My 2 cents

  14. #14
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Perhaps the background is not showing due to zbuffer. NVidia's are on by default. Depending on how you are rendering the background this might cause some issues. Render the background with no Z and then render the tube.

    Or use a skybox for the background, but this is overkill since you only move in one direction throughout the game.

  15. #15
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    OK, my 2:

    If you hold down an arrow key for long enough the game crashes.
    This would be more fun if you could use a mouse instead of a keyboard.
    Don't say "You got OWNED!"

Page 1 of 5 12345 LastLast
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21