I will not argue that argument, because I do absolutely agree that your last example is more convenient. Is there a way to catch it when for example object.hp is given a new value? I need to push this into the C++ property system so that listeners can react to values changing you see.
I've fiddled ...
Search found 45 matches
- Sat Jan 08, 2011 1:35 pm
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
- Sun Dec 19, 2010 3:08 pm
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
How is that more convenient than:
etc?
Code: Select all
object:GetHP()
object:SetHP(hp)
object:GetOrientation()
object:SetOrientation(orientation)
- Mon Dec 06, 2010 12:09 am
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
Just posted a journal entry in my GameDev.Net blog about how I integrated scripted components for my component system using Lua and LuaPlus C++ API.
http://www.gamedev.net/community/forums ... id=3742065
http://www.gamedev.net/community/forums ... id=3742065
- Mon Sep 06, 2010 6:06 am
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
- Sun Sep 05, 2010 5:32 pm
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
I'm glad to hear you like the entity system Cyrano :) And yes, the source code resides on a SVN repository, so TortoiseSVN is a good choice of client for downloading the code (I use that).
I'm still working and improving this system. Over the course of the summer vacation, I've added XML loading of ...
I'm still working and improving this system. Over the course of the summer vacation, I've added XML loading of ...
- Tue Apr 13, 2010 7:33 am
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
- Sun Apr 11, 2010 7:58 pm
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
- Thu Jan 21, 2010 10:38 pm
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
- Sat Nov 14, 2009 2:35 pm
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
- Wed Oct 28, 2009 6:21 pm
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
- Wed Oct 28, 2009 11:33 am
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
- Wed Oct 28, 2009 10:59 am
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
- Tue Oct 27, 2009 4:46 pm
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
- Mon Oct 26, 2009 11:39 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Component-based Entities and how they communicate
- Replies: 25
- Views: 27759
A new approach to component-based entities using Properties was posted over at the Code Snippets forum:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=35666
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=35666
- Mon Oct 26, 2009 11:36 am
- Forum: Code Snippets
- Topic: Component-based Entities using Properties
- Replies: 30
- Views: 20477
Component-based Entities using Properties
Component-based Entities using Properties
Introduction
This is my second public design for using compoents with entities to prevent deep hierarchy problems and make the game object difinition more data-driven. By data-driven, I mean that you can define your game objects in for example XML ...
Introduction
This is my second public design for using compoents with entities to prevent deep hierarchy problems and make the game object difinition more data-driven. By data-driven, I mean that you can define your game objects in for example XML ...