Search found 403 matches
- Thu Jan 18, 2018 3:35 pm
- Forum: General
- Topic: Code Doodles!
- Replies: 197
- Views: 326771
Re: Code Doodles!
Hey veethree! I saw your doodle and thought it was pretty cool, so I decided to tweak it, by adding line world wrap and mouse click gravity - hope you don't mind! screen = { width = love.graphics.getWidth(), height = love.graphics.getHeight() } function love.load() t = "" love.graphics.set...
- Sun Sep 10, 2017 1:03 am
- Forum: General
- Topic: Code Doodles!
- Replies: 197
- Views: 326771
Re: Code Doodles!
Just quickly doodled a program that scans through a folder of pictures and selects the one that most closely matches a selected color. It's far from perfect but it works alright! (Outline is the currently selected color, square at bottom-right is the current picture's average color) https://love2d.o...
- Sat Apr 15, 2017 11:19 am
- Forum: Support and Development
- Topic: Smooth portal crossing?
- Replies: 4
- Views: 4714
Re: Smooth portal crossing?
You want to make sure that the player can go halfway into the portal before being teleported. That means that more than half of the player's size must have crossed the boundary, and this should apply to both portals. If you want a dynamic view, you'll probably want to use scissors and draw some thin...
- Thu Apr 06, 2017 5:13 am
- Forum: General
- Topic: Code Doodles!
- Replies: 197
- Views: 326771
Re: Code Doodles!
Long time since I last posted a doodle! function love.load() windowW, windowH = 800, 600 graphwidth = windowW-100 graphheight = windowH-100 maxval = 512 font = love.graphics.newFont(12) love.graphics.setFont(font) love.graphics.setBackgroundColor(205, 205, 205) points = {} end function love.update(d...
- Thu Feb 23, 2017 8:35 pm
- Forum: General
- Topic: wondering how to blend a gradient on top of an item, but nothing else
- Replies: 3
- Views: 4422
Re: wondering how to blend a gradient on top of an item, but nothing else
You can use a stencil. Copy the drawing of the bird parts to a stencil, then draw the gradient using that same stencil. love.graphics.stencil
EDIT: To use a stencil you'll need shaders, forgot to add that.
EDIT: To use a stencil you'll need shaders, forgot to add that.
- Sat Feb 11, 2017 11:41 pm
- Forum: Support and Development
- Topic: Forum Problems
- Replies: 46
- Views: 22714
Re: Forum Problems
What I did (in Chrome) was Ctrl+F5 and it worked just fine.
- Sat Feb 11, 2017 10:26 pm
- Forum: Support and Development
- Topic: [Solved] Issue with forums?
- Replies: 3
- Views: 4642
Re: Issue with forums?
Oh, it did work. Thanks a bunch
This thread may be locked/deleted now
This thread may be locked/deleted now
- Sat Feb 11, 2017 10:11 pm
- Forum: Support and Development
- Topic: [Solved] Issue with forums?
- Replies: 3
- Views: 4642
[Solved] Issue with forums?
I'm pretty sure I'm not the only one having this issue, and I'm pretty sure the admins/mods are aware and fixing, but if on the remote case you're not, it seems like whatever style update messed things up: https://love2d.org/imgmirrur/LUHeCvl.png https://love2d.org/imgmirrur/7vwhDYD.png I guess you ...
- Mon Feb 06, 2017 11:52 am
- Forum: Support and Development
- Topic: [solved]I cannot figure out any sort of physics at all.
- Replies: 17
- Views: 14220
Re: [solved]I cannot figure out any sort of physics at all.
Shameless self-promotion time: you can check my series of physics tutorials. They were made specifically for simple platforming games, so no complex anything. I'll admit, this tutorial has its flaws, but it still helps wrapping your head around physics, since I wrote it specifically when I too was a...
- Tue Jan 03, 2017 4:12 pm
- Forum: General
- Topic: Free Music / SFX Resource - Over 1900 Tracks
- Replies: 294
- Views: 266660
Re: Free Music Resource
Hey Eric. Big fan of your music here. Must say, your textures really do look pretty good, and the quality is great. However, I don't feel like the tileable textures look particularly good. I can see how it's hard to create tileable textures (having tried that myself), but I'm sure it's just a matter...