Jump to content
  • Advertisement

begingpps

Member
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

114 Neutral

About begingpps

  • Rank
    Newbie
  1. Hello everyone!   I'm trying to find a good 2d game tutorial that is based on C++.   So far I've found Lazy Foo Beginning game Programming 2.0 which is based on SDL and also this site www[dot]3dbuzz[dot]com/training/view/c-plus-plus-complete/spritebased-game .   Does anyone has any info about these two ? 3dbuzz has paid membership and I would not want to make a membership is they are not any good.   I've read some reviews on Lazy Foo which say the his approach is good for SDL but not game programming in general.   Does anyone knows other tutorials that can get you from A to Z ?   Thanks!  
  2.   Not saying that is broke , just wanted to make the thread to-the-point as possible :)
  3. LATER EDIT:   it was mostly my fault. It's my second time using Visual Studio (used to work with Xcode but since most of the game programming tutorials are for Windows, I switched to a Windows PC) and even though there was only one project started, I had 2 files opened which both had an int main () in them, hence the error ....
  4. Hi everyone!   I'm trying out Lazy Foo' Beginning Game Programming 2.0   I just pasted the first program, just to check if it works. I'm using Visual Studio 2015 with the latest SDL libraries.   This is the code /*This source code copyrighted by Lazy Foo' Productions (2004-2015) and may not be redistributed without written permission.*/ //Using SDL and standard IO #include <SDL.h> #include <stdio.h> //Screen dimension constants const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; int main(int argc, char* args[]) { //The window we'll be rendering to SDL_Window* window = NULL; //The surface contained by the window SDL_Surface* screenSurface = NULL; //Initialize SDL if (SDL_Init(SDL_INIT_VIDEO) < 0) { printf("SDL could not initialize! SDL_Error: %s\n", SDL_GetError()); } else { //Create window window = SDL_CreateWindow("SDL Tutorial", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_SHOWN); if (window == NULL) { printf("Window could not be created! SDL_Error: %s\n", SDL_GetError()); } else { //Get window surface screenSurface = SDL_GetWindowSurface(window); //Fill the surface white SDL_FillRect(screenSurface, NULL, SDL_MapRGB(screenSurface->format, 0xFF, 0xFF, 0xFF)); //Update the surface SDL_UpdateWindowSurface(window); //Wait two seconds SDL_Delay(2000); } } //Destroy window SDL_DestroyWindow(window); //Quit SDL subsystems SDL_Quit(); return 0; } and I'm getting an error fatal error LNK1169: one or more multiply defined symbols found Looking on the net I found out this is a general error, let's say... Everything was set ok, Linker and everything else. I've tried also lesson number 2 and it's the same error.   Could some guide me to way to fix the code and make it work?   Thanks!
  5. begingpps

    My introduction and also a question

    Please ask questions like that one in the For Beginners forum, not Game Industry Job Advice. Or do you want this thread moved back there again?   I think I'll make another thread with the last two question because their are a little bit beyond the subject of this thread :)
  6. begingpps

    My introduction and also a question

    Thanks everyone for your advice!             The QA path is the only one available for me at the moment + it gives me a good insight on the game development stages. You get used to terms and all sort of stuff from writing bugs and also I found a lot of interesting things when work with the game command console (where you can enter flymode and stuff like that) .    When i first got into the QA thing, the first article I read was the one from Sloperama .   After reading carefully through the responses I think I'll use my lunch break to read the books I have and the time spent home to the actual programming (it's also quite wired to install Microsoft Visual or some libraries on the PC that i have the office).     On the other hand, what do you guys think of Lazy Foo Begin Game Programming 2.0 using SDL. Do you think it's a good start? I've checked it out and it seems pretty complex and interesting, covering many points.   Has anyone tried this 3dbuzz[dot]com/training/view/c-plus-plus-complete/spritebased-game ? I've seen some of their free videos but I'm not sure if the other are ok. You have to pay for them and I'm not sure I want to do that, if they don't add any value.   Thanks!
  7. begingpps

    My introduction and also a question

      Make games. It will be far more useful to you; you'll learn how to do the thing you want to do, and you'll have some games to show off when you try to get a job as a gameplay programmer somewhere.   I was also thinking about this but there are some paradigms and design patterns that I'd like to know before I start the actual work. For example reading the Game Programming Patterns gave me some very useful examples on how to work with C++ and gaming (for example the flyweight or command pattern).
  8. begingpps

    My introduction and also a question

      Hi,   Thanks for this advice! I have all sort of NDA policies so I'm a little bit afraid to tell the name. Let's just it's one of the biggest publishers on the market right now. I appreciate your advice because it's somehow my way of thinking.
  9. Hi guys, My name is Andrew and I’d like to ask for some advice here.. :) I recently joined a big gaming company as a Game Tester. My goal is to become a Gamplay programmer and I felt that starting from a lower position would give an insight of the company and on the process of games development without having a huge responsibility on my shoulders. I’m fairly good with C++ , I know and work with concepts like classes, functions , pointers and so on. I’m an engineer so I understand how computer memory works and so on. In this quest of becoming GP programmer I’ve bought 2 books, Game Programming Patterns and Game Coding Complete. I started reading the first one and I find it a good read for me because it explains the concepts of game programming on a very basic level. My problem is that the time I have for learning is limited , around 1 hour during lunch break and around 2 - 3 hours when I get home from work (Weekends also). My dilemma is the following: What is the most efficient way to learn game programming, given the limited time I have? Should I read these books, do the examples they have and then try to build a game of my own? Or should i just start with some practical tutorials (like Lazy Foo has with SDL) without having any theory knowledge about Game programming. The fact that I’m 32 puts another weight on my shoulders. Around January 2017 (that is a year from now) I’d like to apply for a “Junior” Gameplay Programmer position at the company I work for (yes, they have something like junior GP programmer for their staff). Thanks a lot , in advance, for any answer! Andrew
  • 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!