somewhere to talk about random ideas and projects like everyone else

stuff

#compiler

Status Fixing the compiler problem 07 June 2008

I’ve located part of the problem. If I remove the reference to VMLRenderer.js, it suddenly starts working again. But how do I include it and get it to work still. I’m investigating.

EDIT 1:

Build 117 fixes the problem completely. it was simply because of mis-arrangement of the files. It was originally.

<script type=”text/javascript” src=”../js/drawing/onlypaths.js”></script>

  <script type=“text/javascript” src=“../js/drawing/wrapper.js”></script> 
  <script type=“text/javascript” src=“../js/drawing/svgrenderer.js”></script>
  <script type=“text/javascript” src=“../js/drawing/vmlrenderer.js”></script>
…


for some reason, this messed up the compilier. I changed it to.

  <script type=”text/javascript” src=”../js/drawing/onlypaths.js”></script>
  <script type=“text/javascript” src=“../js/drawing/svgrenderer.js”></script>
  <script type=“text/javascript” src=“../js/drawing/vmlrenderer.js”></script>
  <script type=“text/javascript” src=“../js/drawing/wrapper.js”></script>


and now it works fine :) 


New File Format 17 November 2007

I’m working on a better save/preview file format, even merging the save/preview formats into one.

it’s just a string seperated by “;;” before it, is a standard JSON Array. After, is the standard XML compiler stuff. the json has info like framerate,height,width,current frame, tweens, keyframes, animation length, comments?, rating?, size? etc.

the javascript save/load implementation is so far done.