Coding Lessons for Block 2

Coding can be one of the hardest and most intimidating things to learn when you first think about learning game development. But it can be learned one lesson at a time, and it’s just like any other skill – learn it and practice it, and you get better and better at it all the time.

In this block, we start with Virtual Coder to learn the basics and the terms and how they work, from functions and function arguments, to For Loops, to While loops, the basis of a lot of different coding blocks for video games.

After that, we looked at ideas for how to create Cutscenes in SwiftPlaygrounds and solve puzzles as well, to get the practice we need before we went into Codea, a coding and app development program for iPads.

And then we went straight into Codea to learn how to create a Cutscene, by bringing in elements and characters, animating the characters, importing sprites to add text bubbles and animating them, adding sound effects to our scene and then exporting the scene to work on later.

https://www.bitchute.com/video/1oEidu9QITHW/ – Exporting in Codea

This was a small lesson on how to export your coding and work out of Codea. It isn’t that much, because my current computer doesn’t have the capability of working with Xcode, but it gives the basics on how to do that. I may redo this lesson once I get my new computer, because both the new OS on my iPad and the new computer can do what we need.

https://www.bitchute.com/video/tbFyS2WvjF2s/ – Sound Effects in Codea.

While Codea doesn’t have the ability to add sound effects you create, which is why you will want to use Xcode, it does allow you to add theme music and sound effects to your scene in a variety of different ways, so lets look at them.

https://www.bitchute.com/video/Dv5FfgJOPpFL/ – Adding Sprites to Codea.

Codea allows you to import PNGs and other graphics into it, so lets add some dialogue graphics for our Turd Throwing Monkeys into our scene to give it more storytelling elements.

https://www.bitchute.com/video/9TGoKipDA8X8/ – Animating in Codea.

In this lesson, we look at how we code animation in Codea through tweening (a computer calculating movements between two spaces in time) and inputs.

https://www.bitchute.com/video/f6p7iqhdnoSc/ – Welcome to Codea.

This is the first part of the Codea series, where we setup our cutscene and we look at all the elements within Codea which will help us on our way to using Codea as a coding program.

https://www.bitchute.com/video/DpNdlURyDY0A/ – Programming and Puzzle Solving.

Using SwiftPlaygrounds, we look at how to create a good puzzle, so we can create similar puzzles in our video games.

https://www.bitchute.com/video/2NXYkCwPYjsX/ – Programming and Cutscenes.

Using SwiftPlaygrounds, we can look at ways of creating cutscenes, and interactive animations that will entertain our audience.

https://www.bitchute.com/video/p5pvlH1pPGpB/ – Virtual Coder – While Loops

While Loops are loops with a conditional on it – as long as X variable equals Y condition, than do this, else, do something else – so we learn how Virtual Coder handled those puzzle levels to start thinking about how to incorporate that into game development.

https://www.bitchute.com/video/goZVXqDDbL3Y/ – Virtual Coder – For Loops

For Loops are still loops with Conditionals, but the condition is i = number, meaning the number of iterations of those actions will continue until the interactions equals the number – like 4 or 5 iterations.

https://www.bitchute.com/video/PlXfbSNWCNpl/ – Virtual Coder – Functions and Function Arguments

Functions are the basis of programming. Self contained blocks of code that keep on doing something when they are called, so you only need to call one line, while defining the function.

Enjoy guys!

Advertisements