Magic Weapon Icons - Mega - 2D Pixel Magic Combat Weapons and RPG Weapon Bundle by WCE Assets
Content Details
- 575 Unique pixel artwork
- Spritesheets for every resolution included
Resolution Details
- 128x128 Resolutions included
- 64x64 Resolutions included
- 32x32 Resolutions included
Format Details
- Transparent backgrounds
- PNG format
Extra Information
- Default PPU configuration, customize for specific requirements
- Spritesheets are pre-sliced for easy usage
- If re-slicing a spritesheet, use the "Grid By Cell Count" slice type for the best slicing results
Equip Yourself with the Ultimate Magic Weapon Icons Mega Pack!
This expansive mega pack combines 5 powerful collections of magic weapon icons, including Staves, Wands, Crystal Balls, Grimoires, and Totems. Perfect for enhancing your character’s magical abilities, crafting unique gear, and adding mystical depth to your gameplay experience.
Here's how this Magic Weapon Icons Mega Pack elevates your adventure:
- Discover a Variety of Magical Weapons: Access a diverse collection of magical weapons, from staves and wands to crystal balls, grimoires, and totems. Equip your character with potent tools of magic, or use them as rare loot to enrich your game world.
- Cross-Platform Compatibility: Available in 128x128, 64x64, and 32x32 resolutions, these icons seamlessly integrate across all platforms and devices.
- Optimized for Performance: Effortlessly incorporate these sprites into your project with pre-cut spritesheets, performance-optimized for each resolution.
- Effortless Integration: Each magic weapon icon comes with a transparent background in PNG format, ensuring easy placement in any digital environment.
This collection empowers you to:
- Craft a Complete Magical Arsenal: Design and create a powerful collection of magical weapons with unique attributes, enhancing your game’s magic combat system with a variety of enchanted tools.
- Improve User Experience: Develop an intuitive interface with clear, recognizable magic weapon icons, helping players manage their magical gear and select the right tool for casting spells.
- Add Strategic Depth: Offer players a wide selection of magical weapons as rare drops, crafting materials, or special rewards, encouraging creative and tactical gameplay choices.
But it doesn't stop there! This collection offers more than just stunning visuals:
- Commercial Use License: Use these icons in your personal and commercial projects without restriction.
- Free Updates: Get access to future additions and new icons to expand your collection at no extra cost.
P.S. Explore our other icon collections, featuring a variety of objects and themes to bring your world to life!
Price $16.99
Totem Icons - 2D Pixel Magic Combat Weapons and RPG Weapon Bundle by WCE Assets
Content Details
- 152 Unique pixel artwork
- Spritesheets for every resolution included
Resolution Details
- 128x128 Resolutions included
- 64x64 Resolutions included
- 32x32 Resolutions included
Format Details
- Transparent backgrounds
- PNG format
Extra Information
- Default PPU configuration, customize for specific requirements
- Spritesheets are pre-sliced for easy usage
- If re-slicing a spritesheet, use the "Grid By Cell Count" slice type for the best slicing results
Equip Yourself with Mystical Totem Icons!
This captivating set of totem icons features powerful, magical artifacts, perfect for enhancing your character’s spellcasting abilities, crafting unique gear, and adding mystical depth to your gameplay experience.
Here's how these Totem Icons elevate your adventure:
- Discover a Variety of Totem Designs: Explore a diverse collection of totem styles, each with unique magical properties. Equip your character, enhance your magical abilities, or use them as valuable loot to enrich your game world.
- Cross-Platform Compatibility: Available in 128x128, 64x64, and 32x32 resolutions, these totem icons seamlessly integrate across all platforms and devices.
- Optimized for Performance: Effortlessly incorporate these sprites into your project with pre-cut spritesheets, performance-optimized for each resolution.
- Effortless Integration: Each totem icon comes with a transparent background in PNG format, ensuring easy placement in any digital environment.
This collection empowers you to:
- Craft Mystical Totems: Design and create powerful totems with unique styles and attributes, enhancing your game’s magic combat system with enchanted artifacts that grant unique abilities.
- Improve User Experience: Develop an intuitive interface with clear, recognizable totem icons, helping players manage their magical items and select the perfect totem for their spellcasting needs.
- Add Strategic Depth: Offer players a wide selection of totems as rare drops, crafting materials, or special rewards, encouraging creative and tactical gameplay choices.
But it doesn't stop there! This collection offers more than just stunning visuals:
- Commercial Use License: Use these icons in your personal and commercial projects without restriction.
- Free Updates: Get access to future additions and new icons to expand your collection at no extra cost.
P.S. Explore our other icon collections, featuring a variety of objects and themes to bring your world to life!
Price $4.99
Grimoire Icons - 2D Pixel Magic Combat Weapons and RPG Weapon Bundle by WCE Assets
Content Details
- 92 Unique pixel artwork
- Spritesheets for every resolution included
Resolution Details
- 128x128 Resolutions included
- 64x64 Resolutions included
- 32x32 Resolutions included
Format Details
- Transparent backgrounds
- PNG format
Extra Information
- Default PPU configuration, customize for specific requirements
- Spritesheets are pre-sliced for easy usage
- If re-slicing a spritesheet, use the "Grid By Cell Count" slice type for the best slicing results
Equip Yourself with Powerful Grimoire Icons!
This mystical set of grimoire icons features intricately designed magical tomes, perfect for enhancing your character’s spellcasting abilities, crafting unique gear, and adding depth to your gameplay experience.
Here's how these Grimoire Icons elevate your adventure:
- Discover a Variety of Grimoire Designs: Explore a diverse collection of grimoire styles, each imbued with unique magical symbols. Equip your character, enhance spellcasting tools, or use them as valuable loot to enrich your game world.
- Cross-Platform Compatibility: Available in 128x128, 64x64, and 32x32 resolutions, these grimoire icons seamlessly integrate across all platforms and devices.
- Optimized for Performance: Effortlessly incorporate these sprites into your project with pre-cut spritesheets, performance-optimized for each resolution.
- Effortless Integration: Each grimoire icon comes with a transparent background in PNG format, ensuring easy placement in any digital environment.
This collection empowers you to:
- Craft Magical Books: Design and create powerful grimoires with unique styles and attributes, enhancing your game’s magic combat options.
- Improve User Experience: Develop an intuitive interface with clear, recognizable grimoire icons, helping players manage their magical arsenal and select the right tome for casting spells.
- Add Strategic Depth: Offer players a wide selection of grimoires as rare drops, crafting materials, or special rewards, encouraging creative and strategic gameplay choices.
But it doesn't stop there! This collection offers more than just stunning visuals:
- Commercial Use License: Use these icons in your personal and commercial projects without restriction.
- Free Updates: Get access to future additions and new icons to expand your collection at no extra cost.
P.S. Explore our other icon collections, featuring a variety of objects and themes to bring your world to life!
Price $4.99
Crystal Ball Icons - 2D Pixel Magic Combat Weapons and RPG Weapon Bundle by WCE Assets
Content Details
- 88 Unique pixel artwork
- Spritesheets for every resolution included
Resolution Details
- 128x128 Resolutions included
- 64x64 Resolutions included
- 32x32 Resolutions included
Format Details
- Transparent backgrounds
- PNG format
Extra Information
- Default PPU configuration, customize for specific requirements
- Spritesheets are pre-sliced for easy usage
- If re-slicing a spritesheet, use the "Grid By Cell Count" slice type for the best slicing results
Equip Yourself with Mystical Crystal Ball Icons!
This enchanting set of crystal ball icons features elegant, magical orbs, perfect for enhancing your character’s spellcasting abilities, crafting unique gear, and adding depth to your gameplay experience.
Here's how these Crystal Ball Icons elevate your adventure:
- Discover a Variety of Crystal Ball Designs: Explore a diverse collection of crystal ball styles, each imbued with unique magical properties. Equip your character, enhance your magic arsenal, or use them as valuable loot to enrich your game world.
- Cross-Platform Compatibility: Available in 128x128, 64x64, and 32x32 resolutions, these crystal ball icons seamlessly integrate across all platforms and devices.
- Optimized for Performance: Effortlessly incorporate these sprites into your project with pre-cut spritesheets, performance-optimized for each resolution.
- Effortless Integration: Each crystal ball icon comes with a transparent background in PNG format, ensuring easy placement in any digital environment.
This collection empowers you to:
- Craft Magical Tools: Design and create powerful crystal balls with unique styles and attributes, perfect for enhancing your magic combat system.
- Improve User Experience: Develop an intuitive interface with clear, recognizable crystal ball icons, helping players manage their magical abilities and select the right orb for casting spells.
- Add Strategic Depth: Offer players a wide selection of crystal balls as rare drops, crafting materials, or special rewards, encouraging creative and tactical gameplay choices.
But it doesn't stop there! This collection offers more than just stunning visuals:
- Commercial Use License: Use these icons in your personal and commercial projects without restriction.
- Free Updates: Get access to future additions and new icons to expand your collection at no extra cost.
P.S. Explore our other icon collections, featuring a variety of objects and themes to bring your world to life!
Price $4.99
Wand Icons - 2D Pixel Magic Combat Weapons and RPG Weapon Bundle by WCE Assets
Content Details
- 120 Unique pixel artwork
- Spritesheets for every resolution included
Resolution Details
- 128x128 Resolutions included
- 64x64 Resolutions included
- 32x32 Resolutions included
Format Details
- Transparent backgrounds
- PNG format
Extra Information
- Default PPU configuration, customize for specific requirements
- Spritesheets are pre-sliced for easy usage
- If re-slicing a spritesheet, use the "Grid By Cell Count" slice type for the best slicing results
Equip Yourself with Enchanted Wand Icons!
This magical set of wand icons features elegant, powerful instruments of magic, perfect for enhancing your character’s spellcasting abilities, crafting unique gear, and adding enchantment to your gameplay experience.
Here's how these Wand Icons elevate your adventure:
- Discover a Variety of Wand Designs: Explore a collection of wand styles, each with its own distinct magical properties. Equip your character, enhance your magical arsenal, or use them as valuable loot to enrich your game world.
- Cross-Platform Compatibility: Available in 128x128, 64x64, and 32x32 resolutions, these wand icons seamlessly integrate across all platforms and devices.
- Optimized for Performance: Effortlessly incorporate these sprites into your project with pre-cut spritesheets, performance-optimized for each resolution.
- Effortless Integration: Each wand icon comes with a transparent background in PNG format, ensuring easy placement in any digital environment.
This collection empowers you to:
- Craft Powerful Wands: Design and create wands with unique styles and attributes, boosting your game’s magic combat system with versatile and potent magical tools.
- Improve User Experience: Develop an intuitive interface with clear, recognizable wand icons, helping players manage their magical items and select the perfect wand for casting spells.
- Add Strategic Depth: Offer players a wide selection of wands as rare drops, crafting materials, or special rewards, encouraging creative and tactical gameplay choices.
But it doesn't stop there! This collection offers more than just stunning visuals:
- Commercial Use License: Use these icons in your personal and commercial projects without restriction.
- Free Updates: Get access to future additions and new icons to expand your collection at no extra cost.
P.S. Explore our other icon collections, featuring a variety of objects and themes to bring your world to life!
Price $4.99
Staff Icons - 2D Pixel Magic Combat Weapons and RPG Weapon Bundle by WCE Assets
Content Details
- 123 Unique pixel artwork
- Spritesheets for every resolution included
Resolution Details
- 128x128 Resolutions included
- 64x64 Resolutions included
- 32x32 Resolutions included
Format Details
- Transparent backgrounds
- PNG format
Extra Information
- Default PPU configuration, customize for specific requirements
- Spritesheets are pre-sliced for easy usage
- If re-slicing a spritesheet, use the "Grid By Cell Count" slice type for the best slicing results
Equip Yourself with Powerful Staff Icons!
This magical set of staff icons features elegant, potent wands, perfect for enhancing your character’s spellcasting abilities, crafting unique gear, and adding depth to your gameplay experience.
Here's how these Staff Icons elevate your adventure:
- Discover a Variety of Staff Designs: Explore a diverse collection of staff styles, each with unique magical properties. Equip your character, enhance your spellcasting arsenal, or use them as valuable loot to enrich your game world.
- Cross-Platform Compatibility: Available in 128x128, 64x64, and 32x32 resolutions, these staff icons seamlessly integrate across all platforms and devices.
- Optimized for Performance: Effortlessly incorporate these sprites into your project with pre-cut spritesheets, performance-optimized for each resolution.
- Effortless Integration: Each staff icon comes with a transparent background in PNG format, ensuring easy placement in any digital environment.
This collection empowers you to:
- Craft Magical Staffs: Design and create powerful staffs with unique styles and attributes, perfect for boosting your game’s magic combat system.
- Improve User Experience: Develop an intuitive interface with clear, recognizable staff icons, helping players manage their magical items and select the right staff for casting spells.
- Add Strategic Depth: Offer players a wide selection of staffs as rare drops, crafting materials, or special rewards, encouraging creative and tactical gameplay choices.
But it doesn't stop there! This collection offers more than just stunning visuals:
- Commercial Use License: Use these icons in your personal and commercial projects without restriction.
- Free Updates: Get access to future additions and new icons to expand your collection at no extra cost.
P.S. Explore our other icon collections, featuring a variety of objects and themes to bring your world to life!
Price $4.99
Ranged Weapon Icons - Mega - 2D Pixel Range Combat Weapons and RPG Weapon Bundle by WCE Assets
Content Details
- 552 Unique pixel artwork
- Spritesheets for every resolution included
Resolution Details
- 128x128 Resolutions included
- 64x64 Resolutions included
- 32x32 Resolutions included
Format Details
- Transparent backgrounds
- PNG format
Extra Information
- Default PPU configuration, customize for specific requirements
- Spritesheets are pre-sliced for easy usage
- If re-slicing a spritesheet, use the "Grid By Cell Count" slice type for the best slicing results
Equip Yourself with the Ultimate Ranged Weapon Icons Mega Pack!
This comprehensive mega pack combines five powerful collections of ranged weapon icons, including Bows, Crossbows, Throwing Knives, Shuriken, and Arrows. Perfect for enhancing your character’s ranged combat abilities, crafting unique gear, and adding tactical depth to your gameplay experience.
Here's how this Ranged Weapon Icons Mega Pack elevates your adventure:
- Discover a Variety of Ranged Weapons: Access a diverse selection of ranged weapons with unique designs for each weapon type. From bows and crossbows to throwing knives, shuriken, and arrows, equip your character with versatile ranged weapons or use them as valuable loot to enrich your game world.
- Cross-Platform Compatibility: Available in 128x128, 64x64, and 32x32 resolutions, these icons seamlessly integrate across all platforms and devices.
- Optimized for Performance: Effortlessly incorporate these sprites into your project with pre-cut spritesheets, performance-optimized for each resolution.
- Effortless Integration: Each ranged weapon icon comes with a transparent background in PNG format, ensuring easy placement in any digital environment.
This collection empowers you to:
- Craft a Complete Ranged Arsenal: Design and create a powerful, diverse range of ranged weapons with unique attributes, expanding your game’s combat system with versatile tools for ranged attacks.
- Improve User Experience: Develop an intuitive interface with clear, recognizable weapon icons, helping players manage their ranged weaponry and make the best strategic choices in combat.
- Add Strategic Depth: Offer players a wide selection of ranged weapons as rare drops, crafting materials, or special rewards, encouraging creative and tactical gameplay choices.
But it doesn't stop there! This collection offers more than just stunning visuals:
- Commercial Use License: Use these icons in your personal and commercial projects without restriction.
- Free Updates: Get access to future additions and new icons to expand your collection at no extra cost.
P.S. Explore our other icon collections, featuring a variety of objects and themes to bring your world to life!
Price $16.99
Shuriken Icons - 2D Pixel Ranged Combat Weapons and RPG Weapon Bundle by WCE Assets
Content Details
- 112 Unique pixel artwork
- Spritesheets for every resolution included
Resolution Details
- 128x128 Resolutions included
- 64x64 Resolutions included
- 32x32 Resolutions included
Format Details
- Transparent backgrounds
- PNG format
Extra Information
- Default PPU configuration, customize for specific requirements
- Spritesheets are pre-sliced for easy usage
- If re-slicing a spritesheet, use the "Grid By Cell Count" slice type for the best slicing results
Equip Yourself with Stealthy Shuriken Icons!
This dynamic set of shuriken icons features sharp, fast projectiles, perfect for enhancing your character’s ranged combat abilities, crafting unique gear, and adding tactical depth to your gameplay experience.
Here's how these Shuriken Icons elevate your adventure:
- Discover a Variety of Shuriken Designs: Explore a diverse collection of shuriken styles, each with unique shapes and features. Equip your character, enhance your ranged arsenal, or use them as valuable loot to enrich your game world.
- Cross-Platform Compatibility: Available in 128x128, 64x64, and 32x32 resolutions, these shuriken icons seamlessly integrate across all platforms and devices.
- Optimized for Performance: Effortlessly incorporate these sprites into your project with pre-cut spritesheets, performance-optimized for each resolution.
- Effortless Integration: Each shuriken icon comes with a transparent background in PNG format, ensuring easy placement in any digital environment.
This collection empowers you to:
- Craft Stealthy Weapons: Design and create powerful shurikens with unique styles and attributes, enhancing your game’s ranged combat system for quick, stealthy attacks.
- Improve User Experience: Develop an intuitive interface with clear, recognizable shuriken icons, helping players manage their inventory and choose the right throwing star for their combat strategy.
- Add Strategic Depth: Offer players a wide selection of shurikens as rare drops, crafting materials, or special rewards, encouraging creative and strategic gameplay choices.
But it doesn't stop there! This collection offers more than just stunning visuals:
- Commercial Use License: Use these icons in your personal and commercial projects without restriction.
- Free Updates: Get access to future additions and new icons to expand your collection at no extra cost.
P.S. Explore our other icon collections, featuring a variety of objects and themes to bring your world to life!
Price $4.99
Main Menu - Dark Duty by Crystal Code Pro
Key Features of the **Dark Duty Unity Package**:
1. **Sleek Dark-Themed UI**: Professionally designed, modern dark aesthetics for immersive user interfaces.
2. **Highly Customizable**: Easily adjust colors, fonts, layouts, and animations to fit your project's branding.
3. **Modular Components**: Includes buttons, sliders, pop-ups, menus, loading screens, and more.
4. **Smooth Animations**: Predefined transitions and animations for a polished feel.
5. **Genre Flexibility**: Ideal for sci-fi, cyberpunk, horror, minimalist, and futuristic themes.
6. **Optimized Performance**: Lightweight and optimized for both PC and mobile platforms.
7. **Responsive Design**: Scales seamlessly across different resolutions and devices.
8. **Easy Integration**: Plug-and-play setup with detailed documentation to speed up development.
9. **Unity-Compatible**: Fully compatible with Unity's latest versions and standard UI workflows.
10. **Support and Updates**: Ongoing updates and dedicated support to enhance features and fix issues.
This package is perfect for developers seeking to add professional, dark-themed UI quickly and efficiently.
The **Dark Duty Unity package** offers a collection of professionally designed, dark-themed UI components, including menus, buttons, sliders, and pop-ups. These elements are highly customizable, allowing users to adjust colors, fonts, layouts, and animations to suit their project's specific needs.
While the package is versatile and can be adapted to various genres, it particularly suits projects like sci-fi, cyberpunk, horror, and minimalist themes, where sleek and moody aesthetics enhance the user experience.
Price $19.99
Portals (Shaders and VFX) by Mirza Beig
🌀 The most advanced visual effects for rendering portals.
✨ If you're looking for -the best- looking (Valve-inspired) portals for your game, then look no further: this asset has all the prefabs (classic blue/orange 🔵🟠), shaders, particle systems, and post-processing effects you need.
✨ Everything is rendered procedurally, with exposed properties and sliders to tune the visuals and colours exactly to your liking. Prefabs are setup in layers, so you can toggle parts of it on/off to tune the performance further.
✨ You can even render multiple distortion waves for objects nearby or passing through, and apply custom post-processing lighting and grid projection over them, like a Stargate!
⚠️ This asset is most suitable for desktop rendering. Mobile, XR, and Web have limited support due to platform/performance considerations.
NOTE: This asset contains everything seen in the promo images, but is not itself a functional portal system or renderer - you will need to setup your own portal cameras and traversal.
Price $20.00
3D Spaceships MEGA Pack #6m by Entian-Astea
Each spaceship contains a mesh collider specifically designed for it, under the name name-of-spaceship_spaceship_N_env_01
Number of textures: 5 textures per ship - 1 albedo transparency, 1 Ambient Occlusion, 1 Emission, 1 Metallic Smoothness, 1 Normal Map
Texture dimensions: 2048 x2048
Polygon count of:
- Anubis Spaceship - Tris 11 364 without collider / 16 206 with mesh collider
- Ventura Spaceship - Tris 15 016 without collider / 18 074 with mesh collider
- Xeno-Mantis Spaceship - Tris 28 732 without collider / 34 490 with mesh collider
- Rikka IFO Spaceship - Tris 24113 without collider / 34412 with mesh collider
- Beluga 63 Spaceship - Tris 22458 without collider / 36998 with mesh collider
- Typhoon Spaceship - Tris 24440 without collider / 31156 with mesh collider
- Xeno Stinger Spaceship - Tris 18359 without collider / 23757 with mesh collider
Minimum polygon count: see above without collider
Maximum polygon count: see above with mesh collider
Number of meshes/prefabs: 2 per ship / mesh collider & ship geometry
Rigging: No
UV mapping: Yes - UV 1
Types of materials and texture maps - PBR metal rough
This pack contains 7 sci-fi 3D models of spaceships: Anubis Spaceship, Ventura Spaceship, Xeno-Mantis Spaceship, Rikka IFO Spaceship, Beluga 63 Spaceship, Typhoon Spaceship, Xeno Stinger Spaceship.
The models can be used for a variety of projects such as mobile and pc games.
For technical details see next section below.
Price $74.99
Samurai Mask 3 by Valeria Miller
Number of textures 31
Texture dimensions 4096x4096
Maximum polygon count 1028
Number of meshes/prefabs 5
UV mapping: Yes
LOD information (count, number of levels) no
Types of materials and texture maps (e.g., PBR) yes
3D model Samurai Mask 3 Contains has 5 skins, textures and materials. All textures 4096x4096 PBR, Metall/Rough, include AO, Height map, Mask map for HDRP. Game ready. Suits for male and female characters.
Contains Low poly and High Poly variations.
All texture can be compressed to 1024x1024 without loss much quality. Mask without backfase. ready for render. Mask has separeted lights and strap.
5 Skins
Samurai Mask 3 - 1028 polygons
High poly mask
Materials - 5
Textures - 31
Price $6.00
Modular Battle System by MattJModular
Battle System Details:
1. Battle States: Defining the Flow of Combat
The main flow control for this battle system is an enumeration called BattleState, with three states:
- Idle: The initial, non-active state. Here, the battle is not started, and no waves or enemies are active.
- Active: Once the battle begins, it moves into this state, where waves and enemies spawn and fight against the player.
- Finished: This state signals the end of the battle, triggered when all waves are completed and no more enemies are left.
The variable currentState is used to track which state the battle is currently in, ensuring smooth transitions through the phases of combat.
2. Battle Start and Wave Initialization
When the player initiates combat, the StartBattle method is called:
- The battle begins only if currentState is Idle.
- The method switches currentState to Active and starts the first wave by calling StartNextWave.
- This ensures that the battle only begins once and progresses in an orderly fashion through each wave.
Each wave is handled by an instance of the Wave class, which contains an array of Enemy Spawners. This wave-based approach allows for organized and escalating enemy encounters, as each wave is managed individually.
3. Wave Management: Starting and Updating Waves
In the Update method:
- While in the Active state, the system checks the currentWaveIndex, which tracks the progression of waves.
- If currentWaveIndex is less than the total number of waves, the current wave is accessed and updated continuously through UpdateWave().
- This allows each active wave to spawn and update its enemies in real-time, maintaining active engagement until the wave is completed.
The wave progression is handled by StartNextWave, incrementing currentWaveIndex and initiating the subsequent wave’s spawners, which introduce new challenges to the player. If currentWaveIndex exceeds the total number of waves, it calls EndBattle, concluding the combat.
4. Ending the Battle
When all waves have been completed:
- EndBattle sets currentState to Finished.
- This triggers onBattleEnd, a UnityEvent that can be used to notify other game systems or trigger UI changes, like displaying a victory message.
Additionally, a log entry (Debug.Log("Battle Finished")) indicates the end of the battle for debugging or testing purposes.
5. Wave Class: Controlling Enemy Spawners
The Wave class contains:
- An array of Enemy Spawners, each responsible for managing a portion of the enemies.
- A series of methods, StartWave, UpdateWave, and IsWaveOver, that regulate the spawning and completion of each wave.
- Starting and Updating a Wave
When StartWave is called, it iterates over each spawner in spawners, calling StartSpawning() to initiate enemy creation. During the wave, UpdateWave() continuously calls UpdateSpawning() on each spawner, keeping enemies active and their states up-to-date.
- Wave Completion Check
The method IsWaveOver() checks if all enemies within the wave have been defeated:
- It iterates over each spawner in spawners, checking if AreAllEnemiesDead() returns true.
- If any spawner still has active enemies, IsWaveOver() returns false, indicating the wave is not yet over.
- Once all spawners confirm that their enemies are defeated, IsWaveOver() returns true, signaling that the wave is complete and allowing the battle system to proceed to the next wave.
6. Modular Design for Flexibility and Expansion
This battle system is designed with modularity, allowing easy adjustment or expansion:
- Waves and Enemy Spawners: Each wave is independently defined, enabling developers to customize waves or add more by simply increasing the waves array.
- State-driven Control: Using BattleState to manage the flow ensures that transitions are predictable and controlled, allowing for additional states or conditions if needed.
- Unity Events: The onBattleEnd event allows developers to extend functionality at the battle’s conclusion, such as initiating new events, UI transitions, or rewards for the player
Summary of Key Features
- Battle Flow Control through BattleState (Idle, Active, Finished)
- Wave-based Combat System managed by Wave and EnemySpawner classes
- Real-time Wave Updates and progression tracking with UpdateWave and IsWaveOver
- Modular and Extendable Design for ease of customization and potential expansion
Enemy Spawner Details:
1. Key Variables: Controlling Spawning Behavior
The script’s core functionality revolves around several key variables:
- enemyPrefab: Holds the prefab for the enemy to spawn, serving as a template for all enemies generated by this spawner. This allows you to assign different enemy types to different spawners for varied gameplay.
- spawnPoint: The location from which enemies are spawned, initialized to the spawner’s transform in Start(). This can be modified to spawn enemies at a specific point or position in the game environment.
- enemiesToSpawn: Specifies the total number of enemies that this spawner should create in one cycle. As enemies are spawned, this count decreases until it reaches zero, at which point spawning concludes.
- spawnDelay: Sets the delay (in seconds) between each enemy spawn, allowing for gradual enemy appearance rather than spawning all at once. This staggered spawning contributes to a more engaging combat flow.
- spawnedEnemies: A list that stores references to each enemy spawned by this spawner. It allows tracking of the enemies' status, enabling cleanup and completion checks as the enemies are defeated or removed.
2. Start Method: Initial Setup
The Start() method initializes the spawnPoint to the object’s own transform if not set otherwise. This default behavior simplifies setup by allowing the spawner to use its own location unless directed to a different spawn point. It makes the script versatile and reduces the need for specific configuration unless explicitly desired.
3. Starting Spawning: StartSpawning Method
When StartSpawning() is called, the spawner becomes active, preparing it to spawn enemies:
- Activates Spawning: Sets spawningActive to true, allowing the spawner to begin generating enemies when UpdateSpawning() is called.
- Resets the Timer: Initializes spawnTimer to spawnDelay, ensuring that the delay timing starts fresh each time spawning begins.
This method provides flexibility, as it allows external scripts (such as the Wave manager) to control when the spawner becomes active, enabling precise control over wave timing and pacing.
4. Update Method: Managing the Spawn Cycle with UpdateSpawning
The UpdateSpawning() method controls the timing and conditions for enemy spawning, executing as long as spawning is active and enemies remain to be spawned:
- Decrements the Timer: The spawnTimer is reduced by Time.deltaTime on each frame, creating a countdown between enemy spawns.
- Spawns on Timer: When spawnTimer reaches zero, SpawnEnemy() is called, which creates a new enemy at the specified spawn point.
- Resets the Timer: After each spawn, spawnTimer is reset to spawnDelay, creating a consistent delay between enemy appearances.
This timing mechanism allows for a staggered spawn effect, avoiding overwhelming the player with a flood of enemies. Instead, it delivers a steady flow, increasing the intensity and pacing of the gameplay.
5. Enemy Creation: SpawnEnemy Method
The SpawnEnemy() method generates a new enemy instance:
- Instantiates Enemy: A new enemy is instantiated using Instantiate(), based on the enemyPrefab, and placed at spawnPoint.position with spawnPoint.rotation.
- Tracks Spawned Enemies: Each spawned enemy is added to the spawnedEnemies list for tracking purposes. This list is crucial for determining which enemies remain active and for managing the cleanup of defeated enemies.
- Decreases Enemy Count: enemiesToSpawn is decremented by 1 after each spawn. When enemiesToSpawn reaches zero, no more enemies are created, signaling that the spawner has fulfilled its quota.
This method gives precise control over each individual enemy's creation, allowing for on-the-fly customization and control over where and how each enemy enters the game.
6. Enemy Tracking and Completion Check: AreAllEnemiesDead Method
The AreAllEnemiesDead() method provides a way to determine if all spawned enemies have been defeated:
- Cleans Up Null Entries: Any null entries (destroyed or defeated enemies) are removed from spawnedEnemies using RemoveAll. This ensures that only active enemies are considered in the list, keeping memory usage efficient and enabling accurate tracking.
- Checks Enemy Count: Returns true if both spawnedEnemies is empty and enemiesToSpawn is zero. This condition indicates that all intended enemies have been spawned and subsequently defeated, signaling that the wave is complete.
This completion check is crucial for managing wave progression, as it enables the wave manager to confirm the spawner’s job is done and transition to the next wave or trigger end-of-wave actions.
7. Modular and Adaptable Design
The structure of this Enemy Spawner script is highly modular and adaptable, with several design choices that make it easy to reuse and customize:
- Customizable Spawn Points: You can assign specific spawn points to each spawner, giving flexibility to control enemy entry points and adjust them for different levels or battle arenas.
- Adjustable Spawn Delay and Count: With spawnDelay and enemiesToSpawn, developers can control the rate and volume of enemies for each spawner, enabling tailored pacing for each wave or level.
- Tracking and Cleanup: By keeping a spawnedEnemies list and a clean-up function, the script ensures efficient memory use and allows precise tracking of enemy status, helping to prevent performance issues as the game progresses.
This a Battle System Solution is a very modular system, and very easy to use as well as understandable, customizable and very easy to use for beginners and would be very simple to use for expert and intermediate programmers like me.
I created this very Battle System for my Game MechVania, which I Published on Itch.io:
https://mattjgames.itch.io/mechvania.
Price $7.00
Dynamic Platform Motion Pack (3D) by T0M1
- Unity Versions Supported: Unity 2021.1 and above.
- Platform Types: Rigidbody-based and Transform-based movement controllers.
- Movement Types: Manual control, automated looping movement.
- Customizable Settings:Movement Speed: Adjustable via serialized field.
Movement Curve: Custom easing using AnimationCurve.
Platform State: Open/closed, toggleable with UnityEvents for state changes. - Events: Built-in UnityEvents to trigger on platform open/close.
- Debug Tools: Visual Gizmos to display open/closed states in Scene View.
- Editor Enhancements: Custom editor script for easy setup and control.
- Components Required: MeshRenderer, MeshFilter (automatically assigned if missing).
The pack provides flexibility for creating interactive platforms, such as elevators, moving blocks, or doors, by utilizing different movement mechanisms while offering full customization options.
Dynamic Platform Motion Pack is an easy-to-use Unity toolkit that makes platform movements a breeze. It features drag-and-drop scripts that offer both Rigidbody and Transform-based controls, with highly customizable settings for speed, movement curves, and smooth transitions.
Key Features:
- Drag-and-drop setup with minimal configuration.
- Supports Rigidbody and Transform-based platform animations.
- Manual or automated movement options.
- Real-time editing and visual gizmos to show the exact object position.
- Customizable speed, rotation, scale, and movement curves.
- Events for open/close transitions.
- Debug tools with visual gizmos for easy visualization.
Ideal for adding dynamic elements, moving obstacles, or interactive platforms to your game, making it super easy to achieve professional, polished platform behavior.
Price $4.99
Stylized watercraft pack by lowpoly89
Number of textures - 5
Texture dimensions - 1024*1024
Minimum polygon count - 100
Maximum polygon count - 2800 (red boat)
Number of meshes/prefabs 6/16
Rigging: No
UV mapping: Yes
LODs: No
The models are optimized for mobile devices and virtual reality, featuring a minimal polygon count and utilizing a single texture.
The pack also includes stylized animated water, with customizable colors to match your scene.
Additionally, you can easily edit and adjust the colors of the models using Photoshop, giving you full creative control.
Includes stylized skybox
Here you can download a complete beach pack.
Price $6.00
Scifi Robot Warrior by Aozora
Technical Details:
Rigged: Yes.
IK bones are included: Yes
Number of characters: 1
Animation count:7
Number of textures:122(IDMasks+Skin1+Skin2)
Vertex counts of characters: 64082,tris-126258
Texture dimensions:4096x4096
Types of materials and texture maps:PBR.Metallic Roughness.
UV mapping: Yes
Contains 2 unique skins & Fully PBR 4K textures.
This character is rigged and can be used with Humanorid animations.The material is already set up, including a set of preview animations (idle, walk, run, jump Cycle(Start,End,Loop)).
Price $10.00
Mace Locomotion Anim Set by MotionCapify
Number of Animations: 48
Animation types : Root Motion
Discord :- Link
Animation List
- Attack - 15
- Impact - 4
- Block - 3
- Crouch - 4
- Idle - 9
- Jump - 1
- TurnInPlace - 4
- Walk - 8
Price $10.00
Cute Fantasy Dungeon - 16x16 top down asset pack by Kenmi
Sizes - 16x16
File count - 253
Package Content:
- 2 Dungeon tilesets.
- Floor, wall, stairs tiles.
- Pillars.
- Arches.
- Openable doors, gates.
- Various decorations like:
- Spiderwebs.
- Torches.
- Broken bricks.
- Boxes.
- Statue.
- Pots / Jars.
- Chest.
- Lever.
- Crosses.
- Memorials.
- Floor Spikes.
- Crossbow trap.
Price $4.99
Simple UI Animation System by Graphie
Key Features
- 2 Top Navbar with Highlight System (Focus Bar)
- 1 Smooth Toggle Animation System
- 1 Animated Selector System
- 2 Hover Button Animation System
- 3 Button Hold Animation System
Sprites
- 4 PNG image sources
This package uses built-in Unity Image System, you can apply this UI Animation system using another UI Image Package. Improve you toggle, navbar, selector, and button for your game UI.
Key Features
- 2 Top Navbar with Highlight System (Focus Bar)
- 1 Smooth Toggle Animation System
- 1 Animated Selector System
- 2 Hover Button Animation System
- 3 Button Hold Animation System
Price $6.39