129
me and rule (lemmy.blahaj.zone)
submitted 1 year ago by Anangrierterrarian to c/196
top 17 comments
sorted by: hot top controversial new old
[-] I_like_cats@lemmy.one 21 points 1 year ago

Me and you, because I'm unlovable too <3

[-] Anangrierterrarian 11 points 1 year ago

nah no way youre capping hard

[-] AVincentInSpace@pawb.social 9 points 1 year ago* (last edited 1 year ago)

absolutely not. i don't think anyone on earth is unlovable.

except maybe bigots. and last i checked they get girlfriends just fine. now get your fine italian ass out there and let ppl love you

(ppl is me) (i am ppl) (let me love you)

[-] Anangrierterrarian 7 points 1 year ago* (last edited 1 year ago)

feel free to love me and my semi random loredumps then

[-] AVincentInSpace@pawb.social 1 points 1 year ago

anyway i heard you were into programming. i am also into programming. let's be friends!

what's your latest project?

[-] Anangrierterrarian 2 points 1 year ago* (last edited 1 year ago)

whi knew that making friends would be as easy as stating what you like to do lol. Sure why not.

my latest (and only)(currently on hold cuz i need to get better st pixel art) project is a simple topdown shooter made in godot.

Its my "only" project because i have a severe case of "cantfocusforshit" and "extremelyimpulsivedecisionmaking". it would be like my 8th counting everything that didnt make it past the "sketchs in my schoolbooks" stage of ideas (its the only stage of ideas).

im still very new to this programming thing but im getting the hang of it.

Well im also making a sol badguy mod for your only move is hustle (to get good at pixel art)but that doesnt really count.

Sorry if this is a paragraph and a half, i tend to ramble a bit. Anyway yours?

[-] AVincentInSpace@pawb.social 2 points 1 year ago* (last edited 1 year ago)

Hmmm... can't focus for shit, even on things you want to do... can't finish one project before getting distracted by the next one... apologizing for rambling after writing barely a paragraph... man, you sound like me five years ago, and like dozens of people I've met since then. I'm not here to be an armchair MD, but if you don't already have an ADHD diagnosis, I'd highly recommend seeking one. The meds make a HUGE difference in your ability to get things done.

I can definitely relate to the dozens upon dozens of projects never making it out of my school notebooks. At least they used to. Things got a lot better on that front after I did neurofeedback therapy. That's definitely not to say I'm now able to finish one project before impulsively starting another one, but they do get at least to the halfway point :P

Anyway, my current project is a Discord bot for browsing e621. "But Vincent," I hear you say, "there are hundreds of those already! What makes yours different?" Glad you asked. Instead of using the e621 API to do searches, it downloads a database dump of every post on the site and runs the searches locally. This has a number of very cool implications, such as not being subject to the API ratelimit and working even when e621.net is down, but more importantly, it means it can support search features that the main site doesn't, including (but by no means limited to!) searching for posts with one of these two tags but not both. It's just gotten to the public beta phase, so if furry art is your thing, definitely hit me up.

Anyway, those projects sound cool! Definitely hit me up if you get to the point where you need a playtester. But I wanna tell you right now as someone who's dealt with ADHD guilt for longer than I'd care to admit, there is no shame in not finishing a project! Even if nothing ever comes of it and you never show what you made to a single other living soul, at minimum, you gained skills you didn't have when you went in (even if it doesn't really feel like it) that you can apply on your next project. And don't fret if it feels like you can't finish anything. Executive function doesn't come naturally to you and me like it does to most people, but I promise you, it will get better with practice!

Also meds. The ADHD meds help a lot. Again, if you don't have a diagnosis, get on that. In the meantime, I'd also recommend you check out the YouTube channel How To ADHD and see if anything she talks about sounds familiar.

