Search found 19 matches
Folders?
So I decided, after much deliberation, to try to go for a fully fledged tile-engine for my game. 'Space 1' didn't have a fully functioning level system, which was one feature I really missed. There is seemingly nothing wrong with my class, except that the Löve interpreter complains it can't load my ...
- Thu Feb 25, 2010 3:48 pm
- Forum: Support and Development
- Topic: AnAL support?
- Replies: 2
- Views: 1167
Re: AnAL support?
Thanks! ![Smile :)](./images/smilies/ms-smile.png)
![Smile :)](./images/smilies/ms-smile.png)
- Thu Feb 25, 2010 2:33 pm
- Forum: Support and Development
- Topic: AnAL support?
- Replies: 2
- Views: 1167
AnAL support?
Could someone please post some examples of using AnAL?
I'm trying to implement a scrolling background without creating a fully fledged tile-engine.
And the AnAL library doesn't seem to have any support in the Wiki...
I'm trying to implement a scrolling background without creating a fully fledged tile-engine.
And the AnAL library doesn't seem to have any support in the Wiki...
- Tue Feb 23, 2010 8:54 pm
- Forum: General
- Topic: Problems with classes + arrays...
- Replies: 7
- Views: 1464
Re: Problems with classes + arrays...
Ah, thanks!
When I brushed up on Lua variables here, I got the impression that you needed to initialize all arrays in Lua. Apparently not so!
When I brushed up on Lua variables here, I got the impression that you needed to initialize all arrays in Lua. Apparently not so!
- Tue Feb 23, 2010 8:30 pm
- Forum: General
- Topic: Problems with classes + arrays...
- Replies: 7
- Views: 1464
Re: Problems with classes + arrays...
Thanks guys! I love the responsetime on this forum, even though it seems to be a relatively small one. :P I did this: Bullet = {} BulletMT = { __index = Bullet } --This metatable will be attached to every created class instance. Bullet.Image = love.graphics.newImage("Bullet.png") function ...
- Tue Feb 23, 2010 7:41 pm
- Forum: General
- Topic: Problems with classes + arrays...
- Replies: 7
- Views: 1464
Problems with classes + arrays...
Why are my bullets not getting drawn? My playership is drawn perfectly fine! require("PlayerShip") require("Bullet") function love.load() love.graphics.setBlendMode('alpha') love.graphics.toggleFullscreen() PShip = PlayerShip.Create() Bullets = {} for i = 1, 1000 do Bullets[i] = ...
- Mon Feb 22, 2010 3:18 pm
- Forum: General
- Topic: Keydown problems?
- Replies: 5
- Views: 1647
Re: Keydown problems?
Ah, yes! ![Smile :)](./images/smilies/ms-smile.png)
Moving toggleFullscreen() and adding dt seems to have done the trick
![Smile :)](./images/smilies/ms-smile.png)
Moving toggleFullscreen() and adding dt seems to have done the trick
- Mon Feb 22, 2010 10:19 am
- Forum: General
- Topic: Keydown problems?
- Replies: 5
- Views: 1647
Re: Keydown problems?
Yeah it still happens if I remove that line. I added that line because I figured it might solve the issue, but it didn't help at all. I have no idea what setKeyRepeat() actually does, either. The documentation wasn't very good. Hm... I should probably at least add dt as an argument to the update fun...
- Mon Feb 22, 2010 9:09 am
- Forum: General
- Topic: Keydown problems?
- Replies: 5
- Views: 1647
Keydown problems?
Ok, so this is my code that I started yesterday; function love.load() love.graphics.setBlendMode('alpha') love.keyboard.setKeyRepeat(100, 100) PlayerShip = love.graphics.newImage("PlayerShip.png") PlayerShipX = 350 PlayerShipY = 100 end function love.keypressed(k) if k == 'escape' then lov...