Skip to content

Commit f72a77f

Browse files
Merge pull request #62 from weenachuangkud/weenachuangkud-tag-fix
Fix HTML line break tag in README.md
2 parents 09b4b69 + 95ee24c commit f72a77f

3 files changed

Lines changed: 33 additions & 20 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Unofficial continuation of FastCast for Roblox
2929
</div>
3030

3131

32-
</br>
32+
<br>
3333

3434
**FastCast2** It's a **Roblox projectile library**, designed to simulate **thousands** of projectiles without relying on physics replication. <br>
3535
Because FastCast is no longer actively maintained by [EtiTheSpirit](https://github.com/EtiTheSpirit), this repository continues the project with updates and adaptations.

README.th.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
</div>
3030

31-
**FastCast2** เป็น **ไลบรารีโปรเจกไทล์ของ Roblox** ออกแบบมาเพื่อจำลอง**หลายพันโปรเจกไทล์** โดยไม่ต้องพึ่งพาการจำลองฟิสิกส์ </br>
31+
**FastCast2** เป็น **ไลบรารีโปรเจกไทล์ของ Roblox** ออกแบบมาเพื่อจำลอง**หลายพันโปรเจกไทล์** โดยไม่ต้องพึ่งพาการจำลองฟิสิกส์ <br>
3232
เนื่องจาก FastCast ไม่ได้รับการบำรุงรักษาอย่างแข็งขันโดย [EtiTheSpirit](https://github.com/EtiTheSpirit) ที่เก็บนี้จึงดำเนินโครงการต่อไปด้วยการปรับปรุงและปรับตัว
3333

3434
---

docs/intro.md

Lines changed: 31 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,31 @@ sidebar_position: 1
1414
/>
1515
</div>
1616

17-
![Roblox](https://img.shields.io/badge/made%20for-Roblox-blue?style=for-the-badge&logo=roblox)
18-
![Luau](https://img.shields.io/badge/language-Luau-blueviolet?style=for-the-badge)
17+
<div align="center">
18+
19+
Unofficial continuation of FastCast for Roblox
20+
21+
**An improved version of [FastCast](https://etithespir.it/FastCastAPIDocs/)** with **Parallel scripting**, **more extensions**, and **statically typed**. <br /> **A powerful modern projectile** library
22+
23+
</div>
24+
25+
<div align="center">
26+
1927
![GitHub release](https://img.shields.io/github/v/release/weenachuangkud/FastCast2?style=for-the-badge)
2028
[![DevForum](https://img.shields.io/badge/discuss-DevForum-orange?style=for-the-badge&logo=roblox)](https://devforum.roblox.com/t/fastcast2-an-improved-version-of-fastcast-with-parallel-scripting-more-extensions-and-statically-typed/4093890)
2129

22-
# FastCast2
30+
[English](README.md) |
31+
[ภาษาไทย](README.th.md)
2332

24-
> Unofficial continuation of FastCast for Roblox
33+
</div>
2534

26-
**An improved version of [FastCast](https://etithespir.it/FastCastAPIDocs/)** with **Parallel scripting**, **more extensions**, and **statically typed**. <br /> **A powerful modern projectile** library
2735

28-
**FastCast2** It's a **Roblox projectile library** powered by [VMsDispatcher](https://github.com/weenachuangkud/VMsDispatcher) designed to simulate **thousands** of projectiles without relying on physics replication.
36+
<br>
2937

38+
**FastCast2** It's a **Roblox projectile library**, designed to simulate **thousands** of projectiles without relying on physics replication. <br>
3039
Because FastCast is no longer actively maintained by [EtiTheSpirit](https://github.com/EtiTheSpirit), this repository continues the project with updates and adaptations.
3140

32-
<br />
41+
---
3342

3443
# Benefits of using FastCast2
3544

@@ -306,22 +315,22 @@ Modify active casts at runtime using the static `FastCast` methods:
306315

307316
```lua
308317
-- Read state
309-
local pos = FastCast2.GetPositionCast(cast)
310-
local vel = FastCast2.GetVelocityCast(cast)
311-
local accel = FastCast2.GetAccelerationCast(cast)
318+
local pos = FastCast2:GetPositionCast(cast)
319+
local vel = FastCast2:GetVelocityCast(cast)
320+
local accel = FastCast2:GetAccelerationCast(cast)
312321

313322
-- Modify state (automatically rebases trajectory)
314-
FastCast2.SetPositionCast(cast, Vector3.new(0, 50, 0))
315-
FastCast2.SetVelocityCast(cast, Vector3.new(0, 100, 0))
316-
FastCast2.SetAccelerationCast(cast, Vector3.new(0, -workspace.Gravity, 0))
323+
FastCast2:SetPositionCast(cast, Vector3.new(0, 50, 0))
324+
FastCast2:SetVelocityCast(cast, Vector3.new(0, 100, 0))
325+
FastCast2:SetAccelerationCast(cast, Vector3.new(0, -workspace.Gravity, 0))
317326

318327
-- Relative changes
319-
FastCast2.AddPositionCast(cast, Vector3.new(0, 10, 0))
320-
FastCast2.AddVelocityCast(cast, Vector3.new(0, 20, 0))
321-
FastCast2.AddAccelerationCast(cast, Vector3.new(0, -50, 0))
328+
FastCast2:AddPositionCast(cast, Vector3.new(0, 10, 0))
329+
FastCast2:AddVelocityCast(cast, Vector3.new(0, 20, 0))
330+
FastCast2:AddAccelerationCast(cast, Vector3.new(0, -50, 0))
322331

323332
-- Terminate a cast early (fires CastTerminating and cleans up)
324-
FastCast2.TerminateCast(cast)
333+
FastCast2:TerminateCast(cast)
325334
```
326335

327336
> **Tip**: In parallel mode, call `Caster:SyncChangesToCast(cast)` after modifying to push changes into the worker VM.
@@ -346,4 +355,8 @@ Special thanks to the following people from the Suphi Kaner Discord Server:
346355

347356
And thanks to everyone else in the server who helped along the way.
348357

349-
More broadly, community feedback has played a significant role in FastCast2's existence and development. Many ideas, discussions, and sources of motivation came from conversations within the Suphi Kaner Discord server. FastCast2 would not be where it is today without the contributions, feedback, and support of the community.
358+
More broadly, community feedback has played a significant role in FastCast2's existence and development. Many ideas, discussions, and sources of motivation came from conversations within the Suphi Kaner Discord server. FastCast2 would not exist today without the contributions, feedback, and support of the community.
359+
360+
# Dependency
361+
- [ObjectCache](https://devforum.roblox.com/t/objectcache-a-modern-blazing-fast-model-and-part-cache/3104112)
362+
- [VMsDispatcher](https://github.com/weenachuangkud/VMsDispatcher)

0 commit comments

Comments
 (0)