Re: Oh God so many tiles!
Posted: Fri May 21, 2010 4:29 pm
I stand corrected.XianForce wrote:But what Ginto posted is still good practice. Because what if it ISN'T NULL? I use that practice all the time =p
The Next Generation of 2D Roleplaying Games
http://elysianshadows.com/phpBB3/
I stand corrected.XianForce wrote:But what Ginto posted is still good practice. Because what if it ISN'T NULL? I use that practice all the time =p
That's the point. The 'delete' operator checks for non-null.XianForce wrote:But what Ginto posted is still good practice. Because what if it ISN'T NULL? I use that practice all the time =p
He means if it was never set to NULL but was already delete'd. If you call delete on a pointer to random memory.. problems WILL arise.Bakkon wrote:That's the point. The 'delete' operator checks for non-null.XianForce wrote:But what Ginto posted is still good practice. Because what if it ISN'T NULL? I use that practice all the time =p
I'd say make your own, they aren't too difficult, and it will be easier to understand the files you are loading in and they will be more customized to your game :Dspirit bomb! wrote:THANK YOU!!!! for all the responses. I now see that my problem was that i was ignorant. I should know that rendering stuff is a heavier load in terms of calculations.
So i will only draw what is on screen and, if need be, make my game window smaller.
Also as a side note... i was going to use a mapmaker that i did not program, because im a lazy b@$$ TARD. I was going to use "mappy". Any one recommend any other map editor? or use mappy?.....just curious
By the time you find out the file structure of the editor and code it in to work with your game, figure out the program, and get your game working around it, it would almost be quicker to simply write the program. Not only that, but you can always extend your editor and with minor changes use it for other games you create.eatcomics wrote:I'd say make your own, they aren't too difficult, and it will be easier to understand the files you are loading in and they will be more customized to your game :Dspirit bomb! wrote:THANK YOU!!!! for all the responses. I now see that my problem was that i was ignorant. I should know that rendering stuff is a heavier load in terms of calculations.
So i will only draw what is on screen and, if need be, make my game window smaller.
Also as a side note... i was going to use a mapmaker that i did not program, because im a lazy b@$$ TARD. I was going to use "mappy". Any one recommend any other map editor? or use mappy?.....just curious