User Tools

Site Tools


tutorial:datagen_buckets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
tutorial:datagen_buckets [2023/06/21 10:25] – [Final Result] tinypandastutorial:datagen_buckets [2023/06/21 10:27] – [Setting up the Bucket class] tinypandas
Line 49: Line 49:
 </code> </code>
  
 +
 +Here our ''getColor(int tintIndex)'' will return the defined ''fluidColor'' value when our ''tintIndex'' is ''1'' (this can be associated with the number of the texture layer). By returning ''-1'', we are saying that the color should remain as is in the image (which in this case is our base bucket image).
 ===== Create our bucket item ===== ===== Create our bucket item =====
  
tutorial/datagen_buckets.txt · Last modified: 2023/06/21 17:30 by tinypandas