Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

303 Neutral

About VaugeCookie

  • Rank
  1. cheers people, i have loads to go on now
  2. see this is why i love this forum, i ask for help, i get good sound advice, cheers mate
  3. hey, im new(ish) to programming, im learning alot and enjoying my experience's almost as much as shouting at my pc on a regular basis.   could someone please recommend a few sites where i can learn / begin reading about open GL, i have had a little poke around and there are so many different versions and books etc, its quite confusing i appreciate all and any recommendations... thanks   *Edit* sorry should have said im using c++ and visual studio 12/13
  4. yeah sure, im completing a home study course in c++ for game programming, and i am now about to try and complete my first portfolio project. A 10-15 page TDD,but if im honest i don't think i have the knowledge to try and complete such a thing to the spec they require, so i decided i should try and write a simple.. very simple 2D game using directX, to give me some proper understanding of things like, memory requirement, controls, logic, input.... etc  all the previous examples / tasks within the manuals/ lessons have been in DirectDraw and i know the next years worth of lessons is going to be in DirectX9, so i thought it would be a wise choice to learn this now to gain a small advantage on next year.
  5. hey, my problem is that i have to create a small 2D game using DirectX and i can't seem to find any decent tutorials out there, i am relatively new to programming and its as exciting as much as it is frustrating..   i wanna take this step by step so first things first, i want to open a window, initialise DirectX and draw a background, are there any tried and tested tutorials out there that you would recommend to me?    might be worth mentioning that i have taken a look at http://zophusx.byethost11.com/tutorial.php?lan=dx9&num=0 and im getting some good explainations form this site and im about to check out http://www.directxtutorial.com/.   i'll take any and all constructive advice, no answer too small 
  6. Thanks people, u are all being a huge help, though this task still looks scary im feeling a little bit more comfortable with where to start,
  7. thanks, seeing as this is my first official project that counts towards my final marks i want it to be perfect / mindblowingly so,   i really appreciate the help and direction im getting here, thank you,    question... would a TDD contain example coding for say some sort of AI and then explanation of why i have structured certain aspects in such a way? 
  8. cheers for the pointers mate, appreciated 
  9. hey, heres my story, im learning C++ Gave Dev via a home study course, its a legitimate course offering an nationally recognised qualification, im now up to my first portfolio project (10 - 15 page TDD, not a GDD) and im stucker then bubble gum stuck to a rag....   does anyone have any recommended or go to links that they would pass on for me to find some sort of decent reference so i can gain some insight into what is included in a decent TDD, i have done a few google searches but i cant really find anything that is helping me get a grip of the situation..    any help of any kind is appreciated,    cheers fellas 
  10. VaugeCookie

    C++ EXERCISE HELP (pancake challenge)

    thanks for the help people, i too am baffled as to why this was down voted,     just to mention im using vs 2010 and am teaching myself c++ through various books and websites as well as a  home study course, i think i understand the basics of debugging, using breakpoints etc but i didn't think that was where my problem came from, my problem was that my understanding of how to use various loops to my advantage was limited so the above section of code was a major help, all the extra comments and explanations were a massive help in understanding various aspects.    i just want to say that this is not the complete exercise i still have a few other problems to solve and intentionally did not post them so i still had something to do   and  due to the quality of help from the above code i am also researching string stream and vectors so i can apply them to my next piece of code as these seem like hugely valuable tools im also a little upset that someone would downvote something that was a huge help and not provide a reason for it.  dissecting the above code has helped me immensely in my studies and understanding
  11. VaugeCookie

    C++ EXERCISE HELP (pancake challenge)

    cheers for the input fellas i really appreciate all the help as well as the different ways i can approach the same problem, thanks for your time and input
  12. VaugeCookie

    C++ EXERCISE HELP (pancake challenge)

    u sir are my new best friend, thank you 
  13. OK so here is my attempted code as you can see i am trying to somehow implement a way that i can join up the person who ate the most pancakes to their value of pancakes eaten, i have been bashing my face into the monitor for a few hours now and have finally conceded that i need help  please could someone review my code and drop a few hints on how to make this work,  Once the data has been entered the program must analyze the data and output which person ate the most pancakes for breakfast. */ #include "iostream" #include <stdio.h> using namespace std; int person[10]= { 0,0,0,0,0,0,0,0,0,0};  // i have written out this structure with the intention of being able to print out the name of person an cakes eaten as one item // i haven't implemented it anywhere within the code because i dont have a clue how too make it work the way that i want. //structure to hold person data and cakes eaten typedef struct personalDetails { char name[10]; int index; }personINFO; //SORTING OUT void findHighest() { int highest = -1; int tempA = -1; int tempB = -1; for(int index = 0; index < 10; index++) { tempA = person[index]; tempB = person[index + 1]; if(tempA > tempB) { highest = tempA;  } } cout << highest << " was the most pancakes eaten\n"; // i need to some how edit this line to print out who ate the most } int main (int args, char* argv[]){ //user input and instruction screen cout << "--------------------------------PANCAKE-O-MATIC--------------------------------\n\n"; cout << "-----------please enter the number of pancakes eaten by each person------------\n\n"; for(int index = 0;index < 10; index++) { cout << "how many did person" << " " << index + 1 << " eat? "; // i know i need to change something here so that the number of pancakes eaten cin >> person[index],"\n";                                                        // is attached to the person eating them i.e person 1 ate 2, person 2 ate 4 etc } //sort function findHighest(); system("PAUSE"); }/*Write a program that asks the user to enter the number of pancakes eaten for breakfast by 10 different people (Person 1, Person 2, ..., Person 10) [\CODE]
  14. VaugeCookie

    What are offsets in SDL?

    i love this forum, cheers people
  15. VaugeCookie

    What are offsets in SDL?

    hi im teaching myself SDL via lazyfoos website and i keep coming across "offset"    void apply_surface(int x, int y, SDL_Surface* source, SDL_Surface* destination ) { //Make a temporary rectangle to hold the offsets SDL_Rect offset; //Give the offsets to the rectangle offset.x = x; offset.y = y; }   im obviously new to all this so please be gentle, im not sure what these actually mean or do? what am i offsetting? is it something to do with where its going to appear on the screen?   thanks in advance
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!