Search found 380 matches
- Thu Jul 21, 2011 1:47 pm
- Forum: Libraries and Tools
- Topic: Mandelbrot fractal maker
- Replies: 51
- Views: 24457
Mandelbrot fractal maker
Edit : I now know what was wrong with the code and what was wrong with the scaling and moving and zooming etc.. so finnaly : (move with 'wasd', zoom in and out with mousewheel, increase iterations with and 'u' and 'j' and increase size with 'y' and 'h') (improvements ideas?) oh and OpenGL version : ...
- Thu Jul 21, 2011 1:40 pm
- Forum: Support and Development
- Topic: How do you simple make a button?
- Replies: 27
- Views: 11085
Re: How do you simple make a button?
oke did what you said and :
and i'm now working on a 'maybe' and a 'not' button, those are handy when solving bigger puzzles
and i'm now working on a 'maybe' and a 'not' button, those are handy when solving bigger puzzles
- Thu Jul 21, 2011 11:45 am
- Forum: Support and Development
- Topic: How do you simple make a button?
- Replies: 27
- Views: 11085
Re: How do you simple make a button?
and what do you guys actualy think of my code :#?
- Thu Jul 21, 2011 11:44 am
- Forum: Support and Development
- Topic: How do you simple make a button?
- Replies: 27
- Views: 11085
Re: How do you simple make a button?
there ya go :
- Thu Jul 21, 2011 11:18 am
- Forum: Support and Development
- Topic: How do you simple make a button?
- Replies: 27
- Views: 11085
Re: How do you simple make a button?
HAHA i did it :D!!!! i made the 'no' game in the demo's myself from scratch :D diffeculty = 5 size = 400/diffeculty--logic BOXES = {} math.randomseed(os.time()) for x = 1,diffeculty do for y = 1,diffeculty do BOX = {O = math.random(0,1), X = x, Y = y, C = 0} table.insert(BOXES,BOX) end end function ...
- Thu Jul 21, 2011 1:21 am
- Forum: Support and Development
- Topic: How do you simple make a button?
- Replies: 27
- Views: 11085
Re: How do you simple make a button?
umm my collision detection doesnt work 3: local ap = {x = v.X, y = v.Y} local as = {x = size, y = size} local bp = {x = mx, y = my} local bs = {x = 1,y = 1} E = ap.x + as.x > bp.x and bp.x + bs.x > ap.x and ap.y + as.y > bp.y and bp.y + bs.y > ap.y gives wrong answer v is a table of the position of ...
- Thu Jul 21, 2011 12:19 am
- Forum: Support and Development
- Topic: How do you simple make a button?
- Replies: 27
- Views: 11085
Re: How do you simple make a button?
oh and, is there any way i can optimise my code?(its a base of a puzzle game im making) = diffeculty = 7 size = 500/diffeculty--logic BOXES = {} math.randomseed(os.time()) for x = 1,diffeculty do for y = 1,diffeculty do BOX = {O = math.random(0,1), X = x, Y = y} table.insert(BOXES,BOX) end end funct...
- Thu Jul 21, 2011 12:13 am
- Forum: Support and Development
- Topic: How do you simple make a button?
- Replies: 27
- Views: 11085
- Thu Jul 21, 2011 12:06 am
- Forum: Support and Development
- Topic: How do you simple make a button?
- Replies: 27
- Views: 11085
Re: How do you simple make a button?
so actualy have to make some collision detection with a mouse and a image :O?
thats pretty sad 3:
why can't LÖVE ad a function like when an image can mousepressed? =
image = blabla image
image.MousePressed:connect()
thats pretty sad 3:
why can't LÖVE ad a function like when an image can mousepressed? =
image = blabla image
image.MousePressed:connect()
- Wed Jul 20, 2011 11:15 pm
- Forum: Support and Development
- Topic: How do you simple make a button?
- Replies: 27
- Views: 11085
How do you simple make a button?
I DID look at other code, but its always way too overcomplicated(i think?)
whats the simplest way?
whats the simplest way?