playMaker

Author Topic: Using database workflow Tips?  (Read 755 times)

rechronicle

  • Full Member
  • ***
  • Posts: 119
  • Mystvaldia
    • Indie RPG Creator
Using database workflow Tips?
« on: March 01, 2020, 04:27:08 AM »
Hello,
I have a question regarding using some kind of data. On my current progress now, I can see that I will end up having a single state with hundreds of String Switch logic just to test which skill to use from the data. And it's starting to get a bit lag in the editor after quite some time.

I guess there's a better way to handle a 'get data, process it, and do something'?
Thanks!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Using database workflow Tips?
« Reply #1 on: March 01, 2020, 05:09:23 AM »
Hi.
Depending on your 'data'
you could use arrays or hash tables (array Maker).

if you have a lot of data i would suggest to use xml and you can get the data with Data Maker

xml is a bit slow, so depending on your game, you might need to place your data from your xml to arrays/hashtables @ the start of you game/scene.