Search found 43 matches
- Tue Dec 27, 2011 11:07 pm
- Forum: Support and Development
- Topic: interacting with txt files?
- Replies: 3
- Views: 1359
interacting with txt files?
Is there a way to read a txt file? Like getting the contents of it and putting it into a string?
- Tue Dec 27, 2011 10:38 pm
- Forum: Support and Development
- Topic: Aligning to a 40 by 40 grid? AND How to store placed blocks?
- Replies: 3
- Views: 1321
Re: Aligning to a 40 by 40 grid? AND How to store placed blo
ROBIN, I DO NOT KNOW HOW TO THANK YOU!
BY FAR, IN MY OPINION YOU ARE THE BEST LOVE2D USER EVER!![I'M SO HAPPY I COULD SHIT A RAINBOW RIGHT NOW :awesome:](./images/smilies/ms-awesome.png)
BY FAR, IN MY OPINION YOU ARE THE BEST LOVE2D USER EVER!
![I'M SO HAPPY I COULD SHIT A RAINBOW RIGHT NOW :awesome:](./images/smilies/ms-awesome.png)
- Tue Dec 27, 2011 10:27 pm
- Forum: Support and Development
- Topic: Aligning to a 40 by 40 grid? AND How to store placed blocks?
- Replies: 3
- Views: 1321
Aligning to a 40 by 40 grid? AND How to store placed blocks?
I know its possible... How can you align a block I place with the position my mouse... The next question... My code is: function love.load() print("Loaded, no errors.") --lol end function love.mousepressed(x, y, button) if button == "l" then drawx = x drawy = y end end function l...
- Tue Dec 27, 2011 8:26 pm
- Forum: General
- Topic: Avatars: OBEY!
- Replies: 763
- Views: 1066700
Re: Avatars: OBEY!
Why?rude wrote:Just wanted to inform you that we now have fukken avatars!
I hereby strongly encourage users to include "OBEY" in their avatars.
- Tue Dec 27, 2011 7:11 pm
- Forum: Support and Development
- Topic: Better way of making a map
- Replies: 10
- Views: 3100
Re: Better way of making a map
...
EDIT: I ACCIDENTLY PRESSED POST REPLY LOLOLO I MENT TO EDIT MY LAST TOPIC.
![Neutral :|](./images/smilies/ms-unplzd.png)
EDIT: I ACCIDENTLY PRESSED POST REPLY LOLOLO I MENT TO EDIT MY LAST TOPIC.
![Death :death:](./images/smilies/ms-death.png)
![Death :death:](./images/smilies/ms-death.png)
![Death :death:](./images/smilies/ms-death.png)
![Death :death:](./images/smilies/ms-death.png)
![Ehem ... :ehem:](./images/smilies/ms-ehem.png)
![Ehem ... :ehem:](./images/smilies/ms-ehem.png)
![Ehem ... :ehem:](./images/smilies/ms-ehem.png)
![Neutral :|](./images/smilies/ms-unplzd.png)
![Neutral :|](./images/smilies/ms-unplzd.png)
![Neutral :|](./images/smilies/ms-unplzd.png)
- Tue Dec 27, 2011 6:45 pm
- Forum: Libraries and Tools
- Topic: Cartographer, New alpha!
- Replies: 9
- Views: 4020
Re: Cartographer, 1st preview
Agreed!Ensayia wrote:.love
- Tue Dec 27, 2011 6:44 pm
- Forum: General
- Topic: Why has everybody got OBEY in their profile pic?
- Replies: 4
- Views: 2937
Why has everybody got OBEY in their profile pic?
why? tell meh why?
- Tue Dec 27, 2011 6:34 pm
- Forum: Support and Development
- Topic: Better way of making a map
- Replies: 10
- Views: 3100
Re: Better way of making a map
I really don't get this... Mah code: function love.mousepressed(x, y, button) if button == "l" then drawx = x drawy = y end end function love.draw() love.graphics.rectangle("fill",drawx,drawy,40,40) end I just don't get the pairs bit. I know how to use it in normal lua like when ...
- Tue Dec 27, 2011 6:12 pm
- Forum: Support and Development
- Topic: code errors when drawing rectangle
- Replies: 4
- Views: 1704
Re: code errors when drawing rectangle
So like i should do it in love.update if its possible?
- Tue Dec 27, 2011 6:02 pm
- Forum: Support and Development
- Topic: code errors when drawing rectangle
- Replies: 4
- Views: 1704
code errors when drawing rectangle
Here is the code: function love.mousepressed(x, y, button) if button == "l" then mx = love.mouse.getX() my = love.mouse.getY() drawx = mx drawy = my end end function love.draw() love.graphics.rectangle("fill",drawx,drawy,40,40) end It says that there is a bad argument in the rect...