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

pitxardo

Members
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

126 Neutral

About pitxardo

  • Rank
    Newbie
  1. [quote name='FLeBlanc' timestamp='1350683219' post='4991949'] You could always go with the technique outlined here: [url="http://www.gamedev.net/page/resources/_/technical/game-programming/tilemap-based-game-techniques-handling-terrai-r934"]http://www.gamedev.n...ing-terrai-r934[/url] Essentially, each type of terrain has a set of alpha-blended transitions intended to be drawn over neighboring terrain. [/quote] [quote name='zacaj' timestamp='1350683430' post='4991954'] In order to achieve #2, the easiest way would be to draw the bottom layer, then draw the top layer with alpha blending, setting each corner specifically based on what kind of gradient you want [/quote] Thanks! I think that I need to apply a mix of this two techniques :-)
  2. [quote name='zacaj' timestamp='1350678874' post='4991914'] Are you using shaders? [/quote] No, there is no shaders and not idea how to apply it. My level with OpenGL is very basic :-(
  3. Hi everyone! I'm working in a tile based game that uses OpenGL and QUADS to draw each tile. In these two images you can see an example: [img]http://i49.tinypic.com/2rwtjpj.jpg[/img] [img]http://i46.tinypic.com/dfkh7r.jpg[/img] You can see that there is a ground and water tiles, each one with its own texture. Also there are different gradient colors depending of the depth or altiture of the tile. The red square is a provisional cursor. The game background logic works with bidimensional array of tiles. Here is a full capture without zoom: [img]http://i46.tinypic.com/95ufz7.jpg[/img] You can see the game has a retro/ugly style that I want to change. At least, I want to beauty that squared-as-a-hell tiles with some transition between them. There is some taken into account options: [b]1.[/b] I can try with a good tileset like this: [img]http://www.saltgames.com/wp-content/uploads/2009/12/tileset.png[/img] Source: [url="http://forums.tigsource.com/index.php?topic=9859.0"]http://forums.tigsou...hp?topic=9859.0[/url] And change the tile's texture depending of the neighbor tiles. But... I want a very high variety of tiles and texture, so the combination of them could be in a ver high and complex tileset. [b]2. [/b]Multi-texturing the tiles: I can mix texture in one tile, but I have no idea how to do it and have a nice result... The ideal approach is to do something like this: [img]http://i47.tinypic.com/30hu1sn.jpg[/img] Of course, I must take in care the 4 corners. But I only know to do something like this: [img]http://i45.tinypic.com/2f0521j.jpg[/img] :-( [b]3.[/b] My last idea was embrance the retro style and leave the tiles as they are. Any suggestion or idea for a good looking tile map? I tried with some terrain tutorials, but they are never based on tiles or texture per tile that I want. I think the idea is near to the multitexturing and blending, but I have not too much idea about multitexturing and different types of blending :-(
  4. Quote:Original post by jpetrie The name of your "Universo.h" header makes me think you may be running into problems associated with "master" header files. Thank you very much!!! Solved!!! The problem was the include of Universo.h, like the article says. Finally I changed my Entidad.h to: #ifndef ENTIDAD_H_INCLUDED #define ENTIDAD_H_INCLUDED #include <stdlib.h> #include <iostream> class Entidad { protected: float pos_x, pos_y, size_w, size_h; public: Entidad(); ~Entidad(); void actualizar(float planeta_x, float planeta_y, float planeta_z, float tamano_planeta, float rotacion_planeta); float getX(); }; #endif // ENTIDAD_H_INCLUDED and now works fine! :-)
  5. Hi! I'm having this error when I go to compile: Quote: C:\...\Ciudadano.h|6|error: expected class-name before '{' token| The code of Ciudadano.h: #ifndef CIUDADANO_H_INCLUDED #define CIUDADANO_H_INCLUDED #include "Entidad.h" class Ciudadano : public Entidad { private: int foto, trasla; Sprite *grafico; public: Ciudadano(); ~Ciudadano(); void renderizar(); }; #endif // CIUDADANO_H_INCLUDED I tried to make a Foward Declaration, but like I suspected, it gives me error: Quote: C:\...\Ciudadano.h|8|error: invalid use of undefined type `struct Entidad'| C:\...\Ciudadano.h|6|error: forward declaration of `struct Entidad'| The code of Ciudadano.h with Foward Declaration: #ifndef CIUDADANO_H_INCLUDED #define CIUDADANO_H_INCLUDED #include "Entidad.h" class Entidad; class Ciudadano : public Entidad { private: int foto, trasla; Sprite *grafico; public: Ciudadano(); ~Ciudadano(); void renderizar(); }; #endif // CIUDADANO_H_INCLUDED The header of Entidad.h: #ifndef ENTIDAD_H_INCLUDED #define ENTIDAD_H_INCLUDED #include "Universo.h" class Entidad { protected: float pos_x, pos_y, size_w, size_h; public: Entidad(); ~Entidad(); void actualizar(float planeta_x, float planeta_y, float planeta_z, float tamano_planeta, float rotacion_planeta); float getX(); }; #endif // ENTIDAD_H_INCLUDED I'm getting crazy trying to fix this error :( [Edited by - pitxardo on January 20, 2010 4:01:27 AM]