• 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

TS Game Engine

Sign in to follow this  
Followers 0


Hey all!

Oh my goodness, I wrote an entry before this but when I went to publish I clicked Add Entry instead which doesn't add the current entry but tries to add a new entry. Why does a button that allows you to add a new entry come up when you are already at the page adding a new entry. GOSH. But really just my idiocy in not saving a draft.

Anyway this entry is mostly about my game engine, but contains a little bit about Elma and my Flash Engine as well.

Now my Game Engine isn't just being made on it's own, I am creating a simple Minecraft Clone to develop it's features with. Hopefully this will give the engine a base to work from when it's finished.

A quick overview of things working at the moment are:

  • Meshes, however no loading can occur I created a helper function to create a coloured plane. A mesh can be compressed into another, currently using it to combine meshes that won't be moving as they end up being on the same matrix. I am also not using faces\indices at the moment.
  • ShaderManager - At the moment only handles one shader, but I will change that soon.
  • A world class, currently it is used for easily creating windows and GL contexts. It also has a state manager and it allows my main to look like this:
    int main(int argc, char *argv[])
    return false;

    TS::World::GetSingleton().GetStateManager().AddStateFront(new TemplateState());


    • The world class is kind of a specific thing for me and will hole and make it easy for a user to add things to physics and renderer.
    • Simple matrix class - Missing a lot of functionality.
    • Simple vector3 class - Missing a bit of functionality.
    • Simple quaternion class - Missing a bit of functionality.
    • Camera - It uses deprecated functionality though, simple fix but it's 2:40 AM. (Wow it took me a long time to write this, it's now 3:14 AM)
      So I decided I'll start with a base performance and measure how much adding certain things decreases or increases performance over time, should be fun!

      Click images to see full size.

      So to begin, my first test is rendering 6400 planes, they are all static and are compressed into one mesh so I am basically doing one draw call: (I will probably make something to wrap this up, so I can individually remove mesh data for removing blocks and stuff)


      With an FPS 1300:


      On my 5800, so it's not really surprising, but I can't wait until I add texturing.

      Things I want to work on next in no order:

      • Texturing - Got some of this going, Image loading (Only modified RAW images, to contain alpha) but have to add the GL texture stuff and shaders, shaders are very new to me only having worked on them for this project so lots of learning!
      • Camera - I already have a camera that can do any kind of control, it's just using deprecated GL functionality, remove that and it will be up to date.
      • InputManager - Have this design all done for Windows.
      • GUI - This will be kind of easy, just a plane in an ortho view, although the texturing needs to be done. I already have the design of this ready, I coded the GUI for Brains in Ogre3D and will just copy that, just removing Ogre3D stuff. Only thing I didn't do in that GUI was the animated GUI items that came from the sides and top, Michael did those. Funny side note on that: Guys for other teams at QANTM worked on GUI the entire time and it took me a week to code ours, although they were able to have gifs or spritesheets for GUI items and had loading bars tongue.gif.
      • Picking - To remove blocks.
      • Lighting.
        After that, the simple part my MineCraft clone will be done, although I expect all these to probably take a LONG time.

        Quick Elma update, I have a component game visual working, it's basically a map of a part name to a gamevisual e.g. "leftleg",tentaclelega or "abovehead",devilhorns. This allows me to have characters made up of multiple sprite sheets that can also separably change their colour keys. Character customisation should go with the full customisation of abilities we are allowing in Elma and you will be able to customise these:

        • Left and Right, Leg, Arm, Foot, Wrist, Hand - Have a tentacle left arm and a normal right arm!
        • Chest
        • Waist
        • Shoulders
        • Neck
        • Head
        • Hair
        • AboveHead - For devil horns etc.
        • BackLeft - For wings, capes.
        • BackRight
          Eyes will just be changed using colour keys and can be a part of the head!

          Here it is kind of in action, I am drawing my own sprites at the moment so don't laugh! laugh.gif


          The guy I am drawing, waist, left leg and left foot are separate.


          The guy in the top left of the flash player, minus the stick figure which is what I was using first my drawing skills have gone up considerably since I started! I'll put this up when I have two characters finished and you will be able to mix and match between those two.

          Only problem so far is that the animations for a component game visual is that it can't have animations where parts overlap, because the depths my be completely wrong, however I plan on making a new animation data class that specifically caters for this and will adjust depths of images in a game visual during animation. Should be cool.

          An idea I have also had for my FlashEngine is a resource manager, which will allow me to have images accessed from URL through a database, this will allow me to add more characters and things without embedding more things in flash I'll probably also do this for maps and things, just not abilities and AI because that would severely limit them.

          Cheers, Nathan.

Sign in to follow this  
Followers 0


Because my goal with this engine is to write all my own things, which means I will have to write a .png parser which I really couldn't be bothered doing.

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