okay here is a .love all i want its to save the direction of the block save it as soon as I close and load it as soon I start the .love
also tried save the X and Y and nothing ...
Search found 142 matches
- Sun Mar 23, 2014 5:04 am
- Forum: Support and Development
- Topic: filesystem.newFile????
- Replies: 17
- Views: 10385
- Sun Mar 23, 2014 3:07 am
- Forum: Support and Development
- Topic: filesystem.newFile????
- Replies: 17
- Views: 10385
Re: filesystem.newFile????
see my problem is i want to see if the file exist
if it doesn't exist i want to make it
that code wont work the other 2 do...
but why???
if it doesn't exist i want to make it
that code wont work the other 2 do...
but why???
- Sun Mar 23, 2014 2:21 am
- Forum: Support and Development
- Topic: filesystem.newFile????
- Replies: 17
- Views: 10385
filesystem.newFile????
I am learning about love.filesystem.newFile() and i see something weird and i don't understand? when i write this it works and it makes the folder and the .lua if not love.filesystem.exists("file.lua")then file = love.filesystem.newFile("file.lua") file:open("a") file:w...
- Sat Mar 22, 2014 2:38 am
- Forum: Support and Development
- Topic: filesystem on a mac
- Replies: 9
- Views: 2610
Re: filesystem on a mac
got it finally i am able to see it thank you so much...
- Sat Mar 22, 2014 12:28 am
- Forum: Support and Development
- Topic: filesystem on a mac
- Replies: 9
- Views: 2610
Re: filesystem on a mac
how come i was not able to find love folder ???that's not a special folder for macFiles and folders that start with a period are hidden. Library is a special system folder, so that's hidden
weirdly i had to format mac and after it it worked but before nothing at all
- Sat Mar 22, 2014 12:26 am
- Forum: Support and Development
- Topic: save game with tserial?
- Replies: 3
- Views: 1602
Re: save game with tserial?
that's one of the tables to save from many so... player={} player.x=100 player.y=200 player.w=50 player.h=50 player.speed=300 player.life=5 like this??? love.filesystem.write('scores', serialize(player)) --and to load like this? player = love.filesystem.load('score','player')() or am i super confuse?
- Fri Mar 21, 2014 4:08 pm
- Forum: Support and Development
- Topic: save game with tserial?
- Replies: 3
- Views: 1602
save game with tserial?
i tried a few ways to save my tables but when it comes to do it.... it fails i don't know why? now tserial is it a good way to save tables? is that the right way or is there a super easier way?? can anyone point to me which direction to take if there is a better way and easy??? i am trying to make l...
- Fri Mar 21, 2014 2:01 pm
- Forum: Support and Development
- Topic: filesystem on a mac
- Replies: 9
- Views: 2610
Re: filesystem on a mac
thank you for the command....
mac its different from windows ...
but for hidden folder? how do you active them?if in case i want to hide a folder?
windows its easy but here mac not sure what to do?
mac its different from windows ...
but for hidden folder? how do you active them?if in case i want to hide a folder?
windows its easy but here mac not sure what to do?
- Fri Mar 21, 2014 5:55 am
- Forum: Support and Development
- Topic: filesystem on a mac
- Replies: 9
- Views: 2610
Re: filesystem on a mac
i did as wiki and as how you said it and i dont see any folder or any love at all? what i did is downloaded love and placed it under finder/applications thats all!!!
did i do wrong in order for the folder love to be hidden or not there and if it is hidden how can i show it so i can work on it????
did i do wrong in order for the folder love to be hidden or not there and if it is hidden how can i show it so i can work on it????
- Thu Mar 20, 2014 5:29 pm
- Forum: Support and Development
- Topic: filesystem on a mac
- Replies: 9
- Views: 2610
filesystem on a mac
okay.. i think i have done something wrong I downloaded the love.app and place it in to --finder/applications-- now when i do my stuff it works good but now that I try love.filesystem.write("score" , " the score is"..scores)--example i cant find it??? where do i have to look? I c...