Search found 6 matches
- Wed Nov 03, 2010 10:22 am
- Forum: Support and Development
- Topic: Concat strings using '+' crashes Love on my Mac
- Replies: 18
- Views: 5097
Re: Concat strings using '+' crashes Love on my Mac
anjo was right, assigning a value to the debug variable is what causes Love to crash. Here is a simple example that crashes Love on my machine : function love.draw() debug = ""; love.graphics.print("hi "+"world", 400, 300) end I'm new here, so I'm not sure how things wo...
- Tue Nov 02, 2010 7:28 pm
- Forum: Support and Development
- Topic: Concat strings using '+' crashes Love on my Mac
- Replies: 18
- Views: 5097
Re: Concat strings using '+' crashes Love on my Mac
Wow, that was a fast reply. But is it normal that Love should crash without showing an error message? I have another crash going on at the moment, although it's not due to string concatenation, must be something else. So it's block comments and debug messages again...
- Tue Nov 02, 2010 7:24 pm
- Forum: Support and Development
- Topic: Concat strings using '+' crashes Love on my Mac
- Replies: 18
- Views: 5097
Concat strings using '+' crashes Love on my Mac
Hi chaps, If I try to concat two strings with the '+' plus operator Love crashes on my MacBook. I've since learnt that concatenations are done with the ".." operator. RTFM and all that. Anyway, thus far Love has been presenting me clear and precise error messages, this crash was a bit of a...
- Fri Oct 29, 2010 10:00 am
- Forum: Support and Development
- Topic: Error creating Hello World game
- Replies: 15
- Views: 6319
Re: Error creating Hello World game
Thanks chaps. To get it working I had to delete the spaces before "love.graphics.print" and save the file as UTF without BOM. Talk about a rocky start.
- Thu Oct 28, 2010 9:23 pm
- Forum: Support and Development
- Topic: Error creating Hello World game
- Replies: 15
- Views: 6319
Re: Error creating Hello World game
Here is a copy of the main.lua file, saved in UTF8.
- Thu Oct 28, 2010 5:42 pm
- Forum: Support and Development
- Topic: Error creating Hello World game
- Replies: 15
- Views: 6319
Error creating Hello World game
Dear fellow lovers, I'm straight out of the blocks, into the first hurdle and BAM!, I have fallen flat on my face. Been googling around, and searched this forum, can't find the solution to my problem. I've downloaded and installed the latest version of Love for Mac (0.6.2). I can run the bundled dem...