• 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.

Sarkurd

Members
  • Content count

    19
  • Joined

  • Last visited

Community Reputation

163 Neutral

About Sarkurd

  • Rank
    Member
  1. please delete it
  2. Thank you guys
  3. Hi guys whats tile map and whats the advantages of using it?
  4. if you're late to learn programming then i have to give up now cuz i'm 21 and it's only been 5 months i try to learn c++ and SFML
  5. Thank you
  6. i didn't understand :( but i watched CodingMadeEay tutorial and it warked but i don't know why did he put 100 to FrameSwitch and 500 for the FrameSpeed. float FrameCounter=0, FrameSwitch=100, FrameSpeed=500; FrameCounter += FrameSpeed * MyClock.restart().asSeconds(); if (FrameCounter >= FrameSwitch){ FrameCounter = 0; }
  7. i don't whats the mistake but it doesn't work  :/     i don't know how to detrmine the time  could you please write the code :D
  8. Hi I'm at the beginning of learning SFML , i wrote a program to show the character moving around but it moves too fast i want to control its speed and calculate frame rates per second but i have no idea how to do that here is my code #ifdef SFML_STATIC #pragma comment(lib, "glew.lib") #pragma comment(lib, "freetype.lib") #pragma comment(lib, "jpeg.lib") #pragma comment(lib, "opengl32.lib") #pragma comment(lib, "winmm.lib") #pragma comment(lib, "gdi32.lib") #endif // SFML_STATIC #include <SFML/Graphics.hpp> #include <iostream> #include <string> const int Window_Width = 800; const int Window_Height = 600; const std::string Window_Name = "My First SFML Game"; int main() { sf::RenderWindow window(sf::VideoMode(Window_Width, Window_Height), Window_Name, sf::Style::Close); window.setPosition(sf::Vector2i(250, 50)); // change position of the window window.setKeyRepeatEnabled(false); enum Dirction{ Down, Left, Right, Up }; sf::Vector2i source(1, 0); sf::Texture pTexture; sf::Sprite sPlayer; if (!pTexture.loadFromFile("Player.png")){ std::cout << "Error loading the Texture" << std::endl; return -1; } sPlayer.setTexture(pTexture); //Sprite sf::Event MyEvent; while (window.isOpen()) { while (window.pollEvent(MyEvent)) { switch (MyEvent.type) { case sf::Event::Closed: window.close(); break; } } if (sf::Keyboard::isKeyPressed(sf::Keyboard::Down)){ source.y = Down; sPlayer.move(0,1); } else if (sf::Keyboard::isKeyPressed(sf::Keyboard::Left)){ source.y = Left; sPlayer.move(-1, 0); } else if (sf::Keyboard::isKeyPressed(sf::Keyboard::Right)){ source.y = Right; sPlayer.move(1, 0); } else if (sf::Keyboard::isKeyPressed(sf::Keyboard::Up)){ source.y = Up; sPlayer.move(0, -1); } source.x++; if (source.x * 32 >= pTexture.getSize().x) source.x = 0; window.clear(); sPlayer.setTextureRect(sf::IntRect(source.x * 32, source.y*32, 32, 32)); window.draw(sPlayer); window.display(); } return EXIT_SUCCESS; } Thanks
  9. yes i'm about to learn SFML
  10. Hi I started to make game but i really don't understand whats Sprite, Texture,  and bitmap images vs normal png and jpeg images sorry but i really don't know :D     Thanks  
  11. I'll try to download it later i just upgraded my windows       Thank you it worked fine
  12.   I use Windows 8.1 and VS2013     That is usually the result of missing dependencies, especially on Windows where no general automatic library detection exists. Look at the output lines before that and see what exactly is failing. It's also possible you can just deactivate dependencies you do not need by setting the right options in CMake.   here its the error The C compiler identification is MSVC 18.0.30501.0 Check for working C compiler using: Visual Studio 12 Check for working C compiler using: Visual Studio 12 -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 0.2.1 :: 2 :: 1 :: 2 :: 2.0 Performing Test HAVE_WIN32_CC Performing Test HAVE_WIN32_CC - Success CMake Error at cmake/macros.cmake:28 (message): *** ERROR: DIRECTX requires the $DXSDK_DIR environment variable to be set Call Stack (most recent call first): CMakeLists.txt:798 (message_error) Configuring incomplete, errors occurred
  13. I tried to build it with CMake but i got an error "Error in configuration process, project files may be invalid"
  14. Hi guys i downloaded SDL2 a while ago but i can't find lib folder in SDL2-2.0.3 :/   sorry if that's a stupid question