Search found 767 matches

by veethree
Sun Dec 31, 2017 3:31 pm
Forum: General
Topic: Code Doodles!
Replies: 139
Views: 32804

Re: Code Doodles!

Made a thing. 1514734036.png (it moves) screen = { width = love.graphics.getWidth(), height = love.graphics.getHeight() } function love.load() t = "" love.graphics.setBackgroundColor(10, 10, 30) array = {} canvas = love.graphics.newCanvas() trail = love.graphics.newCanvas() time = 0 --Settings count...
by veethree
Mon Jul 24, 2017 9:46 pm
Forum: Support and Development
Topic: Gun Image, and while true dos?
Replies: 6
Views: 653

Re: Gun Image, and while true dos?

Post your code. Makes it significantly easier for us to help you. If you have a while true loop with love.timer.sleep() in it, I'd assume your game will be frozen until that loop stops. As for welding an image together, You can just draw the first image at a certain position, then calculate where th...
by veethree
Sun Jun 18, 2017 1:21 am
Forum: Support and Development
Topic: Shader problem on android.
Replies: 0
Views: 324

Shader problem on android.

Hello. I have 2 shaders in my game. I haven't noticed any issues on PC, But on android one of the shaders doesn't look right. And it appears to get worse the longer the game runs. Here's the shader in question: extern number time; extern number strength; extern vec2 screen; vec4 effect(vec4 color, I...
by veethree
Mon Jun 12, 2017 12:56 am
Forum: Games and Creations
Topic: Cactus game.
Replies: 37
Views: 5567

Re: Cactus game.

I wasn't gonna work on this any more, but then i did. Updated the OP. There's like a million changes and it works pretty well on mobile.
Cactus game.
by veethree
Mon Jun 05, 2017 8:06 pm
Forum: Games and Creations
Topic: Cactus game.
Replies: 37
Views: 5567

Cactus game.

Cactus game.
1497228619.png
1497228619.png (47 KiB) Viewed 1719 times


Available on itch.io


Cactus_game_1.0_src.love
Cactus game (1.0) 0.10.2
(4.9 MiB) Downloaded 85 times
by veethree
Mon Apr 24, 2017 10:13 pm
Forum: General
Topic: mouse position problem
Replies: 4
Views: 675

Re: mouse position problem

Try this love.graphics.print(love.mouse.getX()) love.mouse.getX is a function, You need to end it with (). oh ok, i tried it using a variable like mousepos = love.mouse.getX() and print the mousepos.. it works, but the number wont change when i move the mouse... You're probably calling "mousepos = ...
by veethree
Mon Apr 24, 2017 5:42 am
Forum: General
Topic: mouse position problem
Replies: 4
Views: 675

Re: mouse position problem

Try this

Code: Select all

love.graphics.print(love.mouse.getX())
love.mouse.getX is a function, You need to end it with ().
by veethree
Tue Apr 11, 2017 10:01 pm
Forum: General
Topic: Code Doodles!
Replies: 139
Views: 32804

Re: Code Doodles!

I got inspired by rmcode's rain thing and made a slightly more elaborate version of it. rain.gif screen = { width = love.graphics.getWidth(), height = love.graphics.getHeight() } function love.load() --love setup love.graphics.setLineStyle("rough") love.filesystem.setIdentity("Rain") local _w, _h, _...
by veethree
Sun Feb 05, 2017 2:03 am
Forum: Support and Development
Topic: ParticleSystem and setColor
Replies: 3
Views: 448

Re: ParticleSystem and setColor

Set the color back to white before drawing the particle system.
by veethree
Mon Jan 30, 2017 9:12 pm
Forum: General
Topic: Hello, I am new and have a question about shadows
Replies: 5
Views: 883

Re: Hello, I am new and have a question about shadows

Material löve has a shadow module. You could look into that.