Game Development Reference
In-Depth Information
JSON model - animation data
Open
model/obj/mrgreen.json
in your text editor. In the file, you will find an
element animation. When the file is viewed in any JSON viewer, you will see
name
,
fps
,
length
, and
hierarchy
as the animation object's child elements. To understand
our JSON file, we used an online viewer (
http://jsonviewer.stack.hu/
). We
loaded our JSON file in the viewer as shown in the following screenshot: