Re: Reflection in game engine (c++)
Mike Acton <[email protected]> Thu, 14 Mar 2013 20:36:34 -0700
| Newsgroups | gmane.games.devel.sweng |
|---|---|
| Message-ID | <CAGxtOJYUXsNx0VyOK-T7ezQpKuAhtFE_7p6tZQ8CZky2ZPor8A@mail.gmail.com> |
--===============0161010891== Content-Type: multipart/alternative; boundary=bcaec531482b8de5ff04d7ee5837 --bcaec531482b8de5ff04d7ee5837 Content-Type: text/plain; charset=ISO-8859-1 Hey Will, *How do you manage data format updates and builds in that scenario? * Managed in the serialization. It's mostly backward compatible. The source data is usually JSON formatted. (DDL describes the format that JSON will be in.) For binary data, we have another scheme. For some DDL we support multiple formats (JSON, BSON, custom binary) depending on the context. We also have scripts that manage the version-to-version upgrades (all assets are in DDL-described formats). *Are the DDL files something the coding team owns and updates, or are they shared with (technical) artists, designers etc.?* Generally speaking, programmers write DDL files. (although programmers in different groups for different reasons) - usually to map to some concrete code structure. If you're a non-programmer (let's say you're want to make a custom tool or something), you'd probably just use an ad hoc JSON format and not need a formal description. That said, recently we've starting to have some tech art tools that interface with this stuff so we'll see. Mike. --bcaec531482b8de5ff04d7ee5837 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div>Hey Will,</div><div><br></div><div><div><span style=3D"color:rgb(34,34= ,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,2= 55,255)"><i>How do you manage data format updates and builds in that scenar= io?=A0</i></span></div> <div><span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-s= ize:13px;background-color:rgb(255,255,255)"><br></span></div><div><span sty= le=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;backg= round-color:rgb(255,255,255)">Managed in the serialization. It's mostly= backward compatible. The source data is usually JSON formatted. (DDL descr= ibes the format that JSON will be in.) For binary data, we have another sch= eme. For some DDL we support multiple formats (JSON, BSON, custom binary) d= epending on the context. We also have scripts that manage the version-to-ve= rsion upgrades (all assets are in DDL-described formats).</span></div> <div><br></div><div><i><span style=3D"color:rgb(34,34,34);font-family:arial= ,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Are the DDL f= iles something the coding team owns and updates, or are they shared with (t= echnical) artists, designers etc.?</span><span class=3D"HOEnZb" style=3D"co= lor:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-co= lor:rgb(255,255,255)"><font color=3D"#888888"></font></span></i></div> <div><span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-s= ize:13px;background-color:rgb(255,255,255)"><br></span></div><div><span sty= le=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;backg= round-color:rgb(255,255,255)">Generally speaking, programmers write DDL fil= es. (although programmers in different groups for different reasons) - usua= lly to map to some concrete code structure. If you're a non-programmer = (let's say you're want to make a custom tool or something), you'= ;d probably just use an ad hoc JSON format and not need a formal descriptio= n. That said, recently we've starting to have some tech art tools that = interface with this stuff so we'll see.=A0</span></div> <div><span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-s= ize:13px;background-color:rgb(255,255,255)"><br></span></div><div><span sty= le=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;backg= round-color:rgb(255,255,255)">Mike.</span></div> <div><span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-s= ize:13px;background-color:rgb(255,255,255)"><br></span></div><div><span sty= le=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;backg= round-color:rgb(255,255,255)"><br> </span></div><div><span style=3D"color:rgb(34,34,34);font-family:arial,sans= -serif;font-size:13px;background-color:rgb(255,255,255)"><br></span></div><= div><span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-si= ze:13px;background-color:rgb(255,255,255)"><br> </span></div></div> --bcaec531482b8de5ff04d7ee5837-- --===============0161010891== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sweng-Gamedev mailing list [email protected] http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com --===============0161010891==--