Search found 2 matches
- Sun Mar 10, 2013 1:57 pm
- Forum: Support and Development
- Topic: Only one of many objects is drawn
- Replies: 2
- Views: 1554
Only one of many objects is drawn
Hi guys, I'm trying to program enemies, but i've run into a little problem. Right now, the object for the enemies is very basic - a body with some functions to get coordinates and sprite. Here is the code for the object function spawnEnemy(enemyx,enemyy) enemy = {} enemy.body = love.physics.newBody(...
- Sat Mar 02, 2013 11:11 am
- Forum: General
- Topic: Questions about "spawning things" with love and lua
- Replies: 2
- Views: 2511
Questions about "spawning things" with love and lua
Hi guys I've been playing with Love and so far I love it. However, I'm struggling with something which is important for whatever project i would try to do. I have no idea how to program things which behave in a certain way and that can spawn frequently. For example, how can i program arrow which spa...