About 6,340 results
Open links in new tab
  1. Array - Microsoft MakeCode Arcade

    If you want to create an array with no items in it yet (empty array), you have to tell what type the array should be. This is because there are no items in it that automatically decide the type.

  2. Activity: Arrays Project - Microsoft MakeCode Arcade

    Arrays of Numbers Array Manipulation Arrays of Sprites Arrays of Tiles Arrays of Images Student Task #1: Initial Ideas Think of at least 3 ideas for games that use some of the “concepts learned” listed …

  3. Arrays - Microsoft MakeCode Arcade

    Tiles Images Array Project Arrays of Numbers String Array Manipulation Arrays of Sprites Tiles Images Array Case Study Final Project Edit this page on GitHub Edit template of this page on GitHub

  4. Activity: Arrays Intro - Microsoft MakeCode Arcade

    In this example, we added 5 to the end of the array, after it’s already been created. This might seem simple in this case, but it allows for many other uses of arrays we create - for example, adding a new …

  5. Activity: Array Manipulation - Microsoft MakeCode Arcade

    In JavaScript, an array can be treated like a stack by using array.push and array.pop. The array.push function is used to add a new value to the end of an array (the top of the stack), and the array.pop …

  6. create - Microsoft MakeCode Arcade

    One item array You can create and initialize an array with an item. Arrays created with at least one item automatically have the type of the item. This is called a type inference.

  7. Arrays - Microsoft MakeCode Arcade

    unshift Add one element to the beginning of an array and return the new length of the array.

  8. get - Microsoft MakeCode Arcade

    Parameters index: a number that is the location in the array to get a value from. Returns a value in an array that is at the chosen index. The value has the type that matches the other items in the array.

  9. Activity: Arrays of Numbers - Microsoft MakeCode Arcade

    To create an array of values, you simply add square brackets following the type of the values that will be stored in the array: number[] is the type for a number array.

  10. Problem Set: Arrays of Sprites - Microsoft MakeCode Arcade

    Create an Array of Sprites that represent the crowd in a sports game. Fill it with at least 5 different sprites, and place them in different locations on the screen.