Search found 170 matches
- Sun Jan 06, 2013 4:12 am
- Forum: Support and Development
- Topic: Installing LÖVE on Mac OS X
- Replies: 5
- Views: 11201
Re: Installing LÖVE on Mac OS X
That's the "no game" screen. Go over to the projects and demos section, and download someone's .love file. Double clicking on that should run their game in the love app. This app is for making games and playing others games, it's not a game itself.
- Fri Jan 04, 2013 2:32 am
- Forum: General
- Topic: The require() function.
- Replies: 8
- Views: 9972
Re: The require() function.
Remove the .lua in the require function. So just require("char"). The "." Symbolizes a folder, so the program is looking inside the "char" folder for a file called Lua. You can see how that error is happening in the second line of error code.
- Thu Jan 03, 2013 11:57 pm
- Forum: General
- Topic: Programming got me confused in class!
- Replies: 8
- Views: 3978
Re: Programming got me confused in class!
My math teacher like pulling jokes on people, and he knows that I always take things the complicated way. So he asked me to write a possible way to make a sine wave onto the board, while keeping it as simple as I could. He would then type it into the computer and it would show up on the smartboard. ...
- Mon Dec 31, 2012 7:26 pm
- Forum: Support and Development
- Topic: [Solved] How do I rotate images horizontally or vertically?
- Replies: 3
- Views: 2118
Re: How do I rotate images horizontally or vertically?
When using love.graphics.draw the fourth argument is the rotation. So love.graphics.draw(image, x, y, rotation) will work. The rotation is in radians, so using pi as an argument would rotate the image 180 degrees. .5 * pi will be 90 degrees clockwise, and 1.5 * pi will be 270 degrees clockwise. You ...
- Mon Dec 31, 2012 12:33 am
- Forum: Support and Development
- Topic: My .love file
- Replies: 4
- Views: 2235
Re: My .love file
Unless you access the contents inside the .love by using a third party application like winzip you'll need to keep making new .love files. Alternatively you can test via dragging the folder your game contains onto the love binary, or create a batch file to run the game for you.
- Sun Dec 30, 2012 7:04 pm
- Forum: Support and Development
- Topic: Ubuntu 12.10
- Replies: 6
- Views: 2519
Re: Ubuntu 12.10
You just did a common mistake. When making a .love file you should always zip the contents of the folder, not the folder itself. So in your case you would just zip that main.lua file you had. If you need more help see Game Distribution on the wiki.
- Fri Dec 28, 2012 3:45 pm
- Forum: General
- Topic: New to Love2D and Lua
- Replies: 9
- Views: 2933
Re: New to Love2D and Lua
I spent 8 minutes of my life counting up the used code of Mari0 and the total was 21869 lines of code. cloc shows a total of 38,275 lines across 138 separate files in Mari0, although I'm using a yet-to-be-released version... I also didn't count any of the server code as it wasn't used in 1.6. It pr...
- Thu Dec 27, 2012 5:31 pm
- Forum: General
- Topic: New to Love2D and Lua
- Replies: 9
- Views: 2933
Re: New to Love2D and Lua
I'm not trying to put you off of programming with love here, but I would just like to point out that Mari0 and Terraria probably wouldn't be as "simple" to make as you would think. I spent 8 minutes of my life counting up the used code of Mari0 and the total was 21869 lines of code. Though...
- Mon Dec 17, 2012 12:03 am
- Forum: Support and Development
- Topic: Help with a GUI Library of sorts
- Replies: 5
- Views: 2630
Re: Help with a GUI Library of sorts
The first time I ran your game, it completely crashed my macbook. I had to force shut down. I think it's cause you're creating a new font each frame in love.draw(). Make the new font in love.load, and then just set it in love.draw(). Otherwise your game could become unplayable.
- Fri Dec 14, 2012 11:22 pm
- Forum: Games and Creations
- Topic: PlatformGuy! V0.4
- Replies: 63
- Views: 28871
Re: PlatformGuy! V0.4
Starting over, eh? I approve, I suppose, if the structure at the bottom of the game isn't supporting your growth anymore. Suggested goals for your next game, especially if it's a platformer: -Better organized and indented code designed for readability -A better way to handle those longer jumps the ...