Search found 29 matches
- Thu Nov 17, 2016 9:58 am
- Forum: Support and Development
- Topic: Freeing up memory, expected behavior?
- Replies: 12
- Views: 5716
Re: Freeing up memory, expected behavior?
Regarding the block class: you are caching too much redundant information, for example: "x, y, z" can be deduced from the block's index/position in the map. and surfaces/normals can be computed on the fly too. Yeh fair points, the classes were just hastely put together with not much thoug...
- Wed Nov 16, 2016 11:07 pm
- Forum: Support and Development
- Topic: Freeing up memory, expected behavior?
- Replies: 12
- Views: 5716
Re: Freeing up memory, expected behavior?
I just tested some more, and without nilling my terrain pointer, I can stop the game from going haywire by running collectgarbage("collect") manually at the end of load() I kinda wonder now if nilling a pointer automatically calls collectgarbage("collect") on that pointer's data ...
- Wed Nov 16, 2016 8:21 pm
- Forum: Support and Development
- Topic: Freeing up memory, expected behavior?
- Replies: 12
- Views: 5716
Freeing up memory, expected behavior?
So, I have a little program that generates a Simplex noise based isometric voxel-like 2.5D terrain (with varriable width and height). The program is clearly far from perfect but it's not the main cause of concern. In my main file, I load a new terrainobject and allow scaling/moving through mousewhee...
- Sun Nov 13, 2016 7:07 pm
- Forum: Libraries and Tools
- Topic: Free Music / SFX Resource for Your Games - Over 2500 Tracks
- Replies: 390
- Views: 1819823
Re: Free Music Resource for Your Games
I might have to make a 1.2.2 release of my little Tetris game after all There's some rly nice loops I could use in your work !
Keep it up.
Keep it up.
- Sun Nov 13, 2016 5:48 pm
- Forum: Games and Creations
- Topic: Tetris revisited: Petris (v1.2.1 final)
- Replies: 2
- Views: 1942
Re: Tetris revisited: Petris
Some major updates.
Final release version (unless some bugs show up that I do not know off).
Final release version (unless some bugs show up that I do not know off).
- Fri Nov 11, 2016 5:10 pm
- Forum: Games and Creations
- Topic: Hex Engine
- Replies: 11
- Views: 11493
Re: Hex Engine
Hey Crossing, the hitdetection on your hexes seems a bit off around a few corners, I looked at the code but got terribly confused by the number of vars your using to actually calc it :D I have some 100% accurate hex hit detection if you like (based on the center and outer sphere radius). If need be ...
- Fri Nov 11, 2016 3:11 pm
- Forum: Games and Creations
- Topic: Tetris revisited: Petris (v1.2.1 final)
- Replies: 2
- Views: 1942
Re: Tetris revisited: Petris
2 small updates. v1.1
- Fri Nov 11, 2016 11:13 am
- Forum: Games and Creations
- Topic: Abandoned Prototype/Alpha
- Replies: 4
- Views: 3917
Re: Abandoned Prototype/Alpha
Tried 1 of the levels, not a big fan of the wave based combat.
But hell I love the graphics , nice atmosphere aswell with the music/sfx.
But hell I love the graphics , nice atmosphere aswell with the music/sfx.
- Thu Nov 10, 2016 11:29 pm
- Forum: Games and Creations
- Topic: Tetris revisited: Petris (v1.2.1 final)
- Replies: 2
- Views: 1942
Tetris revisited: Petris (v1.2.1 final)
I've been playing around with love2D for a few months now, and as a result I've been mostly coding my own UIManagers, slowly making myself acquainted with lua's implimentation of OO-coding. The last few days I decided to make a tetris clone. It still has a few kinks I'm working out/features I'd like...