I dont actually have a .love file, I am just running some test code out of notepad++
but here is my main, and the two files involved
I can change the map01.lua file, I named that table in layers and that worked. But then it doesnt work with STI
Search found 21 matches
- Mon Mar 23, 2015 1:51 pm
- Forum: General
- Topic: I'm using Tiled and I'm trying to access a table. Help?
- Replies: 4
- Views: 2203
- Mon Mar 23, 2015 5:36 am
- Forum: General
- Topic: I'm using Tiled and I'm trying to access a table. Help?
- Replies: 4
- Views: 2203
I'm using Tiled and I'm trying to access a table. Help?
So this is my map.lua return { version = "1.1", luaversion = "5.1", tiledversion = "0.11.0", orientation = "orthogonal", width = 45, height = 45, tilewidth = 16, tileheight = 16, nextobjectid = 1, properties = {}, tilesets = { { name = "Default", fir...
- Mon Aug 18, 2014 2:16 am
- Forum: Support and Development
- Topic: [HELP] Falling "sand" timer
- Replies: 2
- Views: 2662
[HELP] Falling "sand" timer
So I have a timer that counts down and every second it "drops" a pixel, I have it stop at the bottom of the screen minus one pixel, but how do I have it interact like falling sand? I've looked at physics in the game but I dont get it. Ive also tried looking at others falling sand games and...
- Sat Aug 31, 2013 3:36 am
- Forum: General
- Topic: one second timer
- Replies: 2
- Views: 2335
one second timer
how would i say every 1 second add 1 to x?
- Sun Dec 02, 2012 1:47 am
- Forum: Support and Development
- Topic: "walk cycle"
- Replies: 4
- Views: 2462
Re: "walk cycle"
thanks man your a life saver
- Sun Dec 02, 2012 12:27 am
- Forum: Support and Development
- Topic: "walk cycle"
- Replies: 4
- Views: 2462
"walk cycle"
I want to have a "walk cycle" for a game I'm making, I have a ship... well here is the code ship01 = love.graphics.newImage("images/ship01.png") ship02 = love.graphics.newImage("images/ship02.png") function player_draw() if love.keyboard.isDown("w") or love.ke...
- Sun Nov 25, 2012 4:59 am
- Forum: Support and Development
- Topic: Enemies spawn
- Replies: 4
- Views: 2168
Re: Enemies spawn
yes thank you
- Sat Nov 24, 2012 10:29 pm
- Forum: Support and Development
- Topic: Enemies spawn
- Replies: 4
- Views: 2168
Re: Enemies spawn
this there an easier way to talk, like an im?
- Sat Nov 24, 2012 10:08 pm
- Forum: Support and Development
- Topic: Enemies spawn
- Replies: 4
- Views: 2168
Enemies spawn
Im really confused on all the tutorials so far an I wondering if anyone could help I need enemies to spawn anywhere between x = -64 and x = 664 every 1 - 5 seconds in groups of 1 - 10 (all in random spots between x = -64 and x = 664) going a number between .8 and 1.2 times player.y *-1 example (play...
- Tue Nov 20, 2012 5:00 am
- Forum: Support and Development
- Topic: Multiple keys as one command
- Replies: 8
- Views: 3282
Re: Multiple keys as one command
You should have done this :
Don't forget the parentheses. They group it all together.
Replace those random names with the real statements...[/quote]
Thanks works!:)
Code: Select all
if abooleanvalue and (keyDown1 or keyDown2) then
makecake
end
Replace those random names with the real statements...[/quote]
Thanks works!:)