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


  • Content count

  • Joined

  • Last visited

Community Reputation

784 Good

About Aroidzap

  • Rank

Personal Information

  • Location
    Czech Republic
  1. I think I will try to solve my problem another way... I don't want to make it messy. But thanks for help ;)
  2. ok... so... is it possible to push_back pointer to "temp" (create temp using some_class *temp = new some_class;) in array?
  3. Hi, I've got code like this :     std::vector<some_class> array; void pushback_function() {     some_class temp;     array.push_back(temp); }   Is it somehow possible to avoid calling destructor of temp
  4. Well...I've found that problem... I'm using GLEW... and I've forgotten to call glewInit(); 
  5. Will glTexImage2D work right for mipmapping? And one more thing... I just don't get, why this code works in one my app and in another not :/
  6. Hi, I can't figure out why this code throws me an exception. Can you help me?   TEXTURE LoadTexture(const char* file) {     TEXTURE texture; // GLuint texture, int width, int height     if ( IMG_Load(file) )     {         SDL_Surface* surface = IMG_Load(file);         GLuint tex;                  glGenTextures(1, &tex);         glBindTexture(GL_TEXTURE_2D, tex); THROWS EXCEPTION at this point -> glTexStorage2D(GL_TEXTURE_2D, 1, GL_RGBA8, surface->w, surface->h);         glTexSubImage2D( GL_TEXTURE_2D, 0, 0, 0, surface->w, surface->h, GL_RGBA, GL_UNSIGNED_BYTE, surface->pixels);                  glGenerateMipmap(GL_TEXTURE_2D);         GLfloat maxAniso;         glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &maxAniso);         glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, maxAniso);         glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);         glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);         texture.texture=tex;         texture.width=surface->w;         texture.height=surface->h;         SDL_FreeSurface(surface);     }     else     {         texture.texture=0;         texture.width=0;         texture.height=0;     }     return texture; }  
  7. ok thanks ;)
  8. Hi, what is typical number of mipmaps? (including base level)
  9. Hi :)   I don't know if it will work, but try this (I've used it somewhere) glEnable(GL_BLEND); glBlendFunc(GL_DST_COLOR, GL_ONE_MINUS_DST_ALPHA); :)
  10. Check your code for bad pointers. I expect you can have some glVertexAttribPointer() pointers fixed, where you have to use sizeof()
  11. Hi, is possible to use "layout (location = x)" for Uniform Block? I'm trying to make VAOs and UBOs independent on current Shader/Program.
  12. OK thanks ;)
  13. But some things i don't really get... when I'm drawing : [CODE]glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, IBO_ID); glDrawElements(GL_TRIANGLES,Index_Count,GL_UNSIGNED_SHORT,NULL);[/CODE] 1) Why i'm binding IBO, why not VBO (is it possible to discard VBO id after generating buffer?) 2) Why is [b]const GLvoid *indices[/b] of glDrawElements set to NULL?
  14. Does anybody know? ie. can i speedup drawing by glDisableVertexAttribArray of unnecessary attributes?