How do I create my own file system for point&Click game

  • I have the game using .XML but if is possible i want to create my own system with my needs. Also for translations to have a english.txt, german.txt ,etc...

    My idea is have a sprite with an instance variable called "home_chair" so when the mouse is over the chair get the name("Old Chair) that is the first line. If i set look+chair then retrieve the second line: "Is an old chair i bought time ago" .

    How looks the text file:

    [home_chair]

    Old Chair

    Is an old chair i bought time ago

    Can't be picked

    Can't talk with it

    etc...

    All objects will have the same structure:

    [Object instance]

    Name (When the mouse is over the object)

    Look

    Use

    Pick

    Open

    close

    Give

    Push

    Talk

    I search in the systems expresions with find(src), replace, right, tokenAt,etc... but i can't get it working.

    Maybe there is a plugin, behaviours or something to do it more easy?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would use an array.

  • I need to use files for translation purposes, so i can send it and load after.

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