more scrappy fiddles. playing around with some samples and sequencing.
more scrappy fiddles. playing around with some samples and sequencing.

Attached: 1 audio my ears are ringing, and this is... not polished at all. but it might contain fragments of music!
For #Kikai I bought a couple of assets in #itchio yesterday and I was a bit frustrated because they were not immediately usable since they came without spritesheet mappings and with a lot of space in between sprites. I tried to find a tool to help me quickly find the basic parameters (offset, padding and sprite size) as well as to be able to label the spritesheet partially or totally.
In the end I didn't find anything so I built a very quick tool for that. It's VERY basic and unpolished but it may work for you :)
Let me know if you'd like any extra features, contributions welcome as well!
Current features:
* Import spritesheet from local files
* Set padding, offset and sprite size parameters interactively and see how it fits your spritesheet in real time
* Label individual sprites
* Export as a JSON
* Reimport the JSON to continue where you left off (so you can incrementally add more labels)
You can find it here: https://sei.dziban.net/
Normalize #scrappyfiddles !
What's the best way to share audio online? I have some #scrappyfiddles of my own to share.
For the past week I've been starting my day multi-tracking the Art of Fugue, one Contrapunctus a day, on the EWI. Could be fun to share.
TextureProgressBar node.
βin the interest of sharing some scrappy fiddles, here is the code that took me way too long to write for getting items to flow into the grid properly, Diablo style. items can be 1x1, 1x2, 2x2, or 2x4 and should flow into the first available slot when the item is picked up. grid is a dictionary of rows with a bool for each slot indicating if it is empty or full.
i was trying to follow https://www.youtube.com/watch?v=usWuBrrh5lQj which was kind of helpful but i had already built a bunch of stuff and the way they are managing the inventory didn't align with what i had, so i used it as a guide to get my own system working.
Certainly it is not optimal or pretty but it is working :)
func check_for_empty(size: Vector2):
var empty_coords = {}
var x = 0
var y = 0
var coords_is_not_proper_size = true
while(empty_coords.size() < size.x):
while(coords_is_not_proper_size):
# if size is greater than remaining rows
# and we do not have coords already,
# move to the next column
if size.y > ROWS - y and !empty_coords.has(x):
x += 1
y = 0
# is empty
elif !grid[x][y]:
# add the coord to the list at { x: [y] }
if !empty_coords.has(x):
empty_coords[x] = []
empty_coords[x].append(y)
# check if coords match the size of y
# if they do, we are done with this column
if empty_coords[x].size() == size.y:
coords_is_not_proper_size = false
# move to the next row
else:
y += 1
else:
y += 1
# go to the next column and reset the rows - will exit the outer loop if x > size.x
x += 1
y = 0
# re-enter the inner loop our items width has not been fully checked
if empty_coords.size() < size.x:
coords_is_not_proper_size = true
#TODO: case where there is no space
return empty_coordsoof, that was a long oneimage assets: https://imgur.com/a/GMzBdJVscripts:ItemDB: https://pastebin.com/YD9Xcx10Inventory: https://pastebin.com/44tY0QCQGridBac...
There are not many apps that use multiple cameras. Adding a camera selector to meemoo.org... first code push in two years.
Inside you are two wolves, and a "transform" component with composite blend mode. πΊβοΈ
Source: https://app.meemoo.org/#gist/e8adf587ca597b284c68cc2a3684d72f