Search found 185 matches
- Fri Apr 15, 2016 5:51 pm
- Forum: Support and Development
- Topic: Simple flight physics
- Replies: 5
- Views: 2678
Simple flight physics
Hi there, I just entered a game jam and ended up with a game where I need simple flight physics. What I need is probably only gliding, uplift and crashing into things. Is it worth using love.physics or is it simpler to do the flying with fake physics and maybe only the collisions with a simple lib? ...
- Fri Apr 15, 2016 12:46 pm
- Forum: Libraries and Tools
- Topic: HUMP - yet another set of helpers
- Replies: 146
- Views: 129856
Re: HUMP - yet another set of helpers
Hi there. I tried to create timed level progression using hump.timer but all I get is crashes. Any idea what's wrong? Timer = require("lib/hump.timer") function love.load() love.graphics.setColor(0,0,0) love.graphics.setBackgroundColor(255,255,255) TIMERS = {} TI = 1 Timer.every(TI, functi...
- Wed Apr 06, 2016 8:24 am
- Forum: Support and Development
- Topic: Issues with Love 0.10.0
- Replies: 7
- Views: 4965
Re: Issues with Love 0.10.0
Also, try to install löve 0.10.1.
- Tue Apr 05, 2016 8:08 pm
- Forum: Support and Development
- Topic: Issues with Love 0.10.0
- Replies: 7
- Views: 4965
Re: Issues with Love 0.10.0
I run löve 0.10.X with an Intel HD 3000 without issues. My laptop even has the same display resolution, but it also works with 1920x1080. I'm on Linux though, but at least the hardware is not the issue.
You can try to run something from the command prompt, maybe you'll get an error message there.
You can try to run something from the command prompt, maybe you'll get an error message there.
- Tue Apr 05, 2016 7:19 pm
- Forum: Libraries and Tools
- Topic: APE (Another Particle Editor) for LÖVE2D
- Replies: 21
- Views: 32580
Re: APE (Another Particle Editor) for LÖVE2D
Hi SiENcE,
after clicking save, no file is created. What could be wrong?
after clicking save, no file is created. What could be wrong?
- Sat Feb 27, 2016 7:34 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 411254
Re: "Questions that don't deserve their own thread" thread
For the most part, components should only contain data, and systems should process that data, but I think it's useful to make an exception for things that need to happen to the entity rather than with its components. Any functionality concerned with the entity (for example, adding or removing the e...
- Fri Feb 26, 2016 8:50 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 411254
Re: "Questions that don't deserve their own thread" thread
I simply want to give the ECS concept a go, as simple and close to the t-machine approach as possible. Except fpr using a DB, as this would complicate stuff too much for my taste, and I think it is unnecessary for a small game. I think ECS and OOP can be combined, but I also think that it is hard to...
- Thu Feb 25, 2016 11:16 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 411254
Re: "Questions that don't deserve their own thread" thread
Also murks: if I understand you correctly, each system has a table like positions = { [3] = {10, 20}, [9] = {4, 4}, ... } sprites = { [3] = entity_sprite_one, [9] = entity_sprite_two, ... } If that is the case, why don't you do it like this entities = { [{ sprite = entity_sprite_one, position = {10...
- Thu Feb 25, 2016 10:56 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 411254
Re: "Questions that don't deserve their own thread" thread
You could set them to a dummy value. Like "nil". That way you could continue to use ipairs. In another table store the indexes that are "nil". When ever you create a new entity throw it in the first "nil" spot. The benefit of nil vs "nil" is you could still u...
- Sun Feb 21, 2016 8:03 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 411254
Re: "Questions that don't deserve their own thread" thread
I designed a simple ECS which works with component tables. Those are tables used as arrays and I use the index directly as entity ID. I'm not quite sure that this is a good idea because of the problems with sparse arrays in Lua. I still wonder a bit about removing entities and components. For the mo...