[Plugin] instance bank2

0 favourites
From the Asset Store
I18N - Translation plugin
$7.20 USD
10% off
The I18N (Translation) is a Construct plugin created to translate text in game.
  • Dieck

    "Would it be more appropriate to use a Dictionary or CSV object to store the individual object state including UID and then reset the sprites from that structure?"

    It depends on you, too. This instance bank could be replaced by dictionary and event sheet.

    Or you could save one instance into instance bank, then pick the JSON string and put it into dictionary.

    instance (sprite) -> instance bank -> dictionary

    So that you could load instance as you want from dictionary.

    dictionary -> instance bank -> instance (sprite)
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • rexrainbow

    Ah I see! I will try that method and see how it works.

    Thanks for the thought help on this! :)

  • Dieck

    "Would it be more appropriate to use a Dictionary or CSV object to store the individual object state including UID and then reset the sprites from that structure?"

    It depends on you, too. This instance bank could be replaced by dictionary and event sheet.

    Or you could save one instance into instance bank, then pick the JSON string and put it into dictionary.

    instance (sprite) -> instance bank -> dictionary

    So that you could load instance as you want from dictionary.

    dictionary -> instance bank -> instance (sprite)

    Would you make an example how to use dictionary for specificed instances using private variables to do not load ALL instances, only it can load some instances?

  • Joannesalfa

    Uh, not "load some instances", just "save specificed instances" in the bank, then read all saved instances to JSON string.

  • So how do you "save specificed instances"?

    Is possible to load instances with registered instance variables like "AllowSaveInstance" ?

    Every time you keep replying at me "Uh" at first place :P

  • Joannesalfa

    "action: save instance" has a combo list, which could select to save "all instances" or "current picked instance".

    Pick the target instance by condition, then use the second mode.

  • Sometimes i use "current picked instance" with instance variables but is still loading ALL INSTANCES.

    According this pic:

    <img src="http://i.imgur.com/w7KwjzI.png" border="0" />

  • Isn't possible to save the specificed instances according to their instance variable and upload all instances with condition comparing instance variable?

  • Joannesalfa

    Could you give me this test capx?

    Technically, it is possible to save the specified instances or load by condition.

    If the requirement is not popular, I might consider to make another helper plugin to fit the requirement, to keep this instance bank plugin simply.

    (For example, Chess bank is an helper plugin to extend the function of this instance bank plugin.)

  • Ok, wait when i prepare to make a .capx to test.

    It's not for board, it's 8dir game like Binding of Isaac.

  • Uh, just an example.

    This instance bank plugin is just a beginning. I plan to make another plugin to auto-save/load instance outside a range.

  • Niiiiiiice, looking forward to that plugin! :)

  • rexrainbow PM sent.

    Wait, are you planning to make a plugin auto-save/load isntance outside of range?

    This is seriously amazing!

  • Joannesalfa Arima

    Just a TODO item, but I'm not sure the value of that plugin.

    I only thought that it could be a very big virtual board.

  • It would be fantastic for tons of types of games, platformers, RPGs - especially for mobile optimization! I was planning on making a system that did that myself with events, but a plugin to do it automatically would make it a lot easier!

Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)