• 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.
  • entries
  • comments
  • views

UI Widgets and Views

Sign in to follow this  
Followers 0


Spent some time today digging deeper into the particulars of the UI, and started working on some general-purpose widgets for skill-bars and scrolling spellbooks:


Basically, the skill bar is a container into which you can dump action buttons. The container has methods to iterate the buttons and activate/deactivate based on whether or not the object owning or using the container can cast the spell associated with the button. It checks resource quantities, movement points, and has a (currently stubbed) query for status effects such as sleep/paralysis as well. The skillbar also implements a second method which accomplishes the same thing, but which at the same time will sort the actions so that the castable skills are listed first, and deactivated buttons follow at the end of the list. Spellbooks will use this functionality to make things more concise.

A lot of my time was spent hammering out the particulars of how Urho3D's ScrollView widget works, and sketching out a number of flow diagrams to assist me in putting it all together. I started on the spell quick-bar functionality, but I'll have to finish that tomorrow (assuming work is slow enough).

For the spell quick-bar, I intend to implement a skillbar that has the special functionality that a right-click on one of the skill slots will open a spellbook containing a (sorted) list of all the player's castable actions to choose from; choosing one from the spellbook assigns the skill to that slot. This is for a quick-bar only; you can still cast directly from your spellbooks if you so desire. It's just that the quick-bar will make certain commonly used skills quickly accessible and hotkey-able.

Additionally, objects in the world can have a spellbook attached to them, accessible if a player unit Uses the object. (Similar to Looting. In fact, I'll probably just make Looting a specific case of Use.) Typically, this will be used for teaching the player new skills. Say he successfully clears a rival wizard's tower and reaches the lab at the top. The rival's spellbook should be there, and he can possibly read it to learn new spells. Or maybe he stumbles across an abandoned smithy, which might contain some of the former smith's notes on crafting a certain item. For crafting and spell research back at his home base, he can use the spellbooks attached to his workbench and other equipment.

Sign in to follow this  
Followers 0


So how do you like the UI system in Urho3D?  Is it a nice model, or do you feel like it could be better?  I'm always on the lookout for a good system to model my own UI on, so any advice would be appreciated.


Share this comment

Link to comment

yeah, how is the UI in urho3d, how extensible is it?


And would you still recommend Urho3d over Irrlicht or SFML?


Share this comment

Link to comment

I'm not sure how the UI stacks up to others, to be honest, since I've usually written my own in the past rather than trying to work with third party. But it seems to work okay, and it hooks directly into the event system that stands at the core of Urho3D, so integration with other aspects of the game is a breeze. However, the range of available controls seems fairly small. I can make it work, since my UI will largely be button-based, but more elaborate UIs might be take some custom component writing.


Mars: I absolutely would recommend Urho3D. I'm pretty much sold on it. For one thing, it's a component-based system, so it fits right in with the way I've been doing things for several years now. It lacks the residue of years of classic object-oriented design that you see in older libraries like Ogre and Irrlicht, being designed from the ground up to be component based. The scripting system, through either AngelScript or Lua, is robust and well-integrated, and it provides a large set of systems in addition to the 3D engine, even integrating Recast and Detour for pathfinding, Bullet for physics, etc... After so many years tinkering with Ogre, then later Irrlicht, it's nice to finally have a framework that meshes so closely with what I want to do. Plus, it builds for a large set of systems (even on Raspberry Pi), so it can help me break away from the PC if/when that ever becomes necessary for me to do.


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