MGGA – Virtual Coder For Loops – S2L5

Full Video –

Virtual Coder – Sumerian – https://77a9c4b3cc4c4eafb8470b204dbd7aca.us-east-1.sumerian.aws/

Introduction to For Loops –

https://www.bitchute.com/video/uecTQDBZ38VJ/

This is the second of three Virtual Coder lessons, and this is their levels to teach for loops. For Loops are segments of code where you repeat the code within it the number of times defined by i in the code – if i = 3 it repeats 3 times, if i = 10, then it repeats 10 times.

It helps reduce the amount of coding you need to do if you need to repeat the same command more than once in a pattern.

Today’s lesson goes through levels 6 to 8 in Virutal Coder, with my explanation of what this works or why it doesn’t work for deliberate mistakes.

Social Media –

BitChute – https://www.bitchute.com/channel/makegamesgreatagain/

YouTube – https://www.youtube.com/channel/UCPuMNJ5yIn3zDVVXB3nikvg

Gab.ai – https://gab.ai/MakeGamesGA

Twitter – https://mobile.twitter.com/MakeGamesGA

Exclusively Games – https://www.exclusivelygames.com/forum/member/936-makegamesgreatagain

First Semester Playlist – https://www.bitchute.com/playlist/pqhNJuqVjCmX/

Second Semester Playlist – https://www.bitchute.com/playlist/PVrmhTeiYAsl/

Advertisements

MGGA – Welcome to Virtual Coder – Lesson 1 – Functions and Function Arguments – S2L2

Full Video –

Virtual Coder game

https://77a9c4b3cc4c4eafb8470b204dbd7aca.us-east-1.sumerian.aws

I do apologize for not finding a suitable alternative to SwiftPlaygrounds last ‘semester’ while I was teaching the fundamentals of coding. This game will allow you to learn and practice simple coding.

Actually, all coding is simple, when you break it down to it’s component parts, so this program will do nicely.

I’ve done the first five levels of this game – and these levels, we talk about functions again – https://youtu.be/xugrFZ_KBzU – which is a group of coding that makes a game or program perform a specific function. We also added to our learning of functions by adding arguments – there is a turn function, and you can decide whether you turn left or right in them.

Functions are important to video games, because you can create all kinds of unique user experiences, including powers within your game to be called up when the player presses the right buttons.

Thanks for watching my video and making games great again. Don’t forget to like and subscribe to my channel and share this video with anybody interested in game development.

Minds – https://www.minds.com/MakeGamesGreatAgain

BitChute – https://www.bitchute.com/channel/makegamesgreatagain/

YouTube – https://www.youtube.com/channel/UCPuMNJ5yIn3zDVVXB3nikvg

Gab.ai – https://gab.ai/MakeGamesGA

Twitter – https://mobile.twitter.com/MakeGamesGA

Exclusively Games – https://www.exclusivelygames.com/forum/member/936-makegamesgreatagain

First Semester Playlist – https://www.youtube.com/playlist?list=PLbwCfY8NU5nlDJdA08vpcrysr8m5iq_K-

Introduction to Arrays

Full Video –

SwiftPlaygrounds –

https://itunes.apple.com/ca/app/swift-playgrounds/id908519492?mt=8

Array Definition –

https://en.m.wikipedia.org/wiki/Array_data_structure

This is the final introduction to coding video I am creating, Introduction to Arrays. Arrays are databases that contain data inside of them. In game design, this could be used to generate random opponents in random places, defined by an array of enemies that can appear on the map, and another array with spawning locations for those random enemies. With a function, you could randomize which enemy is going to spawn in which place because Arrays are numbered.

Since this is my last episode for coding, I’ll cover the rest of the lessons from SwiftPlaygrounds through solutions videos while talking about some basics on how this would apply to Game Development, but many of their lessons are strictly SwiftPlaygrounds lessons which allow you to gain some more experience in coding. My first such lesson will be on the Array puzzles next week.

Starting in February, I’m going to start to work on lessons on 3d modelling using Blender for art lessons. I’ve already see how I am going to accomplish this, I’ll teach you all how to make the Solar System and a little spaceship flying through it. SpaceForce FTW! I will create a little animation through Blender over the next three months to show you how to do all of this.

Thanks for supporting my channel over the past three months and Making Games Great Again!

MGGA – Introduction to Object Oriented Programming

Full Video –

https://youtu.be/P-Qufl8suyw

SwiftPlaygrounds –

https://itunes.apple.com/ca/app/swift-playgrounds/id908519492?mt=8

Definition of Instances in Object-Oriented Programming –

https://en.m.wikipedia.org/wiki/Instance_(computer_science)

Introduction to Variables –

https://youtu.be/P-Qufl8suyw

Introduction to Functions –

https://youtu.be/xugrFZ_KBzU

Types are the blueprints of a group of similar objects in programming. With Types, we can define that group – like factions in video games – AntifaThugs are a Type. For each member of that Type, we have an instance of that type. Using the basis of variables that we learned in the last episode, you can use a variable to define which member of AntifaThugs that instance is with a variable that will be Int nAntifa = Antifa +1, with Var Int nAntifa = 0.

Then you can define what behaviours that instance will be involved in, by defining functions which allow those objects to do something that is being defined by the programmer, like attacking Trolly/Trollette, restoring their hp with a potion, etc, etc, etc.

This allows us to create programming which can look at individual behaviour of instances without making every single member of the group doing the exact same thing at the exact same time.

Thanks for watching and Making Games Great Again!

MGGA – Introduction to Variables

Full Video –

https://youtu.be/VSRB2hP12nA

Variable Definition –

https://en.m.wikipedia.org/wiki/Variable_(computer_science)

SwiftPlaygrounds –

https://itunes.apple.com/ca/app/swift-playgrounds/id908519492?mt=8

Variables are snippets of code which store a value of any random thing in your program or game. It’s used by game developers to dictate what object in a game does what to where and when, all things that are defined by Variables.

Looking at previous episodes, the Guards are their complete own variable, and Shopkeeps would be their own variable, the player character is their own variable, townspeople are their own variables, a door is a variable, and just about anything is a variable which is defined the developer. That way you can code further things to say Door193 will only unlock with Key039 and not any other key in your pack.

MGGA – Introduction to Algorithms

Full Video –

https://youtu.be/sRLSQwll7vY

Algorithms Definition –

https://en.m.wikipedia.org/wiki/Algorithm

SwiftPlaygrounds –

https://itunes.apple.com/ca/app/swift-playgrounds/id908519492?mt=8

Algorithms are one of most misunderstood concepts in the world. If you listen to the news, Algorithms are going to create the great robotic uprising, and you can’t go onto a conservative online space and not hear about Facebook, Twitter and Google altering their algorithms to silence conservative thought. Algorithms are to blame, or are they.

Algorithms are just tools, and they’re simply digital solutions to problems. Whether you want to make sure a character has a key before you let them enter a room, or you create level up scripts, or power scripts, or any other coding, anytime you solve a problem with coding you have just created an algorithm. Sure, Facebook, Twitter, and Google are using algorithms in very biased ways to silence conservative voices but the problem is not algorithms but the people who create them.

Today, I talk about how all the lessons we’ve taken so far have been teaching you how to create your own algorithms to solve issues in SwiftPlaygrounds, and that this concept applies to game development as well, especially level design, which I briefly touched upon in the Game World Page.

Thanks for watching and making games great again.