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

0 favourites
  • 3 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter 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?

  • I would use an array.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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)