Thread: First Game.

  1. #16
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    DOS, i am working on doing my Console version well, then i will move on to GUI.

  2. #17
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Baron, i checked out your DOM game, an first i'd like to say its rlly cool man.

    Its already showed me how to make my own .header files for such things as keys and such (i assume the numbers are its ASCII value), but i am a little thrown off by your levels header file, i don't follow it. I mean i understand that some are people and items and such but how its linked to gameplay and such....never been exposed to that before.

  3. #18
    Registered User red_baron's Avatar
    Join Date
    May 2002
    Posts
    274
    glad you liked it but i gotta say its engine isn't the best...
    i programmed it for my exam for computer science last year i ran out of time so thats why the engine isn't as good as i wanted it to be, for example i make a new function for each map, in like the game function it handles everything to do with the first map, first of all the main character just has 2 variables for its x and y position and xlvl ylvl (which are the different screens for each map, for example if u go to the edge of the map on the right side the xlvl is increased and it goes into the level.h file to find out which section of the map to print on the screen). you can't walk on the walls because i put an if statement before actually letting the person move:
    Code:
    else if(keys==K_LEFT && x>0+3 && level1[ylvl][xlvl][y-2][x-3-1]!=b2 && level1[ylvl][xlvl][y-2][x-3-1]!=be)
    it basically checks to see if the block on the left isnt a b2 or be tile
    b2 is the wall tile and be is the water tile (btw ignore the x-3 and y-2 i just made a small mistake while orienting the persons x y positions and the map x y positions too lazy to correct that )

    basically the program checks to see if you are in a special position and if so then it gives you further options, for example if you are beside the troll it asks you if u want to fight it or pay it or leave, if u fight it and win, then the array which holds the map which contains the troll changes the square with the troll into a normal one and a variable called quest is set as 1 so that next time if you are on the special position it wont give you the options again.
    ¿Red Baron?

    "Imagination is more important than knowledge"
    -Albert Einstein (1879-1955)

    Check out my games!

    [code] /* dont forget code tags! */ [/code]

  4. #19
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    thnx for the excellent elaboration.

    I am hopeing to have my first GUI game done for my final exam. It is going to be a doom-rip but with much much better graphics then the orignal doom, and hopefully based on DX.

  5. #20
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    Ride -or- Die, you must realize that creating even a game close to as good as the original Doom with even worse graphics is going to be incredibly difficult for you or any other amatuer programmer. Basically it's a lot harder than what you're thinking. It's good to be optimistic but don't get your hopes up too high.

  6. #21
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    i realize it. I have till june 1st to do it, and i plan too do alot of programming to get to there, i realize the overshot of hopes.

  7. #22
    Registered User red_baron's Avatar
    Join Date
    May 2002
    Posts
    274
    nothing is impossible
    set your goals as high as you can (but expect to be somewhat disapointed )
    ¿Red Baron?

    "Imagination is more important than knowledge"
    -Albert Einstein (1879-1955)

    Check out my games!

    [code] /* dont forget code tags! */ [/code]

  8. #23
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    I agree!

    Ok back on topic real quick, how can i automatically max the window on program launch?

  9. #24
    |<o>| <--cyclopse LouDu's Avatar
    Join Date
    Mar 2003
    Posts
    137
    redbaron, i would defiantly want to see some source files of that to
    Languages <> C++, HTML

    /*The Ledgend of Ludlow Coming to a PC Near
    You intro Cinenmatic Needed email me of
    Reply to one of my threads if you can make
    one, thats decent. */

  10. #25
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Don't bump up old threads, Hmm, RoD's still at his first
    program in this thread, Damn this is old.
    --

  11. #26
    |<o>| <--cyclopse LouDu's Avatar
    Join Date
    Mar 2003
    Posts
    137
    ohh ok sry
    Languages <> C++, HTML

    /*The Ledgend of Ludlow Coming to a PC Near
    You intro Cinenmatic Needed email me of
    Reply to one of my threads if you can make
    one, thats decent. */

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