• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
anikan1297

Looking for GOOD Tutorials for Beginner Game Development

20 posts in this topic

Alright Guys I have been scouring the internet for sometime now and I still have not been able to find ONE Tutorial on how to start out making your own 2D engine, or even simple games like Pong and it's source code that actually works. By the way I use Visual C++ 2010. I really love the feel of programming but the simple console applications aren't cutting it anymore. If you guys have any suggestion at all of where to find any GOOD Tutorials, by all means please go ahead and share all help help will be VERY much appreciated!

 

Thanks,

0

Share this post


Link to post
Share on other sites

Yes, and I would also like to add I have been trying to work SDL and SFML and neither of them work at all! Can't find a very good tutorial on those either. Sorry if i'm coming off a negative person its just I would really love to start programming and making something.

Edited by anikan1297
1

Share this post


Link to post
Share on other sites

I know enough to look at a language(programming) I don't even know the syntax of and be able to read it and see what its doing. Most of experience is in C++.

0

Share this post


Link to post
Share on other sites

Tried that the other day and couldn't get SFML to work, Link error: LINK : fatal error LNK1104: cannot open file 'sfml-system-d.lib'

0

Share this post


Link to post
Share on other sites

Tried that the other day and couldn't get SFML to work, Link error: LINK : fatal error LNK1104: cannot open file 'sfml-system-d.lib'

Did you try downloading the configured project for each part?  It's configured for you and has no external dependencies.

 

Truth is, linker problems are going to be one of your biggest fights with SFML.

0

Share this post


Link to post
Share on other sites

If you're still thinking about SDL, there is a series of good tutorials at http://www.sdltutorials.com/

 

The tutorials on there will teach the basics of using SDL, such as rendering an image to the screen, receiving playing input, etc, as well as how to construct a game engine.

Edited by Ludus
0

Share this post


Link to post
Share on other sites
Well the thing is Ludus when I try to get it setup it doesn't work, there's always a linker error or a compiler error saying its missing some .ddl files. If you can a good legitimate tutorial on how to install SDL in Visual c++ 2010 that would be great, but as it looks now I think I'm going to be switching compilers even though I love the UI of Visual Studio. Also SFML is still not working.
0

Share this post


Link to post
Share on other sites

Well the thing is Ludus when I try to get it setup it doesn't work, there's always a linker error or a compiler error saying its missing some .ddl files. If you can a good legitimate tutorial on how to install SDL in Visual c++ 2010 that would be great, but as it looks now I think I'm going to be switching compilers even though I love the UI of Visual Studio. Also SFML is still not working.

Are you still getting the same error in VS while trying to compile SFML ? Have you looked at the link that I gave you?

0

Share this post


Link to post
Share on other sites

For setting up SDL, I recommend Lazyfoo's tutorial: http://lazyfoo.net/SDL_tutorials/lesson01/index.php

 

Also, don't be discouraged by the setup process - this is often the most frustrating part of getting started, but it's (mostly) smooth sailing once you get everything working correctly.

Edited by Ludus
2

Share this post


Link to post
Share on other sites

Alright Guys i'm trying to setup SFML-2.0 right now and I think I got a whole lot of the bugs worked out but I still keep getting these errors: 

 

main.obj : error LNK2001: unresolved external symbol "public: static class sf::RenderStates const sf::RenderStates::Default" (?Default@RenderStates@sf@@2V12@B)

main.obj : error LNK2001: unresolved external symbol "public: static class sf::Color const sf::Color::Green" (?Green@Color@sf@@2V12@B)

 

I'm not really sure of what to do, I google'd it and found a couple of possible solutions but none of them worked. Dang This sure is difficult, and i'm going to create a tutorial once I figure it out!

0

Share this post


Link to post
Share on other sites

Could you paste your code?

 

I say that because it looks like a code error.

 

Although your library linking order might be wrong/not include the SFML graphics library.

Edited by Dragonsoulj
0

Share this post


Link to post
Share on other sites

I got this code from the tutorial page on SFML: http://www.sfml-dev.org/tutorials/2.0/start-vc.php

 

#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
    sf::CircleShape shape(100.f);
    shape.setFillColor(sf::Color::Green);

    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window.close();
        }

        window.clear();
        window.draw(shape);
        window.display();
    }

    return 0;
}

 

I've Also uploaded Images to Photobucket so you can see what i've done:

 

Error: http://i1357.photobucket.com/albums/q746/anikan1297/Error_zpsb36a17d4.jpg

Linker>Input>Addition Dependencies: http://i1357.photobucket.com/albums/q746/anikan1297/LinkerInputAdditionalDependencies_zps3b0e1e74.jpg

Linker>General>Additional Library Directories: http://i1357.photobucket.com/albums/q746/anikan1297/LinkerGeneralAdditionLibraryDirectories_zpsd573b51d.jpg

C/C++>Preprocessor>Preprocessor Definitions(Release): http://i1357.photobucket.com/albums/q746/anikan1297/CPreprocessorDefintionsRelease_zpsa6cb196f.jpg

C/C++>Preprocessor>Preprocessor Definitions(Debug): http://i1357.photobucket.com/albums/q746/anikan1297/CPreprocessorDefinitionsDebug_zps102b8db1.jpg

C/C++>Additional Directories: http://i1357.photobucket.com/albums/q746/anikan1297/CAdditionIncludeDirectories_zps62295ebd.jpg

Edited by anikan1297
0

Share this post


Link to post
Share on other sites

Preprocessor(Release) should look like this: SFML_STATIC;WIN32;NDEBUG;_WINDOWS .....
 
You need to link the static libs. And for debug mode the debug libs. Try to remove the sfml libs from linker->input. and add this to your code file:

 

#ifdef _DEBUG
#pragma comment(lib, "sfml-system-s-d.lib")
#pragma comment(lib, "sfml-window-s-d.lib")
#pragma comment(lib, "sfml-graphics-s-d.lib")
#else
#pragma comment(lib, "sfml-system-s.lib")
#pragma comment(lib, "sfml-window-s.lib")
#pragma comment(lib, "sfml-graphics-s.lib")
#endif
Edited by AngryPlatypus
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0