Jump to content
Site Stability Read more... ×
  • Advertisement
  • entries
    437
  • comments
    1000
  • views
    338688

woot

Sign in to follow this  
evolutional

164 views

Creating string attribute 'String' with value 'Hello' on ent1
Creating string attribute 'String' with value 'Test' on ent2
Creating string attribute 'String' with value 'Hello' on ent3
Creating numeric attribute 'number' with value '63' on ent3

Registering entities with database
[publishing attribute 142344823 on EntityId 1]
[publishing attribute 142344823 on EntityId 2]
[publishing attribute 142344823 on EntityId 3]
[publishing attribute 150143625 on EntityId 3]

Displaying results of query to locate all ents with attribute 'String' equal to 'Test'
------------------

EntityId: 2

Press ENTER to continue.



Well it works with string attributes. Time to code up a more complex example. I am also going to write an import method to bring in my entity definitions from XML.
Sign in to follow this  


1 Comment


Recommended Comments

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
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!