Lists: advanced usages

 Introduction: Most games would be difficult to build without using lists especially save data with multiple characters. 


Application: minimap radar, tiledata, and inventories 
Advanced list usages : negative  numbers, lists within lists. Both of these are useful when making an infinite map. 

The 2 advanced usage of the lists are actually done by using code bypassing the engine
the first row of the code represent list initialisation

and here is the result. 

you can try it yourself. 

  
 

No comments:

Post a Comment