Rex's plugins for Construct2
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About

rex_instbank2

Plugin, ACE table, Discussion thread
Dependence: None

Introduction
Save/Load instances. It will save/load instances through part of official save/load system.

Usage
Sample capx
Save instances into bank
Call "Action:Save instances" to save the status of instances.It could save
  • Properties of instances (for example, position x ,y, or private variable)
  • Instances in the same container
  • Relationship of instance (for example. pin to object)
  • z-order of layer
Load instances from bank
Call "Action:Load all instances" to load instances by saved status. It will not affect unsaved instances.
Save/load bank
It could save bank into a string by "Expression:BankToString". And load bank by "Action:Load bank from JSON string".

Compare with official save/load system
Official save/load system will save/load all instances. This plugin only save/load the specifics instances by type, unsaved instances will not be affected.

Create a free web site with Weebly
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About