Search found 818 matches

by veethree
Fri Nov 23, 2018 10:27 pm
Forum: Support and Development
Topic: Quit instead of "No Game"
Replies: 4
Views: 2004

Re: Quit instead of "No Game"

I don't think that's a love.run thing. I'm talking out of my ass, But i'd guess the "no game" screen is a .löve file or something like that that löve loads if you run it without a game. If that's the case you'd probably have to modify the löve source for it to quit.
by veethree
Fri Nov 16, 2018 10:27 pm
Forum: Support and Development
Topic: Creatin an adventure/rpg game.
Replies: 14
Views: 4491

Re: Creatin an adventure/rpg game.

how much time do you save by omitting the g's at the end of words
by veethree
Mon Nov 12, 2018 5:38 am
Forum: Support and Development
Topic: Trouble With Tables [SOLVED]
Replies: 5
Views: 2100

Re: Trouble With Tables

You need to define A as a table inside Z.

Code: Select all

Z  = {A = {B = 3}}
by veethree
Thu Nov 08, 2018 5:53 pm
Forum: General
Topic: Code Doodles!
Replies: 157
Views: 110491

Re: Code Doodles!

Wrote a function that extracts colors from an image. It does this in a very naive way so it only works good sometimes. 1541699318.png 1541699312.png 1541699302.png function love.load() http = require("socket.http") s = "" love.window.setMode(640, 480) love.graphics.setLineStyle("rough") local img = ...
by veethree
Sat Nov 03, 2018 8:22 pm
Forum: Support and Development
Topic: Why are these variables not increasing [SOLVED]
Replies: 3
Views: 1813

Re: Why are these variables not increasing

Could have just put the code in the post like io.stdout:setvbuf("no") function love.load() x = 42 z = 42 y = {x,z} end function love.update() for i,v in ipairs(y) do y[i] = y[i] + 2 end print(x,z) end What's happening there is, instead of putting the x and z variables into the y table, You're puttin...
by veethree
Sat Nov 03, 2018 7:31 am
Forum: Support and Development
Topic: [SOLVED] Problem with shaders (especially with texture_coords)
Replies: 13
Views: 4720

Re: Problem with shaders (especially with texture_coords)

To apply shaders to circles, lines, rectangles etc. you can to draw them to a canvas, then apply the shader to the canvas.
by veethree
Fri Nov 02, 2018 10:47 pm
Forum: Support and Development
Topic: My game runs fine on my computer, but...
Replies: 5
Views: 2567

Re: My game runs fine on my computer, but...

It seems to run fine on my computer (mid 2012 macbook pro).

Any chance your moms gpu doesn't support canvases/framebuffers?
by veethree
Thu Nov 01, 2018 10:30 pm
Forum: Support and Development
Topic: Trying to implement a menu system/pause screen
Replies: 3
Views: 1867

Re: Trying to implement a menu system/pause screen

Code: Select all

paused = false

if paused then
  --All the game updating shit goes here
end
Then use the same paused boolean to determine if the box should appear. There's plenty of GUI libraries available for buttons and such. Or you can make your own.