• 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

106 Neutral

About guadrians

  • Rank
  1. Hello! My name is Adrian Scheff and I wish to let you know that I am currently developing a strategy game about a 19th century Asylum, set in a timeline closely resembling the Victorian England. Here's the development blog (I also posted 2 screenshots there): http://asylum-master.blogspot.ro/ Thank you for your time!
  2. @fastcall22 It's a quick and dirty library which gets the job done for my project and I thought of sharing it...True, it could use with some improvements, but I ain't going to spend any more time on it now.Maybe in future. I focused on my specific needs instead of a more larger view so that's way the issues you highlighted above are present. 1.This is correct, a font is better than char*. Maybe I'll change it. 2.This issue has two faces really. I mean, yeah, to render a string could be useful. Probably will change that too. 3.I need the screen surface to pass parameters to SDL_CreateRGBSurface function. And was useful for debugging.
  3. From the album Techies.

  4. I can't seem to load a screenshot so here I try again. [sharedmedia=gallery:images:2725]
  5. Hello! This is my first post here, hi all! I was in need of a basic text formater for my project. So I searched the internet. I stumbled upon this post: [url="http://www.gamedev.net/topic/392881-drawing-text-in-sdl/"]http://www.gamedev.n...ng-text-in-sdl/[/url] Sadly, there was no solution for a pure SDL text formating. The solution offered involved the use of OpenGL: [url="http://www.gamedev.net/topic/284259-for-reference-using-sdl_ttf-with-opengl/"]http://www.gamedev.n...tf-with-opengl/[/url] So I made my own library for text formatting. What it does? It takes as an argument, among other things, a SDL_rect and renders text in that rect. The text is left aligned. It's quite a raw thing but it works ( it works only with 32bit surfaces). Also, acts as a basic text formatter, removing all spaces if they are at the begining of a line and all but one space if it is between words. Here's the declaration: bool TR_render_text(char * font,char * file,SDL_Color font_color,int font_size, SDL_Rect * rect,SDL_Surface * screen, SDL_Surface * destination) font-font to be loaded. it uses SDL_ttf library file-text file to be rendered Color-color of the text font_size-desired font size rect-rendering box screen-this is your main screen SDL_surface(the one you obtained with SDL_SetVideoMode destination-sdl_surface where you want your text rendered(you can also put screen here). This surface should be create with SDL_CreateRGBSurface like so: destination=SDL_CreateRGBSurface(SDL_HWSURFACE, screen->w,screen->h,32,screen->format->Rmask,screen->format->Gmask, screen->format->Bmask, screen->format->Amask); Here's a screenshot of the TR_render_text in action. Known bugs(so far): -if the width of the rect is smaller than the actual size of the largest word(rendered word that is) program crashes -not a bug per se but I noticed that SDL_ttf does not render well some characters, namely an apostroph with a ASCII code 0x92 Also to use this library you will have to install both SDL and SDL_ttf libraries. If you don't know how to install a library check out Lazy foo tutorial here: [url="http://lazyfoo.net/SDL_tutorials/lesson03/index.php"]http://lazyfoo.net/S...son03/index.php[/url] Let me know how it works for you!