(I'm on mobile so sorry if this is a bit disorganized)

[-] Anangrierterrarian 2 points 1 year ago

oh wow, ADHD would explain quite a bit. Unfortunately i wont be able to get a diagnosis for some time, as my mum thinks that ADHD is "just an excuse for not working hard enough". Dw i dont share her view at all.

A discord bot eh? Thats so cool. I've tried to make one for a friends server im in with funny little functions such as name randomizer but couldnt get the python plugins to work. Might try it again on my new pc after i finish both of my current projects. Im not versed in how e6 API works (or any API, at all) but that seems like a more complicated way to do things. I guess you need to for those extra funcionalities.

Well thats a lot of excitment for not even explaining how i think its going to work lol. Something that always pissed me off is that the mouse position is used just for aiming, while the scrool wheel is used only for switching weapons (really weird thing that pissed me off) So what if i combined the two? (Somehow) ive made a script that checks the distance from the player to the mouse and compares it to 2 values. If the mouse/player distance is less than the smaller value, then it the game chooses a close range weapon, if its in between the 2 it chooses the mid range weapon and if its greater than the bigger value it chooses a long range weapon. This way you have to dance around the screen with your mouse intead of only aiming at the edges of the screen for greater precision. Dunno if it'll be fun tho.

As for the sol badguy mod, the bulk of it is the sprites, right now im halfway done with them, im missing the specials and normal aireals. Most of the coding was done by the programmer of the game himself, who left us with just a couple of checkboxes to determine properties of moves and anything aside from that needs to be coded.

I will definetly keep that in mind. Dont have the time to watch her right now, but i will.

(its not disorganized dw)

[-] AVincentInSpace@pawb.social 2 points 1 year ago

Oh my God, I hate mental illness deniers. I sometimes wonder -- do they tell people with asthma to "just breathe"? So sorry that happened to you. Hope you can get out from her making her medical decisions soon.

Anyway, yeah, the database search was definitely a more complicated way to do this! This is actually my second e621 bot for Discord -- my first one was written in Python and used the traditional API approach. After Discord added slash commands and deprecated the old message based command system, and Discordpy didn't add support for making slash commands for like a year, and when they did it was buggy and it took a whole day for slash commands I added/changed to show up in Discord, plus I ended up having to rewrite/rearchitect most of my code anyway to accommodate things that one command system could do that the other couldn't... I eventually decided it wasn't worth the effort to continue maintaining it, so I put the project on hold and decided if I was going to do this, I was going to do it right. Nothing came of it for a few years until I discovered the database export section on e621.net, whipped up a quick script in Rust to search through it with my fancy pants search features, saw how well that worked and how fun it was to use, and thought "hey, I should turn this into a Discord bot!" It took another While(tm) for me to find the time and motivation, but I did. I ended up rewriting my previous bot completely from scratch in Rust, just like all the memes say. It was a lot more fun than it sounds. (Side note, the Rust programming language is fantastic. It's a bit hard to learn, but the developer experience is second to none and the performance really is as good as they say. I could gush for half an hour.)

Doing the searches using the database dump was a lot harder than just using the API, for sure, but I'm super glad I did. I learned a ton about high performance code (I spent a few days thinking of ways to optimize the search, and by the end, using a modified linear search and a library that adds parallel map/reduce similar to Java's Streams, I was able to search through the entire database of ~4 million posts, averaging ~50 tags each, in one fifteenth of a second across all cores of my laptop (6900HX) -- try that in Java!) and the end product is so much better than the original that I don't see myself going back. Just as soon as Rust gets a proper GUI library I'm going to turn it into a standalone client. Or maybe a webapp.

Do hit me up though if you need any help with Discordpy or py-cord. Admittedly I haven't worked with those particular libraries in a while, but I still might be of help -- I do know a fair bit of Python (it was my language of choice for 8 years before I started learning Rust), and I'm extremely familiar with the Discord API. Also, if Discordpy's cog system works anything like how I remember (and last I checked, it did, even after the slash command rework), I'll probably be able to help with the plugin issue you were having.

