Search found 6 matches

by randomNick
Sat Aug 29, 2015 4:42 am
Forum: General
Topic: Directory path
Replies: 4
Views: 2132

Re: Directory path

indeed

.love is saving to AppData/Roaming/LOVE while
.exe is saving to AppData/Roaming
by randomNick
Sat Aug 29, 2015 1:52 am
Forum: General
Topic: Directory path
Replies: 4
Views: 2132

Re: Directory path

So i realized that love can only access the save directory and the .love's root directory. so i change the code to love.filesystem.setIdentity("testFolder") local files = love.filesystem.getDirectoryItems("") function love.draw() for i,v in ipairs(files) do love.graphics.print(v,...
by randomNick
Fri Aug 28, 2015 11:21 pm
Forum: General
Topic: Directory path
Replies: 4
Views: 2132

Directory path

So i tried this code to list the files in a certain directory local dir = "" local files = love.filesystem.getDirectoryItems(dir) function love.draw() for i,v in ipairs(files) do love.graphics.print(v, 0, i*10) end end this one works, but if i change the dir to something like: "C:/Use...
by randomNick
Thu Aug 20, 2015 4:42 pm
Forum: General
Topic: Creating .love file
Replies: 3
Views: 2165

Re: Creating .love file

thanks alot. its working now. i created the love file and then the exe file. if i want to make the game available for a computer without LOVE "installed", i have to include all the files from my /LOVE folder or just the .dll ones? because i tried to do it with only the exe file and the dll...
by randomNick
Thu Aug 20, 2015 3:37 pm
Forum: General
Topic: Creating .love file
Replies: 3
Views: 2165

Creating .love file

So im trying to create a .love file for my game. What i did: open the Game folder, select all the files in it, add to archive with win rar, renamed the file to testGame.love. When i try to open the .love with doubleclick, it says "NO GAME", yet if i drag the folder where i had my files int...
by randomNick
Fri Aug 07, 2015 10:49 pm
Forum: General
Topic: Working with sprites
Replies: 6
Views: 1736

Working with sprites

Heya guys, for the first time i want to try and develope a 2D platform fight game. For the code im using the AnAL library for the animation, but the issue im having is with the sprites. For instance this animation https://love2d.org/imgmirrur/00nNV5x.png The width isnt the same for all the frames, s...