#like a straight reset
Explore tagged Tumblr posts
emilycodesgames Ā· 1 year ago
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
4 notes Ā· View notes
hijinxinprogress Ā· 4 months ago
Text
Billy definitely thinks about random things during fights and decides the internet needs to know immediately
Tumblr media Tumblr media Tumblr media
167 notes Ā· View notes
airprime7 Ā· 9 months ago
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
254 notes Ā· View notes
bleue-flora Ā· 1 month ago
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ā€¦.
57 notes Ā· View notes
velvet-games Ā· 4 months ago
Text
Tumblr media Tumblr media Tumblr media
she's bald!
72 notes Ā· View notes
nonetoon Ā· 4 months ago
Text
For the sims 4 grim reaper daily items thing itā€™s supposed to actually work right
58 notes Ā· View notes
delancydevinsmommyissues Ā· 11 months ago
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
84 notes Ā· View notes
flock-talk Ā· 1 year ago
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 šŸ˜‚
63 notes Ā· View notes
darkwood-sleddog Ā· 11 months ago
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.
46 notes Ā· View notes
organised-disaster Ā· 6 days ago
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
Tumblr media
7 notes Ā· View notes
pepperpixel Ā· 11 months ago
Text
Tumblr media
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
starzgaze Ā· 4 months ago
Text
someone knock me out i beg
5 notes Ā· View notes
aria0fgold Ā· 4 months ago
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...
4 notes Ā· View notes
carlyraejepsans Ā· 2 years ago
Note
i think papyrus should remember resets
as an au sure. as a canon interpretation nah.
79 notes Ā· View notes
definitelynotnia Ā· 11 months ago
Text
day 3 of approx 4hrs of sleep per night lessgo
8 notes Ā· View notes
misterbaritone Ā· 1 year ago
Text
If anime has taught me one thing, itā€™s that mofos named ā€œEnricoā€ should be taken down on the SPOT
10 notes Ā· View notes