As for automatically selecting a weapon based on the distance from the mouse cursor to the player character, I think that's a very cool system! It feels a bit risky though; it could work well if done right, but would be a bit counterintuitive and could easily lead to picking a weapon the player didn't expect/didn't want if an enemy was just on the edge of the weapon switch boundary. I think putting faint concentric circles around the player showing the boundaries, or having the mouse cursor change appearance based on which weapon was auto-selected, to let the player know what's going to happen when they press Fire, would give a better sense of control. If you're already planning on having the player sprite change based on what weapon is out I'd recommend making the cursor change too. Having the same information in multiple places so you don't have to move your eyes as much could really help (at least to me -- this is your game, after all!). I would also (if you can think of a graceful way to do it) add a way to override the auto selection so you can say "I don't care how close that horde of zombies is, I want to launch a grenade at them." Here are a few ways I just now thought of that you could potentially do that, neither of which are really ideal (feel free to contribute your own):

  • Only auto switch one of the mouse buttons, and keep mouse2 always set to the same projectile
  • Make the mouse wheel or number keys or somesuch switch weapons but bind mouse3 to be "return to auto switch"

If it's an auto-fire type game, the system you described could work well as is, but I'd definitely add different fire sounds/bullet colors to the three weapons if you haven't already.

[-] Anangrierterrarian 3 points 1 year ago

well what can i do? gotta deal with her for at least 2 more years. Thats soon(tee emm) enough.

Mhm rust interesting. Ive heard a lot of good things about it but never decided to switch from python to it because it sounded a lot harder than py. Might be worth to learn it for silly little things. Wow that is a very fast search speed. You must be really good at programming!

Thanks for offering your help, but i think ill be fine on my own. I did end up getting it working last night(best way to spend my halloween night am i righte) so turns out maybe all i needed to do was wipe my old pc clean a third time. my old pc went through a whole lotta piracy and fucked installs. I think there were at least 3 asesprite failed installs before i figured out libresprite is literally the same but without the hastle of fucking with the command prompt lol.

Thank you! Yes i tought about literal edge cases, i havent implemented it yet but i was thinking about delaying for just a few frames the actual weapon switch, so an undesired weapon switch wouldnt happen as often. I had thought about changing the cursor to the corresponding weapon, but the idea of faint circle lines to show boundaries better would also work, if not better than the cursor idea. Maybe ill combine the 2? I dunno i feel like with both there would be too much clutter on screen. Maybe (if i figure out how) a settings toggle for either one, both or none would be the best choice. But then again like 6 or so people will actually see this completed when(if) i finish it.

Mhm those are some interesting ideas. I think ill do something with the mouse2 down the line, just havent thought what exactly. Maybe something like rechargable skills to give you the edge when you need it, but i feel like it would get too big and i never end up actually finishing it. The game is not autofire btw, reasons i dont really like vampire survivors and clones of it is exactly the autofire and just how little the player matters. The game practically plays itself after a bit and i dont really see the point in that. Makes me wonder why i spent so much time playing tower defense games lol.Oh also i figured out how the preload/load functions in godot work(not as in how the actually work in engine im not that good to reverse engieneer an entire engine) so i actually made the very basics for the game (incredible progress ik). Only thing missing before its somewhat playable is enemy AI but that will have to wait a good week.

Oh lastly i checked out how to ADHD's videos as i said i would and... yeah im starting to think i might actually have it. As i said tho wont get a real diagnosis until im out of this hellhole, and maybe out of italy completely too. God i hate this place.

[-] PipedLinkBot@feddit.rocks 1 points 1 year ago

Here is an alternative Piped link(s):

How To ADHD

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[-] AVincentInSpace@pawb.social 1 points 1 year ago

go away pipedvideo no one likes you

Invidious is better in every single way

[-] ThatWeirdGuy1001@lemmy.world 9 points 1 year ago

Me seeing a girl I'm very interested in before remembering I'm completely broken and incapable of having healthy relationships

[-] Anangrierterrarian 5 points 1 year ago

ok now it looks correct

[-] cupcakezealot 2 points 1 year ago

im in this picture and i don't like it

[-] bbpolterGAYst 1 points 1 year ago

so true bestie

๐Ÿ˜Ž

๐Ÿ˜Ž ๐Ÿค

๐Ÿฅน ๐Ÿ•ถ๏ธ ๐Ÿค

this post was submitted on 27 Oct 2023
129 points (100.0% liked)

196

16539 readers
2033 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS