Search found 6 matches

by galoctopus
Thu Feb 04, 2016 4:45 am
Forum: Support and Development
Topic: Bright background image and black graphics
Replies: 7
Views: 2402

Re: Bright background image and black graphics

I still do have a black screen :( This is my code: love.graphics.setCanvas(canvas) love.graphics.clear() love.graphics.setColor(255,255,255) love.graphics.draw(galoctopus, 0, 0) love.graphics.setColor(0,0,0) love.graphics.rectangle('fill', paddle1X, paddle1Y, paddle1W, paddle1H) love.graphics.rectan...
by galoctopus
Thu Feb 04, 2016 4:18 am
Forum: Support and Development
Topic: Bright background image and black graphics
Replies: 7
Views: 2402

Bright background image and black graphics

Hello, so, my game has a very bright background image, and I basically want the love.graphics.rectangles that I'm doing to be black without making the screen go completely black. When I set those same rectangles to red, for eg, everything in the screen turns reddish. In my old pong game, I used a da...
by galoctopus
Tue Nov 03, 2015 12:09 pm
Forum: Support and Development
Topic: How to do a functional and simple fullscreen system?
Replies: 7
Views: 4767

Re: How to do a functional and simple fullscreen system?

I noticed today that despite the high framerate, the animations doesn't look as smooth as if they were in windowed mode. They kinda look a bit jumpy which I find a bit weird. :\
by galoctopus
Mon Nov 02, 2015 6:56 pm
Forum: Support and Development
Topic: How to do a functional and simple fullscreen system?
Replies: 7
Views: 4767

Re: How to do a functional and simple fullscreen system?

Does "local canvasW,canvasH = yourCanvasName:getDimensions()" set the canvas width and height? I can't find anything on the wiki about setting up width or height of canvases. Are screenW and screenH already defined variables of my display resolution like 1366x768? Does the 2nd line define ...
by galoctopus
Mon Nov 02, 2015 3:23 pm
Forum: Support and Development
Topic: How to do a functional and simple fullscreen system?
Replies: 7
Views: 4767

How to do a functional and simple fullscreen system?

How to properly do a functional and simple fullscreen system with 100% scaled graphics, scaling while maintaining aspect ratio (black borders) and full scale? On Game Maker this was a simple task to do. On HTML5 / JavaScript I know how to force my canvas through CSS to be both horizontally and verti...