Search found 1331 matches
- Wed Dec 05, 2012 12:26 pm
- Forum: Support and Development
- Topic: random spawnpoint
- Replies: 2
- Views: 1494
random spawnpoint
how can i make this system so when you use the spawn command (without x and y) it spawns the house an random area :D code: --this includes scene ,cars and houses houses = {} function houses_spawn(id,doNumX,doNumY,odd,numberX,numberY) table.insert(houses, {x= x,y = y,id = id}) end function houses_dra...
- Mon Nov 12, 2012 7:22 pm
- Forum: General
- Topic: Kickstarter project to develop tools for 2d games
- Replies: 10
- Views: 9213
Re: Kickstarter project to develop tools for 2d games
This is a really cool idea for a tool. Animations and collision shapes are definitely way easier to do visually. How restrictive is your indie license and what would the cost be once Objecty is released? The indie license would essentially be a low price yearly subscription and contain all of the f...
- Sat Nov 10, 2012 4:34 pm
- Forum: Support and Development
- Topic: SOLVED!
- Replies: 8
- Views: 1766
Re: problems with love.filesystem()
its says: attempt compare number with string or somethingRobin wrote:I don't get an error then.
- Sat Nov 10, 2012 3:28 pm
- Forum: Support and Development
- Topic: SOLVED!
- Replies: 8
- Views: 1766
Re: problems with love.filesystem()
in read.luaRobin wrote:You know you can upload .loves as attachments to this forum, right?
I get another error: read.lua:15: Could not open file save1.save. Does not exist.
When I fix that, it works for me. What file and line number is the error in?
player.x = saveC1
here
when you click play!
- Sat Nov 10, 2012 1:40 pm
- Forum: Support and Development
- Topic: SOLVED!
- Replies: 8
- Views: 1766
SOLVED!
path = love.filesystem.getUserDirectory( ) dir = love.filesystem.getSaveDirectory( ) cwd = love.filesystem.getWorkingDirectory( ) appdataDir = love.filesystem.getAppdataDirectory( ) function game_save() love.filesystem.setIdentity("mj2d") love.filesystem.write("save1.save",playe...
- Fri Nov 09, 2012 6:12 pm
- Forum: Support and Development
- Topic: problems with love.filesystem.read()
- Replies: 5
- Views: 1832
Re: problems with love.filesystem.read()
Like bartbes said: function game_loadSave() saveC1 = love.filesystem.read("save1.txt") saveC2 = love.filesystem.read("save2.txt") saveC3 = love.filesystem.read("save3.txt") saveC4 = love.filesystem.read("save4.txt") end General rule of thumb: if you use love....
- Fri Nov 09, 2012 6:10 pm
- Forum: Support and Development
- Topic: problems with love.filesystem.read()
- Replies: 5
- Views: 1832
Re: problems with love.filesystem.read()
Like bartbes said: function game_loadSave() saveC1 = love.filesystem.read("save1.txt") saveC2 = love.filesystem.read("save2.txt") saveC3 = love.filesystem.read("save3.txt") saveC4 = love.filesystem.read("save4.txt") end General rule of thumb: if you use love....
- Fri Nov 09, 2012 3:50 pm
- Forum: Support and Development
- Topic: problems with love.filesystem.read()
- Replies: 5
- Views: 1832
problems with love.filesystem.read()
path = love.filesystem.getUserDirectory( ) dir = love.filesystem.getSaveDirectory( ) cwd = love.filesystem.getWorkingDirectory( ) appdataDir = love.filesystem.getAppdataDirectory( ) function game_save() love.filesystem.setIdentity("mj2d") love.filesystem.write("save1.txt",player...
- Tue Oct 30, 2012 2:19 pm
- Forum: Support and Development
- Topic: improve fps
- Replies: 4
- Views: 1102
improve fps
can someone tell me a trick to improve fps?, when my game start it drops from 158+ to (after 2 minutes) 10
- Thu Oct 25, 2012 8:20 pm
- Forum: Games and Creations
- Topic: UPDATED: My Tetris Clone (yes...another)
- Replies: 15
- Views: 11068
Re: UPDATED: My Tetris Clone (yes...another)
there is a bug when you click escape while your in game....