Friday 19 April 2013

Lets Bring Light Upon the Question

As I believe I have explained about darkness and lightness before in my blog but this is just a post to recall all of the fundamentals of darkness and lightness.

As you already might know to code your game to make the room dark you do this.

The attic is a dark room.

Then to make a torch or light source to enlighten that room and display the basics of it you do the following.

The flame torch is lit.

If the torch is carried by the player when he/she is in the dark room. The room will automatically be light.

But if the player is not carrying a touch which is lit. The Rommel will remain dark. But the player can still move around. He can't just go and pick something up.

Any other question you need help with to do with dark and light just leave a comment or any question you would like to pose to me.

I assure it will be answered.

Want to know even more on dark and light rooms, well click here


Thanks,
Danielfrogs

No comments:

Post a Comment