UberTube

This is a discussion on UberTube within the Game Programming forums, part of the General Programming Boards category; Hehe, how many runtime errors are there? Are the endianness based, or did I mess up somewhere else, or is ...

  1. #61
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    Hehe, how many runtime errors are there? Are the endianness based, or did I mess up somewhere else, or is it just differences which cannot be worked around with good platform-independent code?
    Programming Your Mom. http://www.dandongs.com/

  2. #62
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    498
    OK, everything is working now except for the fonts, because I can't find the SDL font header for Mac OS X , so I think I'm going to use my own font routine, because I'm too lazy to search for the SDL font header file

    As for endianess problems? None.

    I think I can get the game posted by tonight.

  3. #63
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    Sweet. Also, will the font thing you write be cross platform, or mac specific, just out of interest?
    Programming Your Mom. http://www.dandongs.com/

  4. #64
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    498
    It'll be using GLUT, so, yes it will be cross platform.

  5. #65
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    498
    Here's the application, and the source code: Ubertube 0.7 Mac OS X (universal binary)

    However, there are several things to note:

    #1: My code is baaad!!! The stuff I added it completely helter-skelter, so don't get your hopes high
    #2: You need SDL installed, or else the program will not work
    #3: The program and the source code do not have the highscores, because when I tried to download curl libraries, the server went down
    #4: The fonts are pretty crappy, too. I positioned them on the screen, using my own math and coordinates, because I couldn't use the existing matrix transformations, because my font drawing technique uses the orthographic matrix, and positions text with glRasterPosition().
    #5: I couldn't figure out how to kick Xcode out of debug build configuration, so although it works, it's definitley not optimized

    Have fun!!!

    Please don't get mad at me for this sloppy port

  6. #66
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    Thanks, any port is better than no port. I'll see what I can do about finding you an SDL_ttf for Mac OSX (so that we can have a unified codebase), but this is great. Is it alright if I post it on the website?
    Programming Your Mom. http://www.dandongs.com/

  7. #67
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    498
    I found the SDL_ttf (I had to download it seperatly, of course), so hopefuly I can get fonts and highscores working in the next version. And, yeah that would be fine if you posted the game on the website.

Page 5 of 5 FirstFirst 12345
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