File-based scripting

About advanced scenes, and the Thyme scripting language used in Algodoo.

File-based scripting

Postby hpstricker » Wed Jan 03, 2018 11:16 am

The file format for Algodoo scenes .phz is binary and not human-readable and -writable.
I wonder if I can write Thyme scripts and load them as a file that create complete scenes. These scripts could be created automatically, fed by some data - which would give one great precision and flexibility.
Is it possible, and are there tutorials and samples for doing so?
hpstricker
 
Posts: 16
Joined: Wed Jan 03, 2018 11:10 am

Re: File-based scripting

Postby Kilinich » Sun Jan 07, 2018 12:19 pm

Phz is just a zip-archive of phn (plain-text) file, textures and checksum file.
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: File-based scripting

Postby hpstricker » Fri Jan 12, 2018 11:49 am

Thanks!
hpstricker
 
Posts: 16
Joined: Wed Jan 03, 2018 11:10 am


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 2 guests

cron