TUXDB - LINUX GAMING AGGREGATE
by NuSuey
NEWSFEED
▪️ GAMES
▪️ STEAM DECK ▪️ DEALS ▪️ CROWDFUNDING ▪️ COMMUNITY
tuxdb.com logo
Support tuxDB on Patreon
Currently supported by 10 awesome people!

🌟 Special thanks to our amazing supporters:


✨ $10 Tier: [Geeks Love Detail]
🌈 $5 Tier: [Arch Toasty][Benedikt][David Martínez Martí]

Steam ImageSteam ImageSteam ImageSteam ImageSteam Image
Smiths & Legends - Game Mechanics Mondays (18th Dec 2023)

Welcome to "Game Mechanic Mondays!" where we'll be covering in-depth how things were actually programmed in Smiths & Legends! Unreal Engine operates a visual scripting language called Blueprints. This generates C++ for you, by letting you select stuff from drop-downs and linking them together in a process flow. There was also a strange bug that took a little while to fix - skip to the bottom to see details on what it was! Episode 1 - How does enemy spawning work? Today I'm going to explain how Smiths & Legends spawns monsters infinitely in each level.
The first step runs an Event called Server_MainEnemySpawn. This runs only on the server because you want the server to be the one tracking variables rather than individual clients in multiplayer. You don't want each client spawning their own enemies or that might spawn way too many and somebody (or their computer) is gonna die! We start with two variables to keep track of how many enemies to spawn in each wave - "Enemy Count Current" and "Enemy Count Start". Current will be changing throughout the level, while Start is set somewhere else based on the number of players. To begin, we set Enemy Count Current to the same value as Enemy Count Start, and then go into a function called "Spawn Mushtump". Mushtump is the name of the enemy, because they are tree stumps with a mustache. Inside the "Spawn Mushtump" function:
(click to zoom) We first check using a "Branch" that the value of "Enemy Count Current" is not zero. If it's not zero we go to "Switch on Int" and if it is zero we run an event called "Server Spawn Next Wave" (more on this later).
(click to zoom) "Switch on int" is a function that does different things depending on which number goes in to "Selection". In our case we're choosing a random integer between 1 and "Enemy Count Current" - which is used to determine which level Mushtumps spawn, randomly each time. We then reduce the "Enemy Count Current" by the level of the Mushtump. Finally, we add a delay of 1.5 seconds for a gap between enemy spawns, and loop the whole thing back to the Branch to check if "Enemy Count Current" is zero. What might happen here for example - if there's 2 players, the value of Enemy Count Current is 2, so this system has a chance of spawning either two level 1 Mushtumps, or one Level 2 Mushtump. Would you rather fight 1 giant Mushtump or 100 smaller Mushtumps? So what happens once it's spawned enough enemies? "Enemy Count Current" will be zero and the loop will identify this and run Server_NextEnemyWave:
This starts by running a function called "Increase Enemy Count":
All this does is increase the "Enemy Count Start" by a set number called "Enemy Count Increase" and resets the "Enemy Count Current" to this value. This is also based on the number of players, so the enemy count increases faster with more players.
Finally... After increasing the enemy count, we have a set "Enemy Wave Delay" then start spawning more Mushtumps. This loop continues infinitely - making each wave harder than the last... until the players complete the level or the shop is destroyed! The bug After the wave looped a couple of times, the Mushtumps would stop spawning! Can any of you figure out what was the problem? Sound off in the discussion below or on social media! Don't forget to join the Discord channel! We'll post our fix next Monday! Discord Instagram Twitter/X Facebook


[ 2023-12-18 16:00:49 CET ] [ Original post ]

Smiths & Legends
Ansarinc Developer
Ansarinc Publisher
Coming soon Release
Game News Posts: 6
🎹🖱️Keyboard + Mouse
🕹️ Partial Controller Support
🎮 Full Controller Support

Smiths & Legends is a top-down co-op blacksmithing RPG. Craft recipes within the time limit with your friends while defending your shop from monsters!

Will you remain a simple Blacksmith, or go down in history as Legend?

Story

Legends speak of a fabled Blacksmith who tried to create an unbreakable hammer...

Did he succeed? Or did something go terribly wrong?

Let's be real - there wouldn't be much of a story if something didn't go wrong...

Did that Blacksmith bring a torch to a sword fight?

Blackmithing (from scratch!)

The world of Hearth has multitude of ways to harvest and gather resources, plus a huge variety of craftable weapons, trade goods, and consumables!

Mining! (Where does that pickaxe come from?)

Woodcutting! (Or is it called lumbering? That sounds like an insult...)

Fishing! (Can any game be complete without it?)

Crafting! (Thankfully the word "open-world" is nowhere to be seen...)

The Blacksmith's World - Hearth

Traverse the 8 different biomes of Hearth, with some unintentionally funny characters to learn from.

Each biome has it's own unique recipes, consumables, enemies and bosses.

"Do you see that guy running for his life?" "Haha yeah"

Variable Difficulty

Every level has a trick to clearing it efficiently with many hidden interactable objects.

Can your keen eye figure out what needs to be done for maximum effeciency?

Are those photographs, or just a really detailed drawings?

Level up with perks!

Based on your performance in each level, you'll get exp to spend and unlock perks for your whole party!

These range from blacksmith perks such as harvesting and crafting speed, combat perks such as increased damage and max HP, and utility perks such as double jump and improved fishing ability!

Some perks are hidden by special events, hidden tasks, and bosses!

Unfortunately none of these perk books are available digitally.

4-player multiplayer co-op - Local and Online

The game can be played entirely in multiplayer with up to 4 players, and scales the difficulty based on how many of you there are!

The game also has multiple difficulty options, scaling the level requirements and monster spawns accordingly.

Warning: Friends not included

So what are you waiting for?

What do you mean the iron is still in the furnace?!


MINIMAL SETUP
  • OS: Ubuntu or equivalent
  • Processor: Intel i3-2100 / AMD A8-5600kMemory: 4 GB RAM
  • Memory: 4 GB RAM
  • Graphics: GeForce GTX 630 / Radeon HD 6570Network: Broadband Internet connection
  • Storage: 1 GB available space
GAMEBILLET

[ 6079 ]

16.99$ (15%)
26.69$ (11%)
22.98$ (23%)
16.97$ (15%)
20.65$ (17%)
21.21$ (15%)
12.71$ (15%)
8.39$ (16%)
33.59$ (16%)
16.96$ (15%)
8.44$ (16%)
8.27$ (17%)
12.71$ (15%)
4.14$ (59%)
25.19$ (16%)
12.59$ (16%)
16.99$ (15%)
12.44$ (17%)
5.77$ (17%)
8.27$ (17%)
11.56$ (11%)
12.44$ (17%)
12.74$ (15%)
5.07$ (15%)
8.25$ (17%)
17.19$ (14%)
4.12$ (17%)
16.97$ (15%)
16.57$ (17%)
4.22$ (15%)
GAMERSGATE

[ 1468 ]

4.46$ (70%)
12.0$ (80%)
0.9$ (92%)
1.7$ (91%)
0.42$ (79%)
3.75$ (62%)
9.37$ (63%)
3.4$ (66%)
2.17$ (87%)
3.74$ (81%)
1.0$ (80%)
2.1$ (79%)
1.05$ (85%)
7.65$ (62%)
2.25$ (89%)
0.85$ (91%)
7.49$ (63%)
2.55$ (91%)
1.11$ (91%)
8.5$ (66%)
0.75$ (85%)
0.84$ (58%)
1.7$ (91%)
4.5$ (70%)
2.0$ (90%)
7.92$ (74%)
8.71$ (49%)
2.55$ (91%)
1.28$ (91%)
7.44$ (79%)

FANATICAL BUNDLES

Time left:

15 days, 8 hours, 9 minutes


Time left:

356440 days, 0 hours, 9 minutes


Time left:

26 days, 8 hours, 9 minutes


Time left:

12 days, 8 hours, 9 minutes


Time left:

22 days, 8 hours, 9 minutes


Time left:

21 days, 8 hours, 9 minutes


Time left:

28 days, 8 hours, 9 minutes


Time left:

54 days, 7 hours, 9 minutes


HUMBLE BUNDLES

Time left:

13 days, 2 hours, 9 minutes

by buying games/dlcs from affiliate links you are supporting tuxDB
🔴 LIVE