here’s the continuation from last week’s open source game system: bonfires/idols from dark souls/sekiro
you can rest at bonfires to heal and travel to bonfires you’ve discovered. you’ll respawn at the last bonfire you visited even after rejoining the game.
This will be very useful for my MMORPG game, which have a very open world, and traveling to another locating by walking only is very boring. Thanks for this alot!
@x_o When is the next stream? i want to see your stream!
Crazy. First a grapple system and now a bonfire system and they’re all open source. Not only do I have a lot of learning material to chug down now from the team that eventually kickstarted my programming hobby, but now I think I should start making something lol.
Rudimentality is so cool. Love your work. Thanks for sharing this as well.
When you travel to a bonfire and click two times on a button to get teleported to a bonfire, the “Light” effect doesn’t show up. If you require a video then ask it
I find it incredibly generous for you to share these open source places as well as streaming the entire coding process. These topics will really help for those who are hungry for coding experience.
Hello! The bug that i have mentioned before, can be easily solved, just use a cooldown (Debounce), here is the script:
(Line: 156-189 - Script: bonfire_script_client)
local Cooldown_i = false
button.MouseButton1Click:Connect(function()
if bonfire.Name == currentBonfire.Name then
print(Player.Name.."'s teleport request denied: Player is in the same bonfire.")
--You can remove the print if you want, just set to debug.
return
end
if Cooldown_i == false then
Cooldown_i = true
OrbEffect(currentBonfire.PrimaryPart.Position, 24, 1, DefaultColor, true)
Services.Lighting.bonfire_bloom.Threshold = 5
Services.Lighting.bonfire_bloom.Enabled = true
local inTween = Services.TweenService:Create(Services.Lighting.bonfire_bloom, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Threshold = 0})
inTween:Play()
inTween.Completed:Wait()
Leave()
Remotes.bonfire:FireServer("travel", bonfire.Name)
wait(0.5)
local outTween = Services.TweenService:Create(Services.Lighting.bonfire_bloom, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {Threshold = 5})
outTween:Play()
outTween.Completed:Wait()
Services.Lighting.bonfire_bloom.Enabled = false
Cooldown_i = false
end
end)
I hope this helped!
Solved issue: Clicking a bonfire to travel more of two times will not play the “Light” effect.
Ima bookmark this post.
I love the fact that this is open source, because some time ago you made a working grapple hook, now a bonfire system! Mind if I take some of your ideas XD
I absolutely love this, with your extremely cool work, so many things have been made possible from this one aspect. I look forward to seeing what can be made from this.