Water ... that adapts itself to the flow, that breaks everything like a sword
The Humble Indie Bundle #3
Get link
Facebook
Twitter
Pinterest
Email
Other Apps
-
This time short post for people that didn't know (like I) that run 3rd edition of action Humble Indie Bundle. Where you can get 5 Indie titles and in the same time support some charity foundations. More info on:
I already bought it and spread the word :). I really appreciate this bundle since they one. Its a very nice opportunity to support independent developers.
I played in them to :] and + I played vvvvvv and it's simple but gameplay rules (it's addictive). Two next game I will try today (yesterday I slept all day after work :])
So like always start with problem description: I have some pool of command represented as enumerator. Each of command can have unique data that size can be different. I wanted to create system that allow me in easy way iterate over them and execute. After some time I created this implementation: template<ECommands::enum cmd> bool execCommandTemp(ECommands::ENUM a_cmd, void* a_data) { if (a_cmd == cmd) { SCommand<cmd>::execute((SCommand ::SData*)a_data); return false; } return execCommandTemp<(ECommands::ENUM)(cmd+1)>(a_cmd, a_data); } template<> bool execCommandTemp<ECommands::WRAP>(ECommands::ENUM a_cmd, void* a_data) { return true; } bool execCommand( ECommands::ENUM a_cmd, void* a_data ) { return execCommandTemp<(ECommands::ENUM)0>(a_cmd, a_data); } where SCommand look in example such a way: template <> struct
This time light topic of UI designing :] But before this let's discuss how the hierarchy in the engine works. So it was easier to understand these, let's look at the tooling of it: We have there: World (ID:0) Loaded Stream (Citadel Island) Loaded SubStream (CI.Citadel) Unloaded SubStream (CI.Logic) Folders (f.ex. Park) Entities (f.ex. Ferry) If you are curious what a Stream is, you can think about it as a scene or a level. Now that we know all of this let's look a little bit closer at what we have. Streams and SubStreams are exactly the same I change the name based on their position in the hierarchy. The Folders may look different than Entities but they are exactly the same. They are Entities with a folder component. If we go this way streams are also just Entities with a Stream Component. This leaves us with a bunch of the entities under the World . Which as you can suspect is just an Entity with ID equal to 0. If everything is an entity, what was the reason I
And as I said last time new preview is available: As you can see a lot has changed. Right now I mostly focus on gameplay so I do test of AI (some of them you can see on end of movie), changes in fight, items managing, fix some problem with physics and many other things. To say truth I don't remember them all :P So I'm going back to work and till next week.
I already bought it and spread the word :). I really appreciate this bundle since they one. Its a very nice opportunity to support independent developers.
ReplyDeleteYes :] I think that bundle is a grate thing :] And games are great to, they look very nice on my steam :]
ReplyDeleteOnly tried Cogs and Crayon yet, and both looks great and addicted.
ReplyDeleteI played in them to :] and + I played vvvvvv and it's simple but gameplay rules (it's addictive). Two next game I will try today (yesterday I slept all day after work :])
ReplyDeleteI played 2 other games and only Hammerfight somehow is hard to play. Irritating me that I can't get the control of my ship and don't know why.
ReplyDeleteAbout And Yet it moves. I played in demo/prototype of this game in past and it's still fun :]