Results 1 to 8 of 8

Thread: 2D tileset generator

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    A quick glympse at your code shows that you are using dynamical array but have no mechanizm for modifying array size. You can't save any data into array if it doesn't have any elemets as newly created dynamica arrays have.

  2. #2
    I am using SetLength(). See function TTileStyles.Add() or Delete():
    http://code.google.com/p/nxpascal/so...leUnit.pas#164

    You don't even need to have variable to track array size. Length() and High() ( = Length()-1 ) can be used to retrieve that information.

  3. #3
    Oh, as you saw in other thread, i took an entirely different approach for tile blending. Making of this tool was cancelled for few other reasons aswell... to put it with simple words: it was complicated, and no clear purpose.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •