My PunBB-Hosting forum

Unfortunately no one can be told what PunBB is - you have to see it for yourself.

You are not logged in.

Adverts

Adverts

  • Index
  •  » TBG
  •  » Best way to store text for a Text based game

#1 2017-12-05 10:03:12

Donnieclark
New member
Registered: 2017-11-09
Posts: 8

Best way to store text for a Text based game

Hi,

I'm making a text adventure game using SWIFT & Xcode, and I found that the best design choice is to separate the text from the logic. The text will be stuff like conversations, descriptions, etc.  But, I'm not sure what is the most efficient way to actually store that text and how to connect it to the classes. Should I use JSON format?
If I used plain text files can I link different sections from them to the code?

Any suggestions would be much appreciated.

Thanks!

I didn't find the right solution from the Internet.

References:https://www.gamedev.net/forums/topic/686097-best-way-to-store-text-for-a-text-based-game/

Business Whiteboard

Offline

 

2017-12-05 10:03:12

AdBot
Advertisements
  • Index
  •  » TBG
  •  » Best way to store text for a Text based game

Adverts

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting