ScratchData LogoScratchData
Back to JAM58_Test's profile

Spawning System Example

JAJAM58_Test•Created October 22, 2024
Spawning System Example
9
6
78 views
View on Scratch

Description

As requested by @King_DDD_and_pokemon, a basic list spawning system -=-=-=-=-=-=-=-=-=- Try clicking on the stage! (In this example, black objects act as solids, and grey objects act as nonsolids.) Features: ◦ Basic generate system to clone entities at the start ◦ Can easily clone additional entities at any time ◦ Functions to clone a horizontal/vertical line of objects -=-=-=-=-=-=-=-=- This is the way I've been coding enemies since New Super Mario Galaxy Revamped. Instead of cloning objects in their respective sprites, this keeps all of the clone data in a list, which each sprite can read and clone from. This also makes it incredibly easy to add particles, as all you need to do is add items to the list! -=-=-=-=-=-=-=-=- (This code is a modified version of Project SEED's version, which is a little more optimized than the last system. It used to have one list to spawn things at the start, and a second for in-game spawning - now those lists have been combined into one)

Project Details

Project ID1085327703
CreatedOctober 22, 2024
Last ModifiedMarch 2, 2025
SharedOctober 22, 2024
Visibilityvisible
CommentsAllowed