I made a thing!

1 readers
0 users here now

Did you make a thing that you are proud of and wanna show the comrades? Post it here!

The thing can be a dish that you cooked, a handicraft, a drawing, or anything really!

(If you want to post a picture or screenshot make sure first that there is nothing that could personally identify you in it!)

founded 2 years ago
MODERATORS
1
 
 

(Note: feel free to use the peertube instance, that would be cool ๐Ÿฅบ)

I made a Map game in Java. There is no gameplay though so you just kinda look at it go.

Each pixel is a province on zoom level 1, and its color depends on the map mode and if it is in bounds (inside the actual map and not above or below).

The map is randomly generated, and each province has its own height, temperature and moisture value. The color of the province is calculated using these values.

Also, the map loops horizontally seamlessly since the height, temperature and moisture values are taken from the surface of a cylinder (without the top and bottom surfaces) instead of just a rectangle.

On map generation states (I call them that instead of countries to future-proof for civil wars, since for example Taiwan is not its own country but a participant in the civil war of a country) are created one per land province, and they attempt to expand their borders by taking bordering land from one of their neighbours every fixed frame (they don't all do it every fixed frame, only a bunch that are randomly selected).

Mapmode 2 is the borders mapmode, provinces are colored using their state's color if they border a state that is not their holder.

Mapmode 3 just colors every land province to its holder's color.

I hope you find it interesting, it is really fun to make this kind of stuff! ๐Ÿ˜Š

2
 
 

Also is there a way to embed videos? Or at least an easy way to make gifs?

3
 
 

cross-posted from: https://lemmygrad.ml/post/548380

I got the idea from the comments of this post.

There is probably some stuff that I overlooked, if that's the case any bug reports are appreciated.

4
 
 

I often find attempting to read walls of text really exhausting, so I made this to see if giving the text little by little instead of all at once as a wall of text can make reading theory more accessible.

I would really appreciate if you told me if you find that format easier to read, thank you all.

5
 
 

I think the CSS turned out pretty good, what do you think?

Also Marx Bros (a Mario Bros but with Marx) is over there. It barely has stuff to do (basically you just jump around and that's it) but I think the movement feels good.

I will most likely upload other stuff that I deem worthy of being uploaded over time.

Hope you like the People's Website of Al-Andalus!

6
 
 

You le suck

7
 
 

cross-posted from: https://lemmygrad.ml/post/457579

I used my Go API bindings to make a reply bot that replies to comments with custom messages.

Github mirror: https://github.com/Arsen6331/lemmy-reply-bot

8
 
 

cross-posted from: https://lemmygrad.ml/post/455637

I've taken it upon myself to bring the ParentiBot we all know and love from the hellsite reddit to Lemmygrad.

Have you ever been in a situation where the Parenti quote applies? As quotable as Michael Parenti is, people pretty much always mean the same quote. There's no need to go searching for that quote anymore. Simply mention ParentiBot like this: @[email protected]; or use the phrase "Parenti quote" (casing and space between characters doesn't matter) in your comment or post.

I'm open to suggestions as to how the quote should be formatted. Currently the quote is in its entirety all in one block quote. As much as we tankies love our walls of text, I've had an admin express concern that having a bot posting walls of text in comment threads can lead to a worse thread reading experience for the threads the bot appears in, and I can see where they're coming from.

For the more technically inclined, I invite you to view the source code. It has a copyleft license, as all based software should.

Finally, to admins and moderators, feel free to reach out to me if you need help making a bot. The power of bots has been used for cringe purposes here before, like the mass downvoter, but I'll gladly help make based bots.

I figure this is an appropriate place to make this too in that the bot is a thing that I made.

9
 
 

Around 2 months ago I made some experiments with tilemaps on Godot 4 beta 2, but I noticed that framerates were really low even when literally nothing was happening.

Then I had an idea, "What if I had a blank texture and just drew the tiles on it?" which was easier said than done, but I finally achieved it last night!

I used shaders for this, which means that the hexagons are never pixelated no mater how much they are zoomed in and it's really fast.

And now you may ask: "What are you gonna use this for?" I have no idea, I never thought I would get this far! lol