Search found 21 matches

by lolsasory
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: 2151

Re: I'm using Tiled and I'm trying to access a table. Help?

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
by lolsasory
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: 2151

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...
by lolsasory
Mon Aug 18, 2014 2:16 am
Forum: Support and Development
Topic: [HELP] Falling "sand" timer
Replies: 2
Views: 2636

[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...
by lolsasory
Sat Aug 31, 2013 3:36 am
Forum: General
Topic: one second timer
Replies: 2
Views: 2288

one second timer

how would i say every 1 second add 1 to x?
by lolsasory
Sun Dec 02, 2012 1:47 am
Forum: Support and Development
Topic: "walk cycle"
Replies: 4
Views: 2405

Re: "walk cycle"

thanks man your a life saver
by lolsasory
Sun Dec 02, 2012 12:27 am
Forum: Support and Development
Topic: "walk cycle"
Replies: 4
Views: 2405

"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...
by lolsasory
Sun Nov 25, 2012 4:59 am
Forum: Support and Development
Topic: Enemies spawn
Replies: 4
Views: 2119

Re: Enemies spawn

yes thank you
by lolsasory
Sat Nov 24, 2012 10:29 pm
Forum: Support and Development
Topic: Enemies spawn
Replies: 4
Views: 2119

Re: Enemies spawn

game.love
(119.97 KiB) Downloaded 246 times
this there an easier way to talk, like an im?
by lolsasory
Sat Nov 24, 2012 10:08 pm
Forum: Support and Development
Topic: Enemies spawn
Replies: 4
Views: 2119

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...
by lolsasory
Tue Nov 20, 2012 5:00 am
Forum: Support and Development
Topic: Multiple keys as one command
Replies: 8
Views: 3198

Re: Multiple keys as one command

You should have done this :

Code: Select all

if abooleanvalue and (keyDown1 or keyDown2) then
    makecake
end
Don't forget the parentheses. They group it all together.
Replace those random names with the real statements...[/quote]

Thanks works!:)