Skip to main content
4 votes
Accepted

How to properly split damage against armor?

If I've understood correctly, I'd do this as a two step process... Calculate how much the armor absorbs, then apply the rest to the player. Something like: ...
Basic's user avatar
  • 1,278
2 votes

In my Roblox Tycoon game, my button is not working

Let's look at line 42: if purchasedItems:WaitForChild(v.Dependency.Value) then And next let's look at the documentation for Instance:WaitForChild(): This function ...
Pikalek's user avatar
  • 12.4k
2 votes
Accepted

Why check the ball and brick collision twice?

The double check aspect of the code is discussed at this point in the video. The first check lets you know that some sort of collision occurred. However, in order to bounce the ball correctly, you ...
Pikalek's user avatar
  • 12.4k
1 vote

Implementing framerate independent friction with linear deceleration

The problem you're running into is that you're performing numeric integration with a varying step size. In all but the simplest case (movement at a constant speed), this produces results that vary ...
Mark's user avatar
  • 353
1 vote

How to go about executing lua scripts in a ECS engine?

If your game engine is based on the ECS paradigm, then it could make sense if that paradigm is represented in the scripting system as well. Which would mean that Lua is used to define and implement ...
Philipp's user avatar
  • 120k
1 vote

Attempt to call missing method - Lua (Roblox studio)

its supposed to be local playerKey = playerLeagueUpdateModel.GetPlayerKey() with a dot
A K O V's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible