- IcyCraft CE (ICE)
- 01 Apr 2019 01:29:26 am
- Last edited by beckadamtheinventor on 01 Apr 2019 06:38:39 am; edited 2 times in total
After 2 days of programming, and 1.5 days of configuring, I present: IcyCraft for the TI-84+CE!
This game is a Minecraft look-alike, and despite the 2D graphics, the world is actually in 3D!
All of the block/item textures are stored seperately from the program itself, and 98% of the block behaviors are customizable!
The textures for this game have to be 8x8. I am not going to change this, because there are up to 256 sprites. If there were 256 16x16 sprites, it would require more bytes than the maximum appvar size. (16*16+2)*256 = 66048
The format of these sprites means that they can be made and exported using TileMapE! shameless self promotion
The block/item behaviors are written using hexidecimal look-up-tables, and 16 byte block/item names.
The crafting recipes are written seperately, and can have up to 6 ingredients, and 1 result. The ingredients can't be any more than a stack, otherwise the recipe will never craft. This is only because of the way it searches the inventory for the items necessary to craft something. So even if you have enough of an item in your inventory, you need enough of it in one stack.
Each vertical layer of the world data is written into a seperate appvar, to maximize the possibilities.Each chunk is 8x8 tiles. The X, Y and Z chunk coordinates go from 0-255. I have put in a catch for when there is too much data in the appvar. When there is more than 984 chunks in a layer, it will simply repeat the very last chunk generated for that layer.
984 chunks is actually a lot of blocks (for a calculator). Each layer can have up to 62976 blocks. The game generates blocks from layers 0-64. The game will generate 4093440 blocks in total, which is more than the entire calculator's flash memory can store. The true maximum space that can be generated is 16121856 blocks, despite that being over 4 times the memory of the calculator.
I will be uploading a download to the Cemetech archives as soon as I believe the game has enough default content.
Eye candy:
IcyCraft version 2.1 is now in the archives!
Anyone who has any content suggestions for IcyCraft, or have experienced any bugs, or gameplay issues: please feel free to post here!
This game is a Minecraft look-alike, and despite the 2D graphics, the world is actually in 3D!
All of the block/item textures are stored seperately from the program itself, and 98% of the block behaviors are customizable!
The textures for this game have to be 8x8. I am not going to change this, because there are up to 256 sprites. If there were 256 16x16 sprites, it would require more bytes than the maximum appvar size. (16*16+2)*256 = 66048
The format of these sprites means that they can be made and exported using TileMapE! shameless self promotion
The block/item behaviors are written using hexidecimal look-up-tables, and 16 byte block/item names.
The crafting recipes are written seperately, and can have up to 6 ingredients, and 1 result. The ingredients can't be any more than a stack, otherwise the recipe will never craft. This is only because of the way it searches the inventory for the items necessary to craft something. So even if you have enough of an item in your inventory, you need enough of it in one stack.
Each vertical layer of the world data is written into a seperate appvar, to maximize the possibilities.Each chunk is 8x8 tiles. The X, Y and Z chunk coordinates go from 0-255. I have put in a catch for when there is too much data in the appvar. When there is more than 984 chunks in a layer, it will simply repeat the very last chunk generated for that layer.
984 chunks is actually a lot of blocks (for a calculator). Each layer can have up to 62976 blocks. The game generates blocks from layers 0-64. The game will generate 4093440 blocks in total, which is more than the entire calculator's flash memory can store. The true maximum space that can be generated is 16121856 blocks, despite that being over 4 times the memory of the calculator.
I will be uploading a download to the Cemetech archives as soon as I believe the game has enough default content.
Eye candy:
IcyCraft version 2.1 is now in the archives!
Anyone who has any content suggestions for IcyCraft, or have experienced any bugs, or gameplay issues: please feel free to post here!