Search found 873 matches

by veethree
Tue Sep 21, 2021 11:30 am
Forum: Libraries and Tools
Topic: Spatial.lua - A minimal spatial database.
Replies: 2
Views: 6764

Spatial.lua - A minimal spatial database.

Spatial.lua is a minimal spatial database library. Proper documentation on Github as usual. Basic usage: Load it spatial = require("spatial") Make a database data = spatial.new() The new function can optionally take a cell size argument. It defaults to 64 data = spatial.new(64) Add items t...
by veethree
Thu Sep 16, 2021 12:35 am
Forum: Libraries and Tools
Topic: exString - Various string functions
Replies: 1
Views: 6177

exString - Various string functions

Hi. Lately i've been turning various functions that i keep writing from scratch when i need them into libraries. This is one of them. exString is a collection of string related functions. It's more properly documented on github , But here are some basics. Import it: exString = require("exString...
by veethree
Mon Sep 13, 2021 7:18 am
Forum: Libraries and Tools
Topic: Smoof.lua - Move things smoothly!
Replies: 6
Views: 6320

Re: Smoof.lua - Move things smoothly!

yetneverdone wrote: Mon Sep 13, 2021 3:46 am Amazing! Just curious, how does this compare to Flux?
Well flux is pretty much better in every way. And so is tween. There is no reason why one should use smoof instead of tween or flux. :)
by veethree
Sun Sep 12, 2021 8:33 pm
Forum: Libraries and Tools
Topic: Smoof.lua - Move things smoothly!
Replies: 6
Views: 6320

Re: Smoof.lua - Move things smoothly!

Good but the speed depends on the frame rate. https://www.rorydriscoll.com/2016/03/07/frame-rate-independent-damping-using-lerp/ Well darn. I thought multiplying by dt had me covered. Thanks for pointing this out, I'll look into fixing it! EDIT: I've fixed it. It's now framerate independent. Thanks...
by veethree
Sun Sep 12, 2021 1:01 pm
Forum: Libraries and Tools
Topic: Smoof.lua - Move things smoothly!
Replies: 6
Views: 6320

Smoof.lua - Move things smoothly!

Hi. I've made a thing. Smoof.lua is this lovely function wrapped up in a library: value = value + (target - value) * smoothing It's more properly documented on Github , But here's the basics. Load it smoof = require("smoof.lua") Update it smoof:update(dt) Have some type of table containing...
by veethree
Mon Jun 01, 2020 11:38 pm
Forum: General
Topic: Code Doodles!
Replies: 197
Views: 276889

Re: Code Doodles!

I've been making music for a long time, And every digital audio workstation i've used has a nifty "tap bpm" function. I was curious how that sort of thing works so i made one in löve. The whole code is in a single file, But i wanted to get all fancy with a custom font and a sound effect. T...
by veethree
Sat May 23, 2020 11:20 pm
Forum: Games and Creations
Topic: DoodleBox (Code doodle IDE/framework made in löve)
Replies: 0
Views: 10195

DoodleBox (Code doodle IDE/framework made in löve)

Hi! I made something that i think is kinda cool. I don't really know what to call it, Maybe a mini IDE. It's a tool that lets you write and run lua/löve code in the same window. As the name suggests it's mainly intended for code doodle type projects. It's composed of 2 parts, A console and a code ed...
by veethree
Fri May 15, 2020 12:23 am
Forum: Games and Creations
Topic: Cactus Game 2
Replies: 6
Views: 12150

Re: Cactus Game 2

Small update. Mostly bugfixes Fixed the weird line issue (Thanks sphyrth :)) Fixed the audio clicking issue when pressing the back button Tweaked entity spawning to make longer games more likely Added the "extra points for clearing enemies while tripping" mechanic the tutorial was lying ab...
by veethree
Mon May 11, 2020 10:53 pm
Forum: Games and Creations
Topic: Cactus Game 2
Replies: 6
Views: 12150

Re: Cactus Game 2

Thanks for checking it out. I get those lines on the sun/moon sometimes, I believe it's caused by the fact i stupidly didn't put any padding on the sprite sheets, That's on my to do list.
by veethree
Sat May 09, 2020 1:08 pm
Forum: Games and Creations
Topic: Cactus Game 2
Replies: 6
Views: 12150

Cactus Game 2

WARNING: This game contains Strong language, Immature and crude humor, And a sprinkle of drug references, If you're not into that you should skip this one :) Hi. I've been working on a sequel to Cactus Game . A really stupid infinite runner that totally rips off that game you can play in Google Chr...