A hard game?

This is a discussion on A hard game? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I love programs that are smarter than the people that develop programs....

  1. #16
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    I love programs that are smarter than the people that develop programs.

  2. #17
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    There's no such thing as a CSS ID ...

    (Yeah, I'm in a nitpicky mood.)
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #18
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Okay! The slashes are fixed. And I have it all zipped.

    In fact, thanks for the criticism Koni, I will work on fixing the code.
    >> you also have to know a wider skillset, including at least (X)HTML and CSS.
    Although, I dont know why you said this, I though by looking at the code it was obvious that I do.

    Now wuddua think of the game?

  4. #19
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    extension isn't "zipped"
    Had a little trouble with downloading glaux
    Maybe look at not using it (http://www.gamedev.net/community/for...opic_id=275238)
    Found it at http://www.monkeyfighter.com/downloads/glaux.dll

    As for the game..
    Kind of fun, wish you could turn faster
    Game seems to have trouble when you crash into a corner, can't seem to get out

  5. #20
    Lean Mean Coding Machine KONI's Avatar
    Join Date
    Mar 2007
    Location
    Luxembourg, Europe
    Posts
    444
    Before even trying the game, rename your file from .zipped to .zip. The webserver has no associated handler for the extension .zipped and tries to send it as text-file. The only way to download it is to right-click and use "save as" or wait for the gibberish to load and use "save page".

    The link to glaux.dll didn't work for me under Windows XP, he said that it was "not a windows glaux.dll image". I found a working link here.

    As for the game, I immediately noticed that the jumping is totally weird. You're doing something funny with the skybox. It looks like you would lift the whole map or move the skybox...definitely not like it should be. I'll test the rest later.
    Last edited by KONI; 04-18-2007 at 12:27 AM.

  6. #21
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Quote Originally Posted by MadCow257
    Kind of fun, wish you could turn faster
    I will adjust the turning.
    Quote Originally Posted by MadCow257
    Game seems to have trouble when you crash into a corner, can't seem to get out
    I know, this is a big problem for me, I still can't track down (in the code) whats holding you there.
    Quote Originally Posted by KONI
    Before even trying the game, rename your file from .zipped to .zip. The webserver has no associated handler for the extension .zipped and tries to send it as text-file. The only way to download it is to right-click and use "save as" or wait for the gibberish to load and use "save page".
    As you can probably tell, I'm using a free hosting account, and awardspace is the best free PHP host I have found (no adds ), but they dont allow .zip and .exe file uploads or renames, which is why I use .zipped and .com, .com is a DOS application, but it would still open as a windows app, which is what I want. As for .zipped, I figured it was so obvious what it is, that you could rename (or Open With...) after downloading.
    Quote Originally Posted by KONI
    As for the game, I immediately noticed that the jumping is totally weird. You're doing something funny with the skybox. It looks like you would lift the whole map or move the skybox...definitely not like it should be. I'll test the rest later.
    I know - that too - , how do you suggest I do it?

    Here are some extra controls that I need to put in a readme or somthing:
    P - Closes/Opens the stat panel
    T - Ends your current game.
    B - Turns Off/On the background.

  7. #22
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    >I know - that too - , how do you suggest I do it?

    Don't render the skybox relative to the player, render it relative to the map.


    How bout some screen shots for us non-windows users?

  8. #23
    Lean Mean Coding Machine KONI's Avatar
    Join Date
    Mar 2007
    Location
    Luxembourg, Europe
    Posts
    444
    @queatrix:

    I don't know if you did already, but read this thread, you might like it.

  9. #24
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    Not bad for a second game. Just a question, how did you go about making/storing the level?
    Programming Your Mom. http://www.dandongs.com/

  10. #25
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    If you knew I'd have to kill you. Actually, I have it hardcoded into a matrix.

  11. #26
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    >> Don't render the skybox relative to the player, render it relative to the map.
    I dont follow you.

    >> How bout some screen shots for us non-windows users?
    Hold on a sec, I will get some, (maybe someone will beat me to it. )

  12. #27
    Lean Mean Coding Machine KONI's Avatar
    Join Date
    Mar 2007
    Location
    Luxembourg, Europe
    Posts
    444
    Quote Originally Posted by Queatrix View Post
    >> Don't render the skybox relative to the player, render it relative to the map.
    I dont follow you.
    What he wants to say is that the order in which you display things is really important in OpenGL, if you don't reset the matrix in between. You probably made the mistake and made the wrong order, meaning that a change in the user position has an influence on the position of either the map or the skybox, which is logically wrong.

  13. #28
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    But that wouldnt look right if I where to make the bg stay still.

    EDIT:
    Would it?
    Last edited by Queatrix; 04-18-2007 at 03:45 PM.

  14. #29
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    @non-window users (Perspective):
    I have the screenshots now, they are with the program files in the link in 1st post.

  15. #30
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    But that wouldnt look right if I where to make the bg stay still.

    EDIT:
    Would it?
    I think it actually might look right (can't test it for you right now).
    It only takes three lines of code to find out of course.
    Code:
    glPushMatrix();
    glLoadIdentity();
    //Draw my skybox
    glPopMatrix();
    Programming Your Mom. http://www.dandongs.com/

Page 2 of 3 FirstFirst 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Programming 2d Array Question
    By jeev2005 in forum C Programming
    Replies: 3
    Last Post: 04-26-2006, 03:18 PM
  2. craps game & dice game..
    By cgurl05 in forum C Programming
    Replies: 3
    Last Post: 03-25-2006, 06:58 PM
  3. PC Game project requires c++ programmers
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 02-21-2006, 11:23 PM
  4. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-25-2006, 11:14 PM
  5. My Memory Game
    By jazy921 in forum C Programming
    Replies: 0
    Last Post: 05-05-2003, 05:13 PM

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