News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
Tile based game engine for murgaLua
Author Message
Senior Member

Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: Tile based game engine for murgaLua

It seems a little redundant. You initially set each index of map to an empty string, and then set them all over again. You could remove the 'for' loop entirely and get the same result.

You might also be able to set up the map table as a single declaration (omitting the individual "map[num]=" declarations), but I don't recall ever doing that to say for sure.

08-22-2007 02:02 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
RE: Tile based game engine for murgaLua - mikshaw - 08-22-2007 02:02 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: