Page 2 of 2

Re: Monopoly game (demo)

Posted: Mon Apr 18, 2011 9:12 pm
by BlackBulletIV
Ah ok, I suspected that.

Re: Monopoly game (demo)

Posted: Mon Apr 18, 2011 9:23 pm
by RPG
Robin wrote:I let them play for a while, this is the result:
epicness2.png
EDIT: I let it play even longer. When it reached $10 M, I called it quits.
This is normal behavior, this version only shows the gameplay. When a player runs out of money, he is out of the game (went bankrupt). In the end there is one player, but as the game does not end there, he continues to buy companies.
BlackBulletIV wrote:Nice man! I did notice one problem (or is it?), the memory meter up the top keeps climbing up to about 750/760, then it drops back to about 400, and then it starts over again. Luckily it doesn't just keep climbing, so it's not serious.
This is a normal work the garbage collector. When the memory consumption increases, the garbage collector runs and frees memory. The game memory is displayed in kilobytes, it is very little by modern standards.
During development, I eliminated a lot of memory leaks, before it grew very quickly, but now the memory within normal limits.

Tip: try to press "f" in the game (just for fun). Then press "f" again. Thig is development version and there is cheats :)

Re: Monopoly game (demo)

Posted: Mon Apr 18, 2011 10:30 pm
by BlackBulletIV
Kilobytes eh? I'm don't think it's displaying all the memory then. My memory monitor said Lua was using 250 MB.

Re: Monopoly game (demo)

Posted: Tue Apr 19, 2011 5:31 am
by Robin
RPG wrote:This is normal behavior, this version only shows the gameplay. When a player runs out of money, he is out of the game (went bankrupt). In the end there is one player, but as the game does not end there, he continues to buy companies.
I know, I've played monopoly. ;)
RPG wrote:Tip: try to press "f" in the game (just for fun). Then press "f" again. Thig is development version and there is cheats :)
Awesome, that would have made my screen shot much easier. :P
EDIT: yes it would. Same result within seconds, literally.

Re: Monopoly game (demo)

Posted: Tue Apr 19, 2011 6:59 am
by RPG
BlackBulletIV wrote:Kilobytes eh? I'm don't think it's displaying all the memory then. My memory monitor said Lua was using 250 MB.
This is memory used for lua objects. The remaining memory is used for libraries (eg, OpenGL), textures, sounds.

But 250 MB is abnormally for this game. On my computer, memory usage is 50 MB.

Re: Monopoly game (demo)

Posted: Tue Apr 19, 2011 7:46 am
by BlackBulletIV
I played it again, and this time it's about 45-60 MB as you said. Funny thing is that last time I played it, a process named "Lua" was taking up 250 MB, not "love". This time the "Lua" process doesn't show. I think this might be because I had interactive Lua running... that's probably it.

Anyway, good luck with the game!

Re: Monopoly game (demo)

Posted: Tue Apr 19, 2011 8:42 am
by RPG
I think that Lua is a different process, not related to the game.

Re: Monopoly game (demo)

Posted: Tue Apr 19, 2011 9:13 am
by BlackBulletIV
It is. As I said:
BlackBulletIV wrote:I think this might be because I had interactive Lua running... that's probably it.