Friday, July 15, 2011
Level Is Ready
I have finish all the coding for the blocks. I changed a lot since the last build so anyone who has built a level will most likely need to rebuild. Do not scale the generic blocks, if you need to make walls or bigger platforms than 5 x 5 x 5, simply place more blocks right next to each other. This will prevent stretch textures. I made a minor change to the Delete Block also, the script is now on the parent object so you don't need to go into the trigger to set the variables, the trigger is now the parent. To do a delayed delete, simply set whether you want the timer to start on enter or on exit and set the delay time. It is defaulted to 0.5 seconds so it will delete right away for standard on enter or exit as before. Example, if you want it to delay for 5 seconds, set it to Enter and Delay Time for 5 seconds, it will delete 5 seconds after the player stands on it, pretty simple. I also changed the texture to the general texture so that the player doesn't know it will delete on them. It is 2 Base Blocks long, you can delete one to make it smaller or add more to make it bigger, just make sure you change the trigger block size too. To download and upload at a terminal, the "E" key does those functions. For the boolean block, set the UI Cube to the desired block type, either Scale or Rotate, and while looking directly at the block, press the "E" key and it will change to whatever the UI Cube is set to. I changed the color of the base boolean block to white to know what it is before changing it, and added a separate material for the scale boolean and rotate boolean blocks that have a white base with the blue or red glow to make it still mostly white for boolean and have the tint of the block type the player has selected. The test level has each type of block in it, if you have any questions or major concerns, please feel free to email me at zachgrz@yahoo.com.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment