Quick update to yesterday’s script for the platformer. My team wanted me to modify the script so that the platforms would respawn after some time.
.
After some research, I learned the best way to do this is by creating an empty object to serve as the platform manager. The script for this object would basically instantiate the platform at it’s same position after it’s fallen and been destroyed.
.
Really interesting seeing how these scripts and objects interact with each other. I never really could get a sense of that from tutorials. It’s one thing to follow a tutorial, but I can say I definitely learn more when I have to create them myself for these personal projects where I’m not being led step-by-step.
.
.
.
.
.
#GitHubGameOff #csharp #clanguage #coder #coderlife #coding #codinglife #developer #gamedesign #gamedevelopment #gamedev #learntocode #programmers #programminglife #programming #softwaredeveloper #unitygame #unitygameengine #unityengine #100daysofcode #thedevlife #developerstuff #programmerrepublic #codingdays #peoplewhocode #worldcode #coderworlds #github #gamejam
https://www.instagram.com/p/BqyXSs8hK5L/?utm_source=ig_tumblr_share&igshid=12e0eh67a4d3u
It’s a traaaap! 😱 Our game for the #GitHubGameOff #gamejam now has traps for the player to avoid. The first is a spike trap that kills the player object instantly. Next, you see two platforms fall one second after the player object lands on them. Very simple traps to implement, but still fun to make and a great learning experience for me. 🤓
.
.
.
.
.
#csharp #clanguage #coder #coderlife #coding #codinglife #developer #gamedesign #gamedevelopment #gamedev #learntocode #programmers #programminglife #programming #softwaredeveloper #unitygame #unitygameengine #unityengine #100daysofcode #thedevlife #developerstuff #programmerrepublic #peoplewhocode #worldcode #coderworlds #github
https://www.instagram.com/p/Bqv4unohTBy/?utm_source=ig_tumblr_share&igshid=19j2mtoygw66z
This happens way to often 😂
.
.
.
.
.
#codinghumor #codingjokes #codingmeme #devlife #mememonday #mondaymeme #programmingmemes #programmermemes #programmerhumor #programmingjokes #programmingisfun #programminglife
https://www.instagram.com/p/BqpwNr2hHXe/?utm_source=ig_tumblr_share&igshid=rjt3ilmdaqky
It’s #freecodecampFriday again!
.
Today’s four lessons weren’t difficult, but I still learned something new. Like the use of a Radix in the parseInt Function. I never learned about binary numbers and their base systems, so even though I went through the lesson real quick, I still took some time afterward to read up on them. It actually made me rethink how I look at numbers; its a reminder that even though numbers help explain so much of our universe, at the end of the day, numbers are entirely man-made. 🤯
.
Was not expecting to get all philosophical 🧠 … yea… that’s enough coding for today. *lol*
.
.
.
.
.
#javascript #freecodecamp #coder #coderlife #coding #codinglife #codingisfun #developer #learntocode #programmers #programminglife #programming #softwaredeveloper #computerscience #computersciencemajor #100daysofcode #webdev #webdeveloper #webdevelopment #objectorientedprogramming #thedevlife #developerstuff #programmerrepublic #codingdays #peoplewhocode #worldcode #buildtheweb #coderworlds
https://www.instagram.com/p/Bqi1Qd5hpmU/?utm_source=ig_tumblr_share&igshid=mig98506qevj
Quick update on my team’s game for the #GitHubGameOff #gamejam . My team members are more experienced than I, so I choose the more simpler tasks, like a scene loading script. 😂
.
Though…being a novice…this still was a challenge. 😅 The script I made was supposed to detect if an object with a “Friendly” tag was triggered when the player object interacted with it. Initially, the trigger just wasn’t being activated for some reason. Luckily, google saved the day (as usual 😎)
.
Turns out I needed to use empty objects and use those as the triggers. I also needed to edit the script to detect 2D colliders rather than the default 3D ones. This is my first 2D game, so I didn’t even there are 2D versions for various functions/calls/etc. But that’s the benefit of this experience; you end up learning about things you probably wouldn’t have in any other situation. Now this will be something I remember for the future. 😊
.
In this video, you see that when the player object, the yellow triangle, lands on the right platform, a new scene is loaded. You’ll recognize this scene from a previous post for a camera shaking script I worked on. And if the player lands on the left platform, the scene for the main menu is loaded. Feeling really proud that I was able to get this working. Will just need to work with the team to see how they want to implement this script.
.
That’s all for today. Hope you all are having a wonderful Thanksgiving! 🦃
.
.
.
.
.
#csharp #clanguage #coder #coderlife #coding #codinglife #developer #gamedesign #gamedevelopment #gamedev #learntocode #programmers #programminglife #programming #softwaredeveloper #unitygame #unitygameengine #unityengine #100daysofcode #thedevlife #developerstuff #programmerrepublic #peoplewhocode #worldcode #coderworlds #github
https://www.instagram.com/p/BqgDhdEhFSn/?utm_source=ig_tumblr_share&igshid=1j2p69p5ipkw9
I had to write a poem for my Creative Writing class, so to make things interesting, I formatted it to look like a simple program. What can I say… it’s the nerd in me. 🤓
.
I’m leaving this up to interpretation. If this struck a chord, feel free to leave your thoughts. ☺️
.
.
.
.
.
#poetry #poem #creativewriting #devlife #programminglife #coderlife #coding #codinglife #codingisfun #developer #programmers #programminglife #programming #softwaredeveloper #computerscience #computersciencemajor #100daysofcode #thedevlife #developerstuff #creativecoding #creativecode #codeart
https://www.instagram.com/p/BqXt_jvBsOL/?utm_source=ig_tumblr_share&igshid=11gl4imfjde1t
Today is #freecodecampfriday 🤓 No, this hashtag isn’t official… but I’m making it a thing! 😤 Why? Well I’ve recently started a new job as a Junior .Net Developer, which is awesome since I’m now getting real world experience (yay! 😃). But now I have less time to work on side projects, like freecodecamp and game design. (wahh! 😩)
.
But this makes me think about a Nike ad I recently saw from one of my favorite athletes, Serena Williams, that said “Getting this far, crazy. Stopping now, crazier.” This speaks to my soul. 🙏🏾 It would be insane for me to let a roadblock get in the way of me doing the things I enjoy.
.
So instead of working on freecodecamp lessons three times a week, I’ll just do them on Friday. While this means it will take a little longer to complete the course, at the end of the day I’m still make progress. 📈
.
Today’s lessons were about Javascript’s random function. While it wasn’t difficult, I don’t like how you have to do some weird math and use another function to properly do ranges of whole numbers. Other programs do this much more… gracefully 🤴🏾 Maybe I’ll learn a different method in the future. For now, gonna keep on pushing forward. 😎
.
.
.
.
.
#serenawilliams#javascript #freecodecamp #coder #coderlife #coding #codinglife #codingisfun #developer #learntocode #programmers #programminglife #programming #softwaredeveloper #computerscience #computersciencemajor #100daysofcode #webdev #webdeveloper #webdevelopment #objectorientedprogramming #thedevlife #programmerrepublic #codingdays #peoplewhocode #worldcode #buildtheweb
https://www.instagram.com/p/BqQtUsxhuxi/?utm_source=ig_tumblr_share&igshid=1ekle1qdq902f
Another C++ homework assignment submitted with ease 😎 Building on previous lessons, the assignment was to create a program that uses a for loop to fill in an array with student names and their grades. The actual calculation of their number grade to a letter grade had to be done in a separate function, so a global variable had to be used. Not bad, but still fun to do.
.
.
.
.
.
#cplusplus #clanguage #coder #coderlife #coding #codinglife #codingisfun #developer #learntocode #programmers #programminglife #programming #softwaredeveloper #computerscience #computersciencemajor #100daysofcode #thedevlife #developerstuff #programmerrepublic #codingdays #peoplewhocode #worldcode #buildtheweb #coderworlds #codeuniverse #dotnet
https://www.instagram.com/p/BqLl0QLB1r1/?utm_source=ig_tumblr_share&igshid=mxbae2o8spu
I thought it would fix itself. 🤷🏾♂️ Lol
.
.
.
.
.
#codinghumor #codingjokes #codingmeme #devlife #mememonday #mondaymeme #programmingmemes #programmermemes #programmerhumor #programmingjokes #programmingisfun #programminglife #pikachu #pikachumeme #pokemonmeme
https://www.instagram.com/p/BqGR_1oBTnI/?utm_source=ig_tumblr_share&igshid=1gs3roozlotse
If you’ve always wanted to join a game jam, consider participating in GitHub’s game jam, Game Off 2018, or #GitHubGameOff. A game jam, for those of you who don’t know, is like a hackathon… but for video games! 🎮 Basically, you or a group are given a theme and have to make a game in a short amount of time. Some can last a month and some can be as short as 24 hours.
.
The Game Off 2018 is a month long game jam, so it’s great for beginners since the time pressure is not as stressful. The theme this year is HYBRID, so there’s a lot you can do with that. Also, it’s hosted on itch.io, which is THE game jam website. It’s a great place to meet other game programmers. I’ve actually joined a team of other noobs to make a contra-like game. We keep in touch on discord. And you have to host your code on GitHub, which is great for me because I finally have an excuse to learn how to use GitHub. 😏
.
My team is pretty big, which is nice as I get to work on a small part of the project. Today, I focused on creating a script that would shake the camera object once a trigger is activated. Figuring out how to do it was challenging, but once I did, it felt like I was just initially over complicating it. 😒 But at least I figured it out!
.
In this image, you can see a sphere falling down. There is an invisible trigger area somewhere beneath the sphere. When the ball enters the trigger area, the camera starts shaking. When the ball leaves the trigger area, the camera stops shaking. Seems sooooo simple, but I promise it wasn’t… for me… Like I said, I’m just a noob at this! 😤
.
.
.
.
#csharp #clanguage #coder #coderlife #coding #codinglife #developer #gamedesign #gamedevelopment #gamedev #learntocode #programmers #programminglife #programming #softwaredeveloper #unitygame #unitygameengine #unityengine #100daysofcode #thedevlife #developerstuff #programmerrepublic #codingdays #peoplewhocode #worldcode #coderworlds #github #gamejam
https://www.instagram.com/p/Bp8LLacBvoX/?utm_source=ig_tumblr_share&igshid=17p9mm4gipo5f


