Search found 198 matches

by rokit boy
Tue Oct 30, 2012 9:05 pm
Forum: Support and Development
Topic: a way to overwrite a color
Replies: 12
Views: 4031

Re: a way to overwrite a color

Can you describe what effect you're trying to achieve? We might be able to better understand it. Are you trying to do something like an x-ray view? function love.draw() love.graphics.setColor(255,0,0) -- set the drawing color to red love.graphics.rectangle("fill",100,100,100,100) -- draw ...
by rokit boy
Tue Oct 30, 2012 7:11 pm
Forum: Libraries and Tools
Topic: L3D - The Starts of a 3D Lib
Replies: 53
Views: 34820

Re: L3D - The Starts of a 3D Lib

i love how my laptop is pure shit and the cubes from heaven keeps at 90fps, that is amazing
by rokit boy
Tue Oct 30, 2012 6:34 pm
Forum: General
Topic: Using either a Nokia XpressMusic 5310 or a PSVita as mic
Replies: 5
Views: 1885

Re: Using either a Nokia XpressMusic 5310 or a PSVita as mic

laptops have built in mics, so if you have a laptop you can use it.
by rokit boy
Tue Oct 30, 2012 6:33 pm
Forum: Support and Development
Topic: a way to overwrite a color
Replies: 12
Views: 4031

Re: a way to overwrite a color

i think it's called masking, and i know it's possible with canvases but i don't support them.
by rokit boy
Tue Oct 30, 2012 5:32 pm
Forum: Support and Development
Topic: a way to overwrite a color
Replies: 12
Views: 4031

Re: a way to overwrite a color

What do you mean by "I have a black square"? Is it in LÖVE, or in a graphics editor? Is it an image or a rectangle drawn as a primitive? in love i draw a black square, then i draw another transparent square on top, i wanna be able to make it so it overwrites it which will make that space ...
by rokit boy
Tue Oct 30, 2012 5:00 pm
Forum: Support and Development
Topic: a way to overwrite a color
Replies: 12
Views: 4031

a way to overwrite a color

for example if i have a black square and i want to overwrite it with a transparent square i'll see whatever is behind that black square.
Is this possible?
by rokit boy
Tue Oct 30, 2012 4:55 pm
Forum: Support and Development
Topic: Collision, need help.
Replies: 8
Views: 4479

Re: Collision, need help.

No, because i need to check which side is touched, this is the extra bit: if CheckCollision(self.x-16,self.y-16,32,32,ax,ay,32,32) and rightcollide(self.x-16,self.y-16,32,32,ax,ay,32,32) == true and self.x < ax then rightcollision = true leftcollision = false --print("right") end if CheckC...
by rokit boy
Tue Oct 30, 2012 2:14 pm
Forum: Support and Development
Topic: Collision, need help.
Replies: 8
Views: 4479

Collision, need help.

Ok so I'm making collision in my game, here it is: function leftcollide(x1,y1,w1,h1,x2,y2,w2,h2) local i for i = 0, h1 - 1 do if y1 + i > y2 and y1 + i < y2 + h2 and x1 > x2 and x1 < x2 + w2 then return true end end return false end function rightcollide(x1,y1,w1,h1,x2,y2,w2,h2) local i for i = 0, h...
by rokit boy
Sat Oct 27, 2012 8:12 pm
Forum: Support and Development
Topic: Seeking comments regarding canvas syntax
Replies: 14
Views: 4566

Re: Seeking comments regarding canvas syntax

can someone add fake canvas? because i dont support them.
by rokit boy
Sat Oct 27, 2012 2:55 pm
Forum: Support and Development
Topic: REQUESTING HELP - Posting Rules
Replies: 40
Views: 546351

Re: REQUESTING HELP - Posting Rules

fasilkj wrote:Exactly what I want.
<redacted>
possible spam?