python pygame drag and drop
import pygame pygame.init() screen = pygame.display.set_mode((800, 300)) clock = pygame.time.Clock() label = pygame.Surface((100, 50)) label.fill((255, 255, 255)) pygame.draw.rect(label, (0, 0, 0), (0, 0, 100, 50), 2) pygame.draw.line(label, (0, 0, 0), (0, 25), (100, 25)) pygame.draw.line(label, (0, 0, 0), (50, 0), (50, 50)) label_rect = label.get_rect(center=(200, 150)) dragging = False has_quit = False while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() has_quit = True # quit() elif event.type == pygame.MOUSEBUTTONDOWN: if label_rect.collidepoint(event.pos): dragging = True elif event.type == pygame.MOUSEBUTTONUP: dragging = False elif event.type == pygame.MOUSEMOTION: if dragging: label_rect.center = event.pos if not has_quit: screen.fill((255, 255, 255)) screen.blit(label, label_rect) pygame.display.update() clock.tick(60)
4 notes
·
View notes
As a twitter/tumblr user since 2010-2011, I believe I have sufficient grounds to say that currently we as a community are living through the scariest, shittiest time yet. This post isn’t trying to fearmonger, no I’m not leaving tumblr until it literally keels over, but I suggest that we don’t put all our eggs in one basket.
If twitter/tumblr stay usable, great! In the worse scenario, you’d have kept posting on a new platform and stayed ahead of the curve.
This post shares my personal experience with three potential “new”* fandom places, and is aimed to help fellow content creators. I’m an artist fully depending on internet to survive, my reasoning may not apply to you if you’re a hobbyist. Do your own research, it’s always healthy.
* Pillowfort and mastodon have been around for 5+ years, bluesky is ~2 years old.
Discovering new people to follow kinda sucks on all three platforms, twitter and tumblr are eons ahead, but, given the recent chaos and uncertainty, I’m willing to be patient, keep posting on those, and feel safer than I would’ve otherwise been. More baskets good, one basket bad.
All three have poor visual customization, don’t expect custom tumblr themes.
This list starts with the least popular, but most human and easy to join, and what I personally trust the most. All three allow nsfw if labeled properly.
✦ Pillowfort is a barebones tumblr. Intuitive, cozy, but currently very, very small. Be patient with its clunkiness or lack of some features, it’s made by an AO3-like team. I’d personally love if the fandom crowd managed to redirect its attention to it instead of the sus bluesky.
Joining: is free, invite-only, but the waitlist is nearly instant.
Lurk around on their official tumblr: @/pillowfort-social
✦ Mastodon, for me personally, is impossible to explain directly. I’ll use several comparisons.
- Discord but all servers can interact. You’re still on a server curated by some human(s) that might tell you what you can and can’t post, BUT, if you don’t like that server’s policy, you can move to a new one while keeping your followers.
- Email, users A and B may be registered on different domains, still they can talk. It’s a weird comparison, but fediverse (please I’m not explaining THAT but it’s a good thing) in general looks like another email story: unlike big sites that come and go, it might stand the test of time.
- Someone compared mastodon’s structure to xiv’s dc and servers, if you look at its domain names that way, it might be easier to understand.
Depending on user, mastodon may feel gatekeepy/snowflakey. I haven’t spent enough time on there to form a proper opinion yet, but a warning’s due.
An actually good and hopeful thing about mastodon AND tumblr: the two might start interacting in future. Ever lamented that your fav asian artists don’t use tumblr? If they use misskey, or any other place on the fediverse, it might be possible to follow them directly from tumblr in future, and vice versa.
Joining: is free, however some servers close for new members sometimes, and have human moderators reviewing your request.
✦ Bluesky is a twitter without Musk: today’s average internet user reads this, drops everything and already looks to register there. It’s still sus, but people flock to it like crazy. Most likely to become the next big fandom place in my eyes, even if I’m not happy about that.
I personally have no good feelings about bluesky. Same as twitter, which I hated even before the 2018 tumblr exodus, yet the crowd decided to make it The New Fandom Place, and, grudgingly, I had to give up and also join them in 2022. During the year I haven’t stopped despising twitter, yet, I can’t deny that it helped me survive. I estimate half of my patrons, and, hell, even tumblr audience, comes from twitter. So, if bluesky ends up being the next hot shit, I’ll have to keep up because internet pays for my living.
Joining: is free but hell, invite-only, the waitlist is a lie, your best chance to join is a direct invite.
This’s all I’ve got to say for now. If you have a correction or an addition, replies/reblogs are welcome!
Screenshots of the current interfaces under the cut, you may spy on my profiles o/
Pillowfort
Mastodon.art
Bluesky
1K notes
·
View notes
it's entirely possible childe and diluc have met in canon. childe joined the fatui real early and diluc was wandering around having his revenge arc until maybe a year ago. childe wasn't involved with delusion production afaik but diluc's notoriety among the fatui would have made him an attractive target for childe. if they were in the same area, they both would have gone after each other's throats. given that childe has both a vision and a delusion, AND his fun demon form, and diluc was running around visionless, childe would have either overpowered him… or made it an even fight by promising not to use his vision.
also, diluc's revenge arc lasted around three years, so they could have run into each other more than once and childe would have been eccatic about it each time. diluc would start getting very, very tired of childe's blood knight antics but maybe start to think of him as insane in a predictable, almost safe way.
fast forward four years and childe shows up in mondstadt on official fatui business. diluc sees childe before childe sees him and he knows it's not worth it trying to fight childe, because childe gets off on it and also a monster (metaphorically but also literally). so he decides to avoid being seen himself and spends a lot of time hiding either at the dawn winery or in the back at the bar. (tho he might do some espionage as the darknight hero, but that's a separate thought.)
at some point, diluc screws up. childe spots him, recognizes him on sight, spot his pyro vision, and becomes immediately I N S U F F E R A B L E. this guy who was nearly a match for him while visionless now has an upgrade and childe very very badly wants to test it out.
childe grins and says, "Wow, fancy meeting you here! It's been so long. I was afraid you'd gotten yourself killed from exposure!" and pulls out a weapon.
diluc scowls and says, "I'm not fighting you in the middle of town you fucking maniac."
childe amicably doesn't rush to attack but doesn't also doesn't put down his weapon. "So, you'll fight me outside of town?"
anyway imagining the local fatui and the mond towns folk observing this interaction in broad daylight and then gossip spreading like wildfire (and kaeya, jean, and lisa hearing about it) gives me life
26 notes
·
View notes
I'm on a bit of a PinocchioP kick again and I've neglected to update on like, any PinocchioP stuff that has happened the past month really, it's not like nothing has happened! News was just slow after the release of META and the runup to the MIMIC one man live, but a few things have happened since then! So here's a lil post to go over them!
PinocchioP released a new song! His first new release since the release of META!
It's about loving the ordinary in a world run on extremes and about the lack of sincerity in modern society and how it's Bad. It's really good and super catchy!
PinocchioP is participating in YouTube Music Weekend next Sunday! (27/08)! The stream preview is already up on PinocchioP's channel so you can check what time it starts in your time zone there! According to the description of the preview it's going to consist of highlight's from his recent MIMIC live show :3
A new keychain design was released at the Magical Mirai Osaka Creators Market! This one depicts a Hatsune Miku Aimaina, it's super cute! Here's to hoping it gets released online for people overseas eventually aha ^^;
PinocchioP's icon for some of his socials has changed! The eyes now have circles instead of being blank, the tears have been changed to match with the other splashes of colour, and the line thickness has been changed at several points
New:
Old:
A more personal update: I've kind of hit a wall with the Douchite-chan informative post ^^; I found out they were first drawn on a stream PinocchioP did and It must of been on NicoNico or somewhere else because the first time Douchite-chan was drawn was back in 2011, before PinocchioP joined YouTube in 2013, I have no idea how NicoNico works or if there'd even be archives of these streams, I'm looking into it but there's where I've been for a bit now ;-;
17 notes
·
View notes