Tumgik
#pickthingsup
thefitunited · 8 years
Photo
Tumblr media
Put in the work. There isnt a magic pill or an infomercial product out there that will give you abs of steel or shed weight over night. Cleanses and wraps don't work. Hard work, dedication, determination and discipline will get you to your goals. "Don't give up. Great things take time." . . . #motivationalmonday #weightlifting #dedication #discipline #mundays #highfive #crossfit #hardwork #workhard #liftheavyshit #pickthingsup #olympiclifting #motivation #quotes #thebarbell #barpath #fitness #ohiocrossfit #crossfitohio #crossfitaffiliates #ohiostrong #fitunited #thefitunited
2 notes · View notes
zachmakesgames · 4 years
Text
Candles Update 26: Kyle’s Guitar
Tumblr media
So I have the shade up and running. But for the shade to fulfill its purpose, I need notes: musical notes. So I hopped into Apple's Garage Band and I tried to grab some notes.
Shhh--this is a secret, but there's a chord we're focused on. The notes are F, C, C#, and G#. I used to play this chord in high school, having no idea that it was an actual "thing", or that I would reuse it for the basis of a puzzle 20 years later.
But for Kyle's Guitar, I need more than these four notes. For this to be a "puzzle", there must be "wrong answers". I've decided to include every guitar note for all six strings within the first 5 frets. Not including playing a string open, that's 30 notes...well, something like 12 notes in 3 different octaves...whatever.
I played every note in Garage Band and exported. As I was editing the audio to include one note per track, I remember that guitars break the tuning pattern between G and B strings--so there's some note sharing. I think I've set it correctly. We'll see...
Next step--make a playable guitar. My writer suggested using an interface. Since I had a guitar 3d model available, I opted to use that.
First, I duplicated the in-scene model and childed it to the player. I start the game with it deactivated so that it may be activated later. The model I downloaded had to be blown up to 1.5x size to be "realistic". But because the guitar cannot get too close to the camera without clipping, I had to blow it up to 4x to sufficiently fill the screen.
To “pick up” the guitar, I’ve set a new check for the tag “Guitar”, and I can make the call in PickThingsUp:
Tumblr media
Then in my guitar script (which is actually on the player):
Tumblr media
Looks like I need to delete that PickThingsUp reference...
Here, I grab the necessary scripts. You can see the two functions to “pick up” and “put down” the guitar. All pretty straight forward--but I ran into a weird bug. In the if statement, I found that when holding the guitar, if tried to put it down...it uh, didn’t work. I’m not sure why this is happening, but since I’m using the same button to pick up the guitar and put it down, I thought I’d make sure to never allow the two actions in a single frame. The script was working fine previously, but the next day not so much. This seems to fix it. Next, I’ll be trying to build a canvas-based UI that lets the player click on notes...and we’ll see how well I’ve picked out notes for the game.
1 note · View note
healedpoetically · 8 years
Photo
Tumblr media
Like our official Facebook page. We will be featuring premium supplements and apparel Stay connected for meal prep Solutions, workouts, Events and more! 😉 https://m.facebook.com/dulefitness/ www.dulefitness.com #supps #getsome #progressnotperfection #gymratMd #protein #focus #workout #pickthingsup #putthemdown #Dulefitness #dulesmash #comingsoon #staytuned #ironjunkie #thetribe #honest #fearless #fitness
0 notes
Video
instagram
Sometimes we just #pickthingsup and move them before with #putthemdown @unclemilty32 takes the day. Way to go buddy!!! #Liftstronganprosper #cfnbfam (at CrossFit No Boundaries)
0 notes
thefitunited · 8 years
Photo
Tumblr media
Conquer every goal you set for yourself, smash PRs and get high AF from the adrenaline rush when the haters see you succeed. Don't listen to what other say. Go out and do you. Be the best you, YOU can be. . . #motivational #beyourself #beyou #fuckhaters #motivationalquotes #motivationalmonday #highfive #weightlifting #dedication #discipline #mundays #crossfit #hardwork #workhard #liftheavyshit #pickthingsup #olympiclifting #motivation #quotes #thebarbell #barpath #fitness #ohiocrossfit #crossfitohio #crossfitaffiliates #ohiostrong #fitunited #thefitunited
0 notes
zachmakesgames · 4 years
Text
Candles Update #22: Fixing Pick-Ups (Kinda)
This post was supposed to be about a new feature: Maggie's Art Board. Who's Maggie you ask...
It's a secret.
The point is, the board was going to have 4 spaces where paintings could be placed. The "PickThingsUp" script was written like a year ago (Here) when I was just picking game objects up and throwing them around. So I thought: "Hey! I'll just make trigger boxes on a board, and when I throw the painting at the board, they'll 'stick'!". Not unlike how the keys and shrines worked.
I spent a little time building the board and four trigger boxes. Naming everything; parenting everything. And then I quickly drafted some pseudo code for the trigger boxes. And on my first attempt, I was able to replace the pseudo code with real code, and it WORKED! Immediately!
Tumblr media
I thought I was a genius. But as I played around, I realized a problem. If a painting accidentally touches two trigger boxes, it will trick them both into thinking they have the painting. NO! All is ruined! On top of that, it’s challenging to track when a painting has been placed and when it has been removed. This is because my PickThingsUp script warps items into the player’s hand. It’s been working so far, but caused problems with the Magic Circle, since I can’t use “OnTriggerExit” when I pick up a candle. Clearly, it’s beyond time I fixed that. I decided the best way to place paintings on the board without accidentally activating two trigger boxes, was to change the Trigger to react to the raycast I use to interact with objects. Now, when the raycast is touching the Painting Board’s trigger box, instead of throwing the item--the scripts check to make sure it’s a painting and then places it. But I didn’t want it to warp. So enter the “MovePickUpTo” script:
Tumblr media
Years ago, I was struggling to grasp moving objects. For whatever reason, “Lerp” gave me problems. These problems seem fixed by “MoveTowards”, so I had been using that pretty exclusively, even on my opening doors script. But it seems I’ve been wrong. Lerp is the way to go. After messing around a bit, I found Lerp allowed more control over how quickly objects moved--so it gets the object there by a certain “time” and not by a certain “speed”. Behold:
Tumblr media
Alright--so there’s something lost in the frame rate of the gif--but I promise you, it “moves” there. And it wasn’t too hard getting that to work in the opposite direction (picking things up). So no more warping!! While that was working, all the code existed in the PickThingsUp script. Things were getting messy. Firstly, the left and right hands are controlled by different buttons. So instead of a function, I just copy-and-pasted the code to each hand. Not only that, but the hands were “picking up” and “dropping” at two different parts of the script. While it was messy, this allowed objects to always be dropped, if held, before picking up another object. Without functions, that was a lot of code. Anyway: I started making functions that required a lot of parameters. But it shrunk the code down a bit. Still, there was some confusion. See, I was checking if I was looking at the painting board all within the PickThingsUp script. That’s a lot of responsibility for one script. So, line-by-line, I moved the code over to a new script: InteractivePlaceHere.
Tumblr media
There’s a lot of interplay with the PickThingsUp script. Basically I check if I’m touching an interactive script, then I jump into that script and start seeing if things match up. This actually allows me to reuse the script for different things--maybe the candles on the Magic Circle...maybe a future puzzle. I learned a couple of cool things--like how References work, and how to use “(int)” to compare enums. This was an intense few days, but I’ve definitely learned something. What I didn’t learn/resolve, was how to best switch out objects hanging on the picture board. If I’m holding a Red Candle in my right hand and want to pick up a Green Candle in my right hand--the code first drops the Red Candle, then checks for picking up the Green Candle. This feels like switching, but it’s just an order-of-events. This is more challenging with the Painting Board. I need to pick up the placed painting, then set the held painting. It’s an opposite order of operation that my scripts simply cannot handle. While I’m sure I could figure it out easy enough, I find a simpler option: If the player is holding something in their right hand and looking at a painting hanging on the board...they can’t pick it up.
Tumblr media
Long-ass post and I still don’t have a fully functioning Painting Board for Maggie.
She’s gonna be pissed. But here’s a little bit of the updated PickThingsUp script:
Tumblr media Tumblr media
0 notes
healedpoetically · 8 years
Photo
Tumblr media
Like our official Facebook page. We will be featuring premium supplements and apparel Stay connected for meal prep Solutions, workouts, Events and more! 😉 https://m.facebook.com/dulefitness/ www.dulefitness.com #supps #getsome #progressnotperfection #gymratMd #protein #focus #workout #pickthingsup #putthemdown #Dulefitness #dulesmash #comingsoon #staytuned #ironjunkie #thetribe #honest #fearless #fitness
0 notes
dreamlifesuccess · 11 years
Video
Eventful times in Maryland =D #treedown #snow #snowstorm #stuck #pickthingsup #putthingsnown #gym #saved #help
0 notes
naesofit · 11 years
Video
WWE: "Next Big Thing" (Brock Lesnar) It's fine time I make my way to 300lbs!! #iafelitetraining #iamfitness #iamfitnessphilly #thisiswhatido #pickthingsup #putthingsdown #liftheavy #eatclean #traindirty
0 notes
againsttheflub · 12 years
Text
My father called me a beast at the gym today.
Day made. :) haha Also there were more ppl at the gym than usual. Got to watch the show. People are so funny when they lift. They all think they're all that. :P
7 notes · View notes