DOS, i am working on doing my Console version well, then i will move on to GUI.
DOS, i am working on doing my Console version well, then i will move on to GUI.
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.
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:
it basically checks to see if the block on the left isnt a b2 or be tileCode: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)
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]
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.
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.
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.
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]
I agree!
Ok back on topic real quick, how can i automatically max the window on program launch?
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. */
Don't bump up old threads, Hmm, RoD's still at his first
program in this thread, Damn this is old.
--
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. */