Search found 15 matches
- Mon Oct 29, 2012 12:57 am
- Forum: Support and Development
- Topic: Inventory
- Replies: 3
- Views: 1920
Inventory
inventory = { x=400, y=20, } function inventory.load() end function inventory.add(id) table.insert(inventory, love.graphics.newImage("Items/".. id ..".bmp")) end function inventory.update(dt) end function inventory.draw() love.graphics.setColor(0,0,0,120) love.graphics.rectangle...
- Tue Sep 18, 2012 9:06 pm
- Forum: Support and Development
- Topic: [Help] Tables/Arrays
- Replies: 4
- Views: 2252
Re: [Help] Tables/Arrays
Thankyou very much!
I know I'm not supposed to call it like that but I do anyways, it keeps it more organized.
I know I'm not supposed to call it like that but I do anyways, it keeps it more organized.
- Tue Sep 18, 2012 1:24 am
- Forum: Support and Development
- Topic: [Help] Tables/Arrays
- Replies: 4
- Views: 2252
Re: [Help] Tables/Arrays
I fixed that.. but now its saying 'Direction' is a nil value?
Here's the updated love:
Here's the updated love:
- Mon Sep 17, 2012 2:14 am
- Forum: Support and Development
- Topic: [Help] Tables/Arrays
- Replies: 4
- Views: 2252
[Help] Tables/Arrays
I having troubles with this loadSprite function.
It says "Attempt to index field 'Down'"
Anyone can help?
It says "Attempt to index field 'Down'"
Anyone can help?
- Wed Sep 12, 2012 9:53 pm
- Forum: Support and Development
- Topic: [Help] HardonCollider + Advanced Tiled Loader
- Replies: 6
- Views: 3234
Re: [Help] HardonCollider + Advanced Tiled Loader
Thankyou very much, slight problem is that they aren't just 32x32 squares they're 48x48?
Anyways, I fixed most of my code that I didn't need.
I was unfamiliar with the HardonCollider and I didn't know it had moveTo I thought it would just reassign by default.. Thanks again!
Anyways, I fixed most of my code that I didn't need.
I was unfamiliar with the HardonCollider and I didn't know it had moveTo I thought it would just reassign by default.. Thanks again!
- Tue Sep 11, 2012 2:22 am
- Forum: Support and Development
- Topic: [Help] HardonCollider + Advanced Tiled Loader
- Replies: 6
- Views: 3234
- Mon Sep 10, 2012 9:35 pm
- Forum: Support and Development
- Topic: [Help] All Blocks are Solid?
- Replies: 1
- Views: 1111
[Help] All Blocks are Solid?
All blocks are solid? How do I fix?
I'm using HardonCollider and AdvTiledLoader (with Tiled Map Editor)
To see the messages join my server: 71.199.76.125
Just get in game (menu screen) and type 71.199.76.125 (THEN HIT ENTER - Don't click start game unless you have a custom server)
I'm using HardonCollider and AdvTiledLoader (with Tiled Map Editor)
To see the messages join my server: 71.199.76.125
Just get in game (menu screen) and type 71.199.76.125 (THEN HIT ENTER - Don't click start game unless you have a custom server)
- Mon Sep 10, 2012 9:22 pm
- Forum: Support and Development
- Topic: DAME Editor ("Free 2D map editor" with export map with Lua)
- Replies: 6
- Views: 5355
Re: DAME Editor ("Free 2D map editor" with export map with L
So.. How would you implement the tiles into the game and make them solid? Would you have to set all the blocks by hand or is there a script?
- Sun Sep 09, 2012 4:46 pm
- Forum: Support and Development
- Topic: [Help] HardonCollider + Advanced Tiled Loader
- Replies: 6
- Views: 3234
Re: [Help] HardonCollider + Advanced Tiled Loader
I got it to work but all of them are now solid?
- Sun Sep 09, 2012 4:20 pm
- Forum: Support and Development
- Topic: Tiledmap.lua:227: attempt to index field 'xarg' (a nil value
- Replies: 7
- Views: 4099
Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v
It works now but Its not working with HardonCollider