#like a straight reset
Explore tagged Tumblr posts
Text
RPGMaker 2003 - Making a breaking tile, and fun shenanigans
So
This was a fun one
My partner wants to make a puzzle where you step on breakable tiles. When you step off, the tile breaks immediately. When you stand on the tile for 2 seconds, the tile breaks under your feet, and you are sent back to the start of the puzzle.
An idea I could have coded in a few minutes in gamemaker because i am familiar with the engine, something pretty simple to do in Unity3D.
But we're dealing with RPGMaker 2003 and we are dealing with some Severe limitations.
The way the system ends up working is as follows:
On-Screen-Load event that runs once that sets two variables for each tile to record their X and Y position, and two switches for each tile (one for when the player steps on the tile and activates it and one for when the tile is breaking under the player's feet and triggers the reload event).
The tiles have their own code:
check if player is in the same X and Y position. If they are, activate the tile, and start a 2 second timer.
if the player is NOT in the same X and Y position, if the tile is active, the tile is deleted
if the player IS on the same X and Y position, AND the timer reaches 0, the tile breaks under the player's feet, and triggers a text box that reads "oh no!" and reloads the room.
the problem is that, upon reloading, we were having some trouble. The reloading did not reset all variables, as they are considered global, so we needed to re-run the on-screen-load event.
However, running it BEFORE moving the player made the code revert to the state where the player had just stepped on them; and trying to run it AFTER reloading the screen was impossible, as the code that was being ran was broken out of.
So, we were left with a mess of broken code that resulted in either infinite loops or on tiles that behaved like the player had stepped on them even though they were all the way at the start of the room.
I bug tested by creating some text boxes, one before resetting the room, and one after.
The one before resetting the room didn't trigger because the on-screen-load code was trying to run immediately. Removing it and going straight to the reload made the tiles act up.
What ended up fixing it?
The text box after the call to reload the room.
For some reason, the text box after the room reload triggered for a fraction of a second, just long enough that the variables reset but not long enough that the reload got messed up.
I hate that this is working, and I am pretty dang sure that it will not work on computers that work at different speeds.
But for now I need to go make dinner and to look away from the screens.
Rah!
I will add the code later for any RPGMaker2003 geniuses to look at
#game dev#rpgmaker 2003#coding#i hate hack solutions like this because it is going to break again#gotta find a better solution#like a straight reset
4 notes
Ā·
View notes
Text
Billy definitely thinks about random things during fights and decides the internet needs to know immediately
#billy batson#ACAB!Billy Batson#Billy batson says acab#dc captain marvel#dick grayson#nightwing#Jason todd#red hood#dc comics#justice league#The resulting chaos from redhood and marvel team ups stress everyone out#Batman: would you like to explain why hood left a demon head in the trunk of the Batmobile#Marvel: idk?? Heās from Gotham I thought yall were just like that#Or Billyās been spamming Jason for six hours straight#And Jason ācould hack the govt but wtf is TikTokā has no idea what the hell heās talking about#Billy: rizz is off the charts but vibes? Whack šš¾ ykwim???#Jason in tears seeing 800+ messages on his computer after patrol bc he still has a flip phone: yeah absolutely#Or Batmanās been visibly freaking out all day and he grabs marvel as soon as he gets to the watchtowers alarm system#Hal: wtf did you do he hasnāt been that pissed since I reset the watchtowers alarm system#Billy: Hood is fine š istg there was an issue with vampires three dimensions over and he wanted to come#Barry: oh god Iām gonna pretend I didnāt just hear you say vampires Hal are you hearing this shit??#Jason reading books from the 14th century: ā
yeah this is normal#Jason reading messages from a middle schooler: ā what fuckass cipher is this I hate everything
167 notes
Ā·
View notes
Text
The "average Jojo appears in 2 animated parts" factoid is actualy just a statistical error. The average Jojo appears in a little over 1 animated part. Jotaro Kujo, who is Araki's favourite little boy and has appeared in 5/6 animated parts, is an outlier adn should not have been counted
#jojos bizarre adventure#jjba#jojo#jotaro kujo#jojo no kimyou na bouken#hirohiko araki#he's in the end of battle tendancy#and the start of golden wind#and hes a main character in like 3 parts#the actual average is 1.4#joseph's also pulling it up by being in three parts#honestly thats probably why part 8 skips straight to josuke#we've seen enough of these two to tide us over for next universe reset#oh also i didn't count jonathan as being in part 3 because that pulls the maths out of co-ordination
254 notes
Ā·
View notes
Text
Why do I feel like based on the security reset card and the secret books Dream gave Techno in prison, that the Revival Books were literally just books titled Revival Book that said, ārevival bookā insideā¦.
#as far as like actual lore wise and burned in loreā¦ as far as the actual book it probably has stuff like rules in it since Dream talks abou#animals being one of the rules and the death book having rules so yeahā¦ but I donāt know that just ātā at the back of the reset book just#had me laughingā¦#staged duo#dreblr#dsmp#dsmpblr#dream smp#c!dream#prison arc#c!stagedduo#random thoughts#and see now Iām imaging them staring at a mostly empty book in that labā¦ huh no wonder then needed to do so many tests lol gotta make sure#this scuffed knowledge actually worksā¦#not me also imaging Dream one just straight up telling Quackity that the contents of the revival book are revival book and Q losing his shi#and dream just finding it so funny as Q hits him with the axe because he actually told the truth XD
57 notes
Ā·
View notes
Text
she's bald!
#my alastor still had a straight hair phase I just don't usually draw it#she cut it off eventually to reset#which for someone like alastor is a fucking nightmare lmao#but I think the damage from straightening it + hair-pulling meant it was better to cut if off before growing it out again#transfemme alastor#trichotillomania#hazbin hotel#hazbin hotel alastor#art#my art#doodles#trans alastor#fem!alastor
72 notes
Ā·
View notes
Text
For the sims 4 grim reaper daily items thing itās supposed to actually work right
#text#dumb stuff#tasks keep resetting were it looks like I never did them#so no progress can be made#and a second save file to try and do them again the event tasks are just straight up not appearing#well it was nice while it lasted happy Halloween
58 notes
Ā·
View notes
Text
The island princess is like the only time i've enjoyed a plotline resembling a love triangle.
Like you have 2 characters with feelings for one another, but bc of the circumstances, feel like they can't be together/dont deserve each other, and the person who one of them has been told they should want to be with and is also trapped by the narrative is their no. 1 supporter, bc they know two pining idiots when they see them.
like ugh that's literally the best part of the movie for me so i dislike when people try to just make the island princess about tika hate
#thank you mattel for not making luciana a bitch to ro and antonio. you reset my brain chemistry as a wee one#princess luciana#this blog may have a delancy url but it is a luciana stan account#also im very neutral on tika. like i wont actively hate her but im not gonna defend her either#barbie the island princess#barbie movies#i need this but make it very gay. bc outside of royalty idk how you could make it straight(see the tweet about the ballerina & emt book)
84 notes
Ā·
View notes
Text
Rebuilt the foundations for shutting the door today, added more speed to the door closure, and began introing shutting the door with me standing in different locations - this was tricky for him and needs more time
safe to say he's pretty excited about the whole process š
#keep moving him out of the carrier to reset the process#and ensure he's opting in#and actually comfortable with what happening#not just freezing/ stress#and he just bolts straight back like#HEY lady I want treats ASAP stop moving me out of here!!!!!!#newt#newt video#training#training video#carrier#carrier training
63 notes
Ā·
View notes
Text
ngl i am side eyeing iditarod officials a bit for them penalizing dallas seavey for not "properly gutting" the moose the he shot to protect his team. the rule about gutting downed animals does not define what "properly gutted" means. He gutted the moose and i myself would have also eschewed "properly" gutting a dead animal to ensure my dogs were okay (especially relevant knowing Faloo was critically injured, but is now home safe).
i understand the spirit of the gutting rule (saving meat for surrounding communities and in general low/no waste of resources), but it needs to be weighed against providing dog care which imo of this situation should absolutely take precedence.
#iditarod#sorry like....iditarod as an organization has a lot of eyes on them i know this intimately#but it's weird to penalize for having your dogs take precedence imo#like dallas did run further up the trail after gutting the moose and camped for a bit before proceeding to the checkpoint#likely to check each of his dogs in detail to assess potential injury#and to reset and water them to make it safely to the checkpoint after such an encounter#at least he's first into cripple but also allegedly ran 420 miles straight without rest himself? bruh#it just blows my mind that with all the criticisms from outside sources#that iditarod will penalize for this and say for the mushers that one year recently that sheltered their dogs against a storm#like i understand the 'why' of the rules'#but iditarod's greatest scrutiny is of dog care#so why make mushers providing proper care to dogs take penalties#make it make sense
46 notes
Ā·
View notes
Text
I downloaded IbisPaint so I could animate things at some point. I've never animated before and decided to make an animation of a guy blinking one eye at a time and when I'd realised it had gotten away from me I couldn't be bothered to fix it
Here he is as a gif because you'd want him for some reason
#shitpost#digital art#animation#he got SHRANKED#yayyy now i can devote hundreds of hours of my life to animating whatever brainrot ive got#i have so many ideas for snowbird animatics that i will NOT be able to properly execute š#oh also i havent been able to do some proper high quality drawings or work on my wips because my computer was busted#anyway my hard drive failed or something and the computer guys are replacing it AND ideally improving it#so yayyy my computer works#unfortunately theyre also installing windows again and so my whole computer is going to be reset to factory settings#my main concern would be my steam accout because i have hundreds of dollars worth of games on there but i can log in to it fine#unfortunately if you can have an account for krita i wouldnt know about so. i lose all of my wips.#tbh i had like two salvageable ones and even the unfinished ones arent that bad#plus they both need redesigns anyway#so im okay ig#i can get my computer back today and i imagine setting it back up will take a while but at least i can play refind self#yk what lets be real i will be playing slime rancher 2 for hours straight AGAIN
7 notes
Ā·
View notes
Text
A pic of my human whirl design and holomatter avatar whirl hanging out together! Cuz I thought thatād be cute! And I was rightā¦ it is!
#transformers#mtmte#whirl#tf whirl#humanformers#mtmte whirl#doodles#Srry itās been so long since uploading anything. I got a job! last month#and! itās been going goodā¦ but also I do not have as much free timeā¦#alsoā¦ Iām.. itās at a daycareā¦ and I got a 102 degree fever last LAST Tuesday#2 Tuesdays ago. and Iām still fucking coughing. every time I start feeling better I go back to work and the sickness like resets itself.#also one of the kids gave me pinkeye!!!#imā¦ thinking about looking for a diff job lol#im rlly proud of how well Iāve been handling this one. and its def boosted my confidence!#but.. likeā¦ i live with old ppl. who have there own serious issues. also I have my own issues!#espec w the eye thing like i had to go to an eye doctor ever month for like 2 years cuz my eyes were screwed up#and finally last year i got the ok that my eyes were doing good! and they werenāt screwed up anymore. and then i get fucking pink eye!#that freaks me out!!!! and Ive been sick for 2 weeks straight! that sucks!!!#like.. ive just realizedā¦ this level of exposure to illness and bacteria.. is not worth it lol#ive still got to do like 2 weeks notice tho so hopefully im not fucking sick for 2 more weeks#I feel like thatās a possibility ghgh#anyway yeah I got a job thatās why arts been scarce. gonna get a new job after this one so art will probably still be scarce lol#itās ok that just means itāll be more of a treat when I do post! like u guysāll cherish it more right? lol#absence makes the heart grow fonder and all that#maccadam
51 notes
Ā·
View notes
Text
someone knock me out i beg
#starz.babblez#if falling asleep for a whole week is something i want so badly#like for a whole week straight#is it healthy?? no duh but i need it just reset my body
5 notes
Ā·
View notes
Text
I've been drinking homemade milktea for two days now, with today being the 2nd day and both days, I'd accidentally swallowed 1 whole tapioca ball and I think my stomach Does Not Like That cuz I have heart burn again. It's the 2nd day. Mmmy esophagus...
#aria rants#i feel like my esophagus is so badly injured at this point with the frequency of me getting heartburn#not my fault the boba is so slippery-- id be drinkin in peace and chewing some but then one would just slip past my tongue#and straight into the throat it goes. it aint big tbh but goodness my stomach... like cmon-- work with me here#cant you melt a singular small ball??? srsly??? orz... the heartburn aint that bad thankfully so i dont rlly consider it a torment#enough to reset my day counter but still-- i worry for my poor esophagus. two days heartburn in a row is def not good for it
4 notes
Ā·
View notes
Note
i think papyrus should remember resets
as an au sure. as a canon interpretation nah.
#papyrus being the opposite of sans and actually having a LOT of dĆ©jĆ -vu and dreams/nightmares about past timelines is a sexy concept#as in it's a fun way to torment him a little. also foils GOOD.#but him straight up remembering resets and knowing it's what's happening not as like#a novel situation like Randy's au but as a way to interpret his actions ingame. is not something i agree with#bc there's only so much you can Know For Sure before good naturedness and hope and positivity turns into stupidity#and papyrus is not stupid#answered asks#undertale#papyrus#metanalysis
79 notes
Ā·
View notes
Text
day 3 of approx 4hrs of sleep per night lessgo
#this is like when i had just started 11th#and i would sleep just 4 or maximum 5 hours every night#and i did this for 3 months#and i kept getting sick much more often than usual but ignored it#and finally got terribly sick with a fever that just would not go#and then i slept for 3 whole days straight#only waking up to eat#3 whole days#and then i was not sick anymore in fact that was the first time in months i felt lucid#it was like a factory reset š#im gonna need to do this all over again at the end of this cursed exam season
8 notes
Ā·
View notes
Text
If anime has taught me one thing, itās that mofos named āEnricoā should be taken down on the SPOT
#FINALy finished Hellsing Ultimate Abridged after literal years of dragging my heels#which in turn got me to dip back into the actual show#(great series btw)#and man Enrico Maxwell is a crazy mf.#in the abridged the dude was regretful of the Vaticanās association with Millienium but in the original? dude gloats about it#Fucking full on glee and shit. alongside his other crazy shit we see later. manās a happy Nazi ally.#Other Enrico is Enrico Pucci and that speaks for itself#dude resetted the universe via some straight biblical horror shit just because his 100+ year old vamp groomer told him to#alongside all the other stuff he did like murdering Jolyneās crew#his own brother included#overall if ya meet a guy named Enrico then gun him down with max prejudice#enrico maxwell#enrico pucci#hellsing#hellsing ultimate#jojo's bizarre adventure#stone ocean
10 notes
Ā·
View notes