home.social

#scrappyfiddles — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #scrappyfiddles, aggregated by home.social.

fetched live
  1. CW: gamedev thread

    (oops broke my thread, fixing here! i forgot to make the last post public. deleted it and replacing it with this one.)

    reminder that all art is placeholder! be nice :)

    implemented the health bars on the encounter screen.

    it was straightforward with the
    TextureProgressBar node.

    when the encounter starts, swing timers start based on weapon attack speed. damage is only based on weapon damage but eventually i will calculate it based on stats.

    not exactly sure how those calculations will look, but i think it's something i just need to build and iterate on.

    #godot #gameDev #scrappyFiddles

  2. i have been meaning to open source this for awhile and why not today.

    https://codeberg.org/CobyPear/up-down

    i wrote a little bit about the coturn portion of things
    here but i never got back to this so i figured it is time to share it.

    i used it to successfully collaborate with a friend across the country and we sent each other .wav files back and forth and pasted them together into an album.

    we did test the live jam room and it worked (even via mobile), however i was never able to do a live jam session over it due to schedule constraints but lmk if you make that happen.

    if you have questions ask them here or open an issue. no promises :)

    tbh not sure it would still work today out of the box, but it should! it uses old versions of things of course.

    #oss #opensource #coturn #scrappyfiddles #sveltekit

  3. CW: gamedev thread

    you thought my code was bad check out this little goblin i drew lmao ​:neocat_laugh_sweat:​

    if i ever get to the point i need good art i will certainly be paying someone heh.

    #scrappyfiddles #gamedev

  4. CW: gamedev thread

    you thought my code was bad check out this little goblin i drew lmao ​:neocat_laugh_sweat:​

    if i ever get to the point i need good art i will certainly be paying someone heh.

    #scrappyfiddles #gamedev

  5. CW: gamedev thread

    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_coords

    #scrappyfiddles

  6. CW: gamedev thread

    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_coords

    #scrappyfiddles

  7. 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: app.meemoo.org/#gist/e8adf587c

    #Meemoo #scrappyFiddles

  8. 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: app.meemoo.org/#gist/e8adf587c

    #Meemoo #scrappyFiddles

  9. More scrappy UI sketching in @tldraw. Paring down a future widget to the most direct path from where we are now. The question: how to add font rendering options to a font parameter itself.

    #scrappyFiddles #CuttleXYZ

  10. More scrappy UI sketching in @tldraw. Paring down a future widget to the most direct path from where we are now. The question: how to add font rendering options to a font parameter itself.

    #scrappyFiddles #CuttleXYZ

  11. Knot thread's scrappy conclusion, night 3 of 3.

    When I left the thread last night, I had some piles of rope that were sorting themselves knottily.

    1. With butt stroke cap, it still looks like a pile of ribbons. The overlapping paths mask out lower ones, which is good for pen plotting or laser scoring.
    2. With "no cap," a custom way to flatten and outline a stroke but only keep the parallel parts. Now it's a knot.
    3. Stacking those edge strokes.
    4. Dashing them.

    #scrappyFiddles #CuttleXYZ

  12. Knot thread's scrappy conclusion, night 3 of 3.

    When I left the thread last night, I had some piles of rope that were sorting themselves knottily.

    1. With butt stroke cap, it still looks like a pile of ribbons. The overlapping paths mask out lower ones, which is good for pen plotting or laser scoring.
    2. With "no cap," a custom way to flatten and outline a stroke but only keep the parallel parts. Now it's a knot.
    3. Stacking those edge strokes.
    4. Dashing them.

    #scrappyFiddles #CuttleXYZ

  13. @maphew a... scrappy mascot or icon? 🎻
    If we had a map, it could be "Scrappy Fiddleton" ... do we need a flag too?

    #scrappyFiddles #TheLilypad

  14. @maphew a... scrappy mascot or icon? 🎻
    If we had a map, it could be "Scrappy Fiddleton" ... do we need a flag too?

    #scrappyFiddles #TheLilypad

  15. Watching a recording of @TodePond talk at Heart of Clojure has inspired me to share more work. I've started recording solutions to the Project Euler puzzles solving them in #Clojure.

    If you're interested you can check these out at peertube.nz/c/puzzles_and_pare I'm going to try to post a couple a week.

    Lo-fi. 1 take. Bad audio. YMMV. #scrappyfiddles

  16. Watching a recording of @TodePond talk at Heart of Clojure has inspired me to share more work. I've started recording solutions to the Project Euler puzzles solving them in #Clojure.

    If you're interested you can check these out at peertube.nz/c/puzzles_and_pare I'm going to try to post a couple a week.

    Lo-fi. 1 take. Bad audio. YMMV. #scrappyfiddles

  17. Alright, May Theme is Sound!

    Doesn't sound or look so great yet, but the month is young! Here I try out different ... Scales?

    Gotta find a "Music Theory for Dummies" or so in the School Library...

    #creativecoding #sound #scrappyfiddles

  18. Alright, May Theme is Sound!

    Doesn't sound or look so great yet, but the month is young! Here I try out different ... Scales?

    Gotta find a "Music Theory for Dummies" or so in the School Library...

    #creativecoding #sound #scrappyfiddles

  19. @TodePond @tldraw

    We can occupy #ScrappyFiddles.

    This @steveruizok -inspired thread (hey!) was faux-scrappy, composed and shared after I'd figured it out.

    xoxo.zone/@forresto/1108087113

  20. @TodePond @tldraw

    We can occupy #ScrappyFiddles.

    This @steveruizok -inspired thread (hey!) was faux-scrappy, composed and shared after I'd figured it out.

    xoxo.zone/@forresto/1108087113

  21. I've been working on a fixing our dialog for exporting multiple files at once.

    Found a TLDraw screenshot from the November discussion.

    #CuttleXYZ #ScrappyFiddles

  22. I've been working on a fixing our dialog for exporting multiple files at once.

    Found a TLDraw screenshot from the November discussion.

    #CuttleXYZ #ScrappyFiddles