Search found 52 matches

by coke905
Thu Jun 07, 2012 2:09 pm
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9580

Re: Tile Map help

K im running into a problem no matter what i change my map1_display_w to whats drawn doesn't get further here is my code function Init_Map() map1_display_w = 10 map1_display_h = 2 map1 = { {0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, } tile = {} for i = 0 ,4 do tile = love.graphics.newImage( "...
by coke905
Thu Jun 07, 2012 2:02 pm
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9580

Re: Tile Map help

nvm got the bottom tilemap fixed, now i just need collisions
by coke905
Thu Jun 07, 2012 2:01 pm
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9580

Re: Tile Map help

Well that what i have but i was wondering how to stop the player from moving through the rectangle any suggestions. Player.x = 0 doesnt do anything either does Player.x = Player.x + 0 for my tilemap how would i draw the tiles at the bottom not the top function Draw_Map1() for y = 1, map1_display_h d...
by coke905
Thu Jun 07, 2012 1:54 am
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9580

Re: Tile Map help

Anyone know how i can create a for loop or something to make collision detections or to create more then one object here is my collision detection code function Basic_Disabled_Movement(dt) Collision = false if isColliding(Player.x,Player.y,Player.Image:getWidth(),Player.Image:getHeight(), 150, 150, ...
by coke905
Thu Jun 07, 2012 1:45 am
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9580

Re: Tile Map help

That Whiff Of Steam game is it sidescrolling rpg or top down rpg
by coke905
Wed Jun 06, 2012 10:25 pm
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9580

Re: Tile Map help

Oh and once someone tells me how to fix that i got collision function but id like to make it so my character cant walk through a rectangle that i draw there. So i was wondering how wud i do that if i set Player.x = 0 then my character just teleports to the top left corner and if i do Player.x = Play...
by coke905
Wed Jun 06, 2012 10:21 pm
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9580

Re: Tile Map help

Wow thanks for your help, i figured out why non of it worked in my draw method i kept saying for y = 0. so i set that to one but now im having another problem when i set x and y = 1 in the draw method it draws it 32 pixels right and 32 pixels down so i have giant squares missing in between anyone kn...
by coke905
Wed Jun 06, 2012 2:02 pm
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9580

Re: Tile Map help

function Init_Map() map1 = {0,0,0,0,0,0,0,0} tile = {} for i=1,8 do -- change 3 to the number of tile images minus 1. tile = love.graphics.newImage( "Images/tile"..i..".png" ) end -- map variables map1_display_w = 14 map1_display_h = 10 end function Draw_Map() for y=0, map1_displ...
by coke905
Wed Jun 06, 2012 3:14 am
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9580

Re: Tile Map help

Thanks but that didn't really help ive already looked at those pages and it still doenst work with my LOVE 8.0. Im always getting errors in the draw event in it and honestly i dont know what each thing does so i was wondering if anyone has a tutorial on it. maybe video or something
by coke905
Tue Jun 05, 2012 11:02 pm
Forum: Support and Development
Topic: Tile Map help
Replies: 25
Views: 9580

Tile Map help

Im new to love and im using 8.0. I'd like to make a top down rpg game, rpg elements will be added in later ofcourse. The problem that im running into is sprite animation and tilemapping. I've looked in google but i could only find 3 tile map examples so i tried them but it didn't seem to work with 8...