Search found 134 matches
- Sat Aug 27, 2016 7:59 am
- Forum: Support and Development
- Topic: BulletManager (performance argument)
- Replies: 23
- Views: 9235
Re: BulletManager (performance argument)
I do something like this for all of my interactive things, it may give you ideas or not. I've just made this example up (I don't have bullets in my own game): local TABL_BULLET = {} local rollingBulletCount = 0 local minRollingBulletCount = 1 function resetGame() TABL_BULLET = {} rollingBulletCount ...
- Sat Aug 27, 2016 7:27 am
- Forum: Games and Creations
- Topic: H0ard3() - a top-down wave-based shooter
- Replies: 6
- Views: 11200
Re: H0ard3() - a top-down wave-based shooter
I liked the random(?) upgrades at the end of a wave; the enemies upgrading was also a nice touch. From a technical point the pathing and collision seems to work really well, did you write that or learn and incorporate another library? I kinda like the minimalist tron like aesthetic, this should be f...
- Sat Aug 27, 2016 6:17 am
- Forum: General
- Topic: Avoiding OOP
- Replies: 30
- Views: 14315
Re: Avoiding OOP
Off the top of your head, how would you answer these questions? What are the advantages of OOP over procedural programming? Disadvantages? Advantages are (theoretically) reusable code (i.e. less repetition enabled by extension of base classes), clarity of what data your functions are designed to wo...
- Fri Aug 26, 2016 1:04 pm
- Forum: Games and Creations
- Topic: Dark Wish
- Replies: 12
- Views: 9849
Dark Wish
What is DW? A 2.5D role playing game with some randomised content and map generation and quests (similar to Diablo 1). The focus is combat, with a semi-forced movement towards the finale events on the 'zone map', and re-playability. What are my major influences for this game? Fallout 1 and 2 by far...
- Sun Jul 31, 2016 11:40 pm
- Forum: Support and Development
- Topic: Using love.draw
- Replies: 18
- Views: 8059
Re: Using love.draw
Yes, LÖVE 0.10.1 uses LuaJIT. ... I changed the assignment to prevent LuaJIT from realizing that the value is not used, and discard the whole operation. Making the result visible from outside the function should stop that. Thanks for that, it's very interesting indeed -- maybe I'll run it several t...
- Sun Jul 31, 2016 5:45 pm
- Forum: Support and Development
- Topic: Using love.draw
- Replies: 18
- Views: 8059
Re: Using love.draw
I'm pretty sure that's the case for Lua, but are you sure it holds for LuaJIT? . Does love 0.10.1 use LuaJit? I just use love 0.10.1 out of the box with no changes; if so here is my benchmark: DATA: local TABL_TEST = { } for i = 1, 10000 do TABL_TEST[i] = { math.random(), math.random(), math.random...
- Sun Jul 31, 2016 12:37 pm
- Forum: Support and Development
- Topic: Using love.draw
- Replies: 18
- Views: 8059
Re: Using love.draw
I have done something similar as I am sure many others have, I don't see how it could be a problem! I think however that in terms of execution you will get a pretty large performance increase if you create a local var of your indexed list: function love.draw() for count = 1, table.getn(list),1 do lo...
- Sat Jul 30, 2016 10:24 am
- Forum: General
- Topic: What's your Lua/Love setup ?
- Replies: 26
- Views: 18743
Re: What's your Lua/Love setup ?
Notepad++ (on a windows machine). Just make a nice organised src dir and open up the files in npp, that's all I need. Npp remembers the window and opened files when you close it, and you can also save the set-up as a workflow/project type thing. I tried ZeroBrane, Lua Development Tools (an eclipse s...
- Wed Jul 27, 2016 2:11 pm
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1507663
Re: What's everyone working on? (tigsource inspired)
Now I have named my game 'Wish Upon a Dark Star'. I've been playing with lighting, something I've put off for a while now, here is an example at night time (00:00) with fire.
I'm thinking it needs a little something more but not sure.
- Thu May 26, 2016 6:07 pm
- Forum: General
- Topic: What's obey?
- Replies: 18
- Views: 11281
Re: What's obey?
Good to hear itDavidobot wrote:We don't take ourselves too seriously, mate, so nothing to worry about.drunken_munki wrote: For me this, and the dick jokes are a blight on an otherwise impressive toolkit that is love2d.