Quantcast
Channel: GameSalad 101 — GameSalad Forums
Viewing all articles
Browse latest Browse all 8931

Referencing tables via attributes

$
0
0

I've been working on a game recently that would benefit hugely from the ability to reference tables by putting their names in an attribute, and working with the table by referencing it using that attribute. This would save considerable amounts of logic in some circumstances, and would be a fantastic feature to have.

I asked about it in the meetup, and was asked to make a forum thread to explain/demonstrate the issue. I'm pretty sure we were on the same page soon after, but I thought I'd create the thread anyway to open it for discussion and post a sample project.

Please note that the sample project is specifically to show the issue - I fully understand there are better ways of achieving this specific result, but in the massively more complicated project I'm currently working on the problem is much harder to work around. So please don't offer recommendations specifically to avoid the issue in the sample project - though suggestions more in general are of course welcome - even if they don't solve my problems they might solve someone's! :D

I'll add some more detail and explanation to this tomorrow, when it isn't 2.20am, but I thought I'd throw it up quickly now.


Viewing all articles
Browse latest Browse all 8931

Latest Images

Trending Articles



Latest Images