Unity Junior Programmer Mission Create With code Unit 3 – Sound and Effects

3d Metaverse Application Development Workspace

The objective of this fun project was to program an endless side-scrolling game with a fast-paced runner style of gameplay. While completing this prototype, I learned how to completely transform the experience of my projects using sound effects and music. I also learned how to create dynamic endless repeating backgrounds that are critical for a side-scrolling gameplay experience.  The final piece of work was learning how to use particle effects such as splatters and explosions. They seem to make the game so much more satisfying to play!

Continue reading Unity Junior Programmer Mission Create With code Unit 3 – Sound and Effects

Unity Junior Programmer Mission: Create With code Challenge 2 – Program a dog to play fetch

My custom Unity development layout

I used array and random number generation skills to program this challenge where balls are randomly falling from the sky and you have to send your dog out to catch them before they hit the ground. To complete this challenge, I was required to make sure the variables are assigned properly, the if-statements are programmed correctly, the collisions are being detected perfectly, and that objects are being generated randomly.

Give the game a try in your browser at https://meta.dwdenney.com/challenge2/

Continue reading Unity Junior Programmer Mission: Create With code Challenge 2 – Program a dog to play fetch

Unity Junior Programmer Mission: Create With code Unit 2 – Basic Gameplay

My Custom Layout in Unity Development Environment

In this mission I undertook the bold task to program a top-down game with the objective of throwing food to hungry animals. To make things even more outrageous, the wild hungry animals are stampeding toward you and you must feed them before they can run past you. While working on this I became much more familiar with some of the most important programming and Unity concepts, including if-then statements, random value generation, arrays, collision detection, prefabs, and instantiation. I programmed a “Spawn Manager” to handle the spawning of random animals at random intervals. By completing this project I have demonstrated the ability to program a basic game complete with launching projectiles and maneuvering the player to keep the game alive.

https://meta.dwdenney.com/unit2/

Continue reading Unity Junior Programmer Mission: Create With code Unit 2 – Basic Gameplay

Unity Junior Programmer Mission: Create With code Challenge 1 – Program an Airplane to fly

I was challenged to use the skills learned in the driving simulation to fly a plane around obstacles in the sky. I was required to get the user’s input from the up and down arrows in order to control the plane’s pitch up and down. I also needed to make the camera follow alongside the plane in order to keep it in view.

Continue reading Unity Junior Programmer Mission: Create With code Challenge 1 – Program an Airplane to fly

Unity Junior Programmer Mission: Create With code Unit 1 – Start your 3D Engines

In this Unit, I programmed a car moving side-to-side on a road, trying to avoid (or hit) obstacles in the way. In addition to becoming familiar with the Unity editor and workflow, I learned how to create new C# scripts and do some simple programming. By the end of the Unit, I was able to call basic functions, then declare and tweak new variables to modify the results of those functions.

Continue reading Unity Junior Programmer Mission: Create With code Unit 1 – Start your 3D Engines

Beyond Responsive Web Design – Creating Content for Different Devices

Screen shot of bonus content on large screen.

There are some things that should not be handled with responsive design. For example I’m creating bonus content for devices with very large screens. Using responsive design, the common technique is to load this bonus content into the dom but not show it for certain size screens. However this still takes its toll on the load time and would impact performance of the device since it would still have the content in its memory.

For the bonus content,  I am going to display  a large graphic image only on devices that meet a certain height and width requirement. This can be easily accomplished without a third party plug in or framework using standard JavaScript.

Screenshot of content on tablet

Content on Samsung Galaxy Mobile Phone

The JavaScript behind this is surprisingly simple and cross browser compatible. I have tested successfully on  PC’s with new ie and firefox, surface pro, android 2.2 up, ipad, iphone, blackberry playbook, older  imac with safari.

var screenheight=screen.height;
var screenwidth=screen.width;
if(screenwidth>=1280 && screenheight >= 1000){
// execute my sweet js script to display bonus content.
}