Автор: Joshua Romphf
Издательство: The Rosen Publishing Group
Серия: Coding Projects for All
Год: 2020
Страниц: 144
Язык: английский
Формат: epub
Размер: 18.2 MB
Minecraft is a global phenomenon, adored by millions of gamers, but what if Minecraft could teach vital computer literacy and programming skills? Simply put: It can. This engaging and informative resource is designed to guide coders on a journey to enjoy their favorite game while they learn the basics of jаvascript, which is one of the world's most popular programming languages. Starting off with brainteasers and working up to real coding, these fun and exciting activities will teach everything needed to know how to write a brand new mod.
The first section will mostly contain pen-and-paper or pseudocode exercises, covering the more language-agnostic concepts we’ll be using throughout the book. Woah, woah, I know throwing around phrases like “language-agnostic” this early is kind of scary. What that means, really, is that these concepts can be applied to many different programming languages — not just jаvascript. I’m a firm believer that the fundamentals of programming are useful no matter what language (or languages!) you learn. If you’re able to learn the ins and outs of one language—like jаvascript—it’s going to be a lot easier when you try to grasp the nuances and features of another. So with this in mind, we’re going to go ahead and start with some baseline building blocks. We’ll go through a brief introduction on how computers and programming languages work, followed by some language fundamentals, such as syntax and semantics. Then, we’ll start to think about all of the different types of data that our programs work with. Finally, we’ll get into the core logical concepts of programs and how they flow.
Don’t worry—once you’re a master of the basics, we’ll get into making your first awesome mod. The next section will show you the ropes of jаvascript more specifically. You’ll learn about classes, variables, and more. I’m also going to give you a rundown on using ScriptCraft, a custom tool for translating all your new jаvascript knowledge into Minecraft.
Chapter three is where the fun really begins. Here, you’ll start putting your knowledge to good use, making a mod I like to call the Cellar Dweller. This mod has it all: randomly generated dungeons, awesome enemies, and some pretty sweet loot to boot. I’m also going to walk you through publishing and documenting all your hard work for all the world (or just your friends) to see.
Скачать Code a Minecraft Mod in jаvascript Step by Step