Tag

Construct 3

Browsing

INTRODUCTION TO FOR LOOPS Now, we look at loops because loops are one of the easiest ways to automate tasks in programming and game development. It is important. It is called the ‘For loops test’ We can make the green ‘Sprite’ and change the size to 32 by 32. Everything’s working fine here. Take a look at the ‘For’ loop.

INTRODUCTION TO FUNCTIONS We will talk about all functions. The function is significant, especially when it comes to making your code not only more readable but more functional. You can make your code do more than one thing at once instead of rewriting a ton of code. Let’s start a new project to see what I mean by that. We’ll call this ‘Function Test’, and it doesn’t matter what the size it is at this…

AN ESSENTIAL SKILL TO HAVE! We will talk about rapid prototyping and how it’s such an essential skill for you to get better at game programming and development. First, what is rapid prototyping? Rapid prototypes are like sketches. It means if you went to an art school, you would probably sketch a bit. You would only maybe paint one major painting in a given period. You had to do lots of prep work, and these…

VARIABLES We need to talk about the scope of variables. The scope of variables is where a variable can be used. Let’s say you have something like ‘Health’ or something specifically related to an object. It’s best to use an ‘Instance variable’. But if you have a global variable assuming a day and night cycle, or something like that, you can ‘Add global variable’ Let’s right-click ‘Add global variable’ before we have billions of numbers…

SPRITES Let’s see how to add items to the game. Now, double click anywhere on the screen here. If you double-click, you can create any object. We need to know how each of these objects works to create a game. I’ll go over how these things work here. The bottom shows ‘Store an array of values in up to 3 dimensions’ Therefore, think of arrays. A variable is like a box. You can put data…