Search found 52 matches

by coke905
Sun Jun 10, 2012 1:09 am
Forum: Support and Development
Topic: Timer Help
Replies: 10
Views: 3705

Re: Timer Help

K my tileset has right and left images on it 4 frames, i have the quads laid out for me, but now how would i make it so if i press "Left" it sorta sets the timer to start at the 5th element at the table, i have right movement working just like you wrote, but its hard when the left images a...
by coke905
Sun Jun 10, 2012 12:48 am
Forum: Support and Development
Topic: Timer Help
Replies: 10
Views: 3705

Re: Timer Help

Extremely sorry for triple posting but i realized the problem in the code that you gave me, it was the array with my background in c++ i realized that arrays start at zero so i just had to switch it to 0 1 2 3 thanks btw im extremely grateful.
by coke905
Sun Jun 10, 2012 12:36 am
Forum: Support and Development
Topic: Timer Help
Replies: 10
Views: 3705

Re: Timer Help

im getting an error in the draw function i dont know much about tables so i dont know how to fix it function love.load() img = love.graphics.newImage("Images/Player_Sprite_Sheet.png") PlayerX = 150 PlayerY = 500 anim = {} anim[1] = love.graphics.newQuad(0,0,39,64, 156, 128) anim[2] = love....
by coke905
Sun Jun 10, 2012 12:27 am
Forum: Support and Development
Topic: Timer Help
Replies: 10
Views: 3705

Re: Timer Help

sorta i think its like for i,v in ipairs(anim) do

end



but im not REALLY familair and im confused why you dont set i = 0 because every forloop ive used its for i =0, 10 or whatever i want to set i to.
by coke905
Sat Jun 09, 2012 10:42 pm
Forum: Support and Development
Topic: Timer Help
Replies: 10
Views: 3705

Timer Help

K so i understand how to do quads no and i have right_1 - right_4 as quads with each individual image, img = love.graphics.newImage("Images/Player_Sprite_Sheet.png") # my spritesheet right_1 = love.graphics.newQuad(0,0,39,64, 156, 128) # first pic right_2 = love.graphics.newQuad(39,0,39,64...
by coke905
Sat Jun 09, 2012 10:28 pm
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9508

Re: Tile Map help

K sorry my apologies!
by coke905
Sat Jun 09, 2012 2:05 am
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9508

Re: Tile Map help

AnAL library has an error on line 71 and i have no clue how to fix it because im new to lua
by coke905
Sat Jun 09, 2012 12:51 am
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9508

Re: Tile Map help

Oh and can love run .SWF animations because if it can i wont need to learn quads at this exact moment i can just play the animation where the character is right?
by coke905
Sat Jun 09, 2012 12:48 am
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9508

Re: Tile Map help

i fixed it i just remade a new game pretty much (LOLZ) i think it was the images i use sometimes the images don't work so i just resave them. Anyone know how i can go about making jumping And Platforms, see im able to do jumping but with that its just setting a jumppeak variable and a groundheight v...
by coke905
Fri Jun 08, 2012 2:46 am
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9508

Re: Tile Map help

K i dont understand what game tags are and i dont know what you mean by uploading .love file. My problem is no matter what value i change map1_display_w or map1_display_h as it doesn't change what it draws to. Im changing the table aswell.