• 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.
Sign in to follow this  
Followers 0
  • entries
    9
  • comments
    18
  • views
    13088

Character classes and dungeons.

Sign in to follow this  
Followers 0
smo97

1048 views

Progress has been slow but steady. A lot of work has gone to streamline the asset production process, and I think it's paying off.

Character classes

I bit the bullet and just animated the three additional character classes plus a snake-like monster. I'm getting faster at it, it helps that I can use existing sprites to build new ones from with just alterations.

rl-ss-11.png


Meet the classes. You've probably met them before.



So we have a rogue (which will be the primary PC) plus a tank, mage, and healer class. There may be others (I would like to make a ranger class, for example, with pets), but for now those will do to fill out the party of 4.

I have created the foundation for the skills system, and implemented two basic activated skills so far: the tank has a pbaoe "shout" to attract aggro, and the healer has a targeted "minor heal" that heals up to 5 points of health on a targeted ally.

rl-ss-12.png


Tank about to take one for the team. Or eight.



The AI will automatically use these skills when in "speed" mode, where the player controls only one character and the AI decides the other characters' moves. (I really have to figure out a better name for this). They cannot yet be manually activated; I'm still trying to decide on the best way to implement the UI to do this.

Dungeons

The engine now supports multiple map files, and there is preliminary support for "zoning" to different maps. Originally, I was planning on one large, seamless map with dungeons integrated. However, having multiple maps allows greater flexibility to add on content after release and possibly tack on multiplayer features in the far, far future. I am also incapable of pre-planning the topography of the world to accomodate for the size of dungeons. It is much easier [lazier] from a design perspective to make the world up out of a bunch of smaller maps that can be connected in arbitrary ways (stairs, portals, or simply "east of that other map").

So, here is the first simple dungeon, with lighting based on light sources.

rl-ss-13.png


Thanks to the sacrifice of the tank, they made it out. Also note the torches are light sources.



rl-ss-14.png


Venturing further.



rl-ss-15.png


I hate snakes.



Boring performance issues

- The light maps are generated when the level loads. Apparently, just because something happens instantaneously on a Core i7 does not mean it doesn't take 30+ seconds on an Apple A4 or whatever the iPod touch uses. So these need to be precalculated. No big deal, they should compress well. And since I can take my sweet time computing them, I can occlude based on obstacles or do other effects. I do plan to implement dynamic lighting (for carrying torches, light spells, etc), my plan is to index into a small static lightmap offset by the coordinates of the PC with the light source, that should be fast enough.

- The font rendering is a serious performance hit when the text starts flowing. It doesn't help that each character is rendered (I think) 10 times.. 9 times for the black outline and once for the center. So the first step is to have the bitmap font already have a black outline. I imagine this will yield a 10x speedup. As well as fix the text fading to grey instead of just purely becoming transparent. If that doesn't help enough I can cache the rendered text as its own bitmap, it doesn't change every frame.

- If you run really far away from enemies that are chasing you, the performance will begin to seriously suffer as A* degrades. I need to cap the map search distance and enemies should give up once you've gotten far enough. They should give up anyways once aggro degrades enough, I need to look into that as well. I could also "leash" the enemies to a spawn point like in an MMO.

Thanks

Thank you for taking the time to read my rambling, posting these journals helps keep me motivated. It is also nice to look back and see how much crappier this used to be, and wonder how much less crappy it can become.

1
Sign in to follow this  
Followers 0


2 Comments


I love the style, I'm a total sucker for isometric perspective... especially if it is 2:1 ratio. Are you developing for iOS on PC?
0

Share this comment


Link to comment
Yup, I'm using Marmalade, which abstracts a lot of platform specific stuff and lets you write in C or C++. Originally I started using it because it was cheaper than a mac, but there is a lot of portability you get for free. I have it running on an ipod touch and kindle fire right now, and only need to compensate for screen size differences.
0

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now