Search found 43 matches

by Evil_Bartek
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?
by Evil_Bartek
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! :awesome:
by Evil_Bartek
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...
by Evil_Bartek
Tue Dec 27, 2011 8:26 pm
Forum: General
Topic: Avatars: OBEY!
Replies: 763
Views: 1066700

Re: Avatars: OBEY!

rude wrote:Just wanted to inform you that we now have fukken avatars!

I hereby strongly encourage users to include "OBEY" in their avatars.
Why?
by Evil_Bartek
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. :death: :death: :death: :death: :ehem: :ehem: :ehem: :| :| :|
by Evil_Bartek
Tue Dec 27, 2011 6:45 pm
Forum: Libraries and Tools
Topic: Cartographer, New alpha!
Replies: 9
Views: 4020

Re: Cartographer, 1st preview

Ensayia wrote:.love
Agreed!
by Evil_Bartek
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?
by Evil_Bartek
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 ...
by Evil_Bartek
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?
by Evil_Bartek
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...