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

bensmith87

Members
  • Content count

    58
  • Joined

  • Last visited

Community Reputation

202 Neutral

About bensmith87

  • Rank
    Member

Personal Information

  1. Maybe this is the same as region from bitmap, but could you just see what color is under the mouse, and have a different color for each region?
  2. [quote]However, when I try to do the first lesson I type this into the main file (SDLmain.h):[/quote] Should it not be in a "c file", as in SDLmain.c?
  3. I think your idea of storing the number * 10 should work, but you may need to use round() instead of the cast?
  4. I use to love the tutorials at 3D coding [url="http://www.ecere.com/3dbhole/"]Blackhole[/url]
  5. OpenGL

    I thought that this way would be easier, as it only needs to do the picking when the user clicks (so speed is not an isssue), and I already have all the rendering code, whereas I do not have any ray collision code. Anyway, I got it to work with a hack that I hope will not result in any nasty artifacts... I pass the IDs of the object to the shader as uniform integers, and scale them between 0.0f and 1.0f by dividing by 255.0f [code]fragColor = vec4(playerId / 255.0f, entityType / 255.0f, entityId / 255.0f);[/code] Will this result in any nasties?
  6. Straight GDB if you're into terminal stuff, otherwise most of the open source IDEs will have an interface for it, for example Code::Blocks works great.
  7. OpenGL

    I think that you can get away without sorting... The glass and tree blocks do with an alpha test as normal. Draw the water blocks last, with blending and depth writing disabled, but you will have to make sure only to draw the top blocks. This will only work if your water is level, i.e no waterfalls, as no translucent objects will be behind other transparent objects. I hope that makes sense
  8. OpenGL

    I other words, I want to know if I can write exact integer values to the output of my fragment shader instead of writing float values between 0.0f and 1.0f that will get converted into the range 0 - 255?
  9. Hi, Using an OpenGL 3.1 core profile I've been trying to get mouse picking to work. I want to be able to render each object with a simple GLSL shader that outputs a color corresponding to the ID of the object, more precisely I wanted the red component to be an unsigned char that has the ID of the player that the object belongs to, the green to contain the type of object (character, building, map resource, etc...) and the blue component to contain the ID of the object. I have created a FBO with a texture for the color attachment the size of the screen and GL_RGB8 for the internal format and GL_UNSIGNED_BYTE for the type... [code]glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB8, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, NULL);[/code] I bind this FBO, render the scene with the picking shader, and then get the pixel from the texture at the mouse location. So, my questions are... [list=1] [*]Will this work? [*]How do I make the outFragColor in the shader the exact char values I want? [/list] Thanks for any help.
  10. [quote name='SteveDeFacto' timestamp='1295475911' post='4761500'] I need a screen capture in full resolution so I can figure out if the text is a few pixels larger than on my computer and by how much. [/quote]
  11. [quote name='SteveDeFacto' timestamp='1295474585' post='4761485'] Alright the font should be right now. Can I get a screen cap now? Also make sure you refresh the page or it will use the old cash of the page. [/quote] Hmm, even after clearing my cache and refreshing it looks the same.
  12. [quote name='SteveDeFacto' timestamp='1295473583' post='4761478'] Definitely not how it is suppose to look. Is that linux? [/quote] Yeah, Arch. Maybe I don't have a font installed that you use? I thought I had all the main ones.
  13. It looks a little funny on my browser [IMG]http://i52.tinypic.com/2vmiv5w.png[/IMG] But apart from that I think it looks good. Maybe the about page could be reached by clicking on the OVGL header. Also, what resolution are you targeting?
  14. Just want to wish you luck, and I will be more than happy to test it.
  15. Quote:Original post by electron_theory with survival based gameplay based on morally challenging decisions... Like in your video, where after killing the guy, you repeatably squat on his head, and then run over his body a few times in the hummer? :) Welcome, and I think you have a great start to your game.