8월호의 특집인 메타버스 기사! 다들 잘 보셨나요?
마지막 페이지에는 재미있는 이벤트가 있었죠.
바로 '너도 할 수 있어! 방구석 게임 개발자!'
여러분의 점프맵을 만들고, 공유해주세요!
점프맵을 만드는 방법은 아래와 같아요.
란이님의 '나만의 로블록스 게임 만들기 점프맵 만드는 방법' 영상을 참고하면
더 쉽게 만들 수 있답니다.
아래를 클릭해 영상을 확인하세요.
코드는 아래를 참고하세요~!
리스폰 블록 스크립트 | 밟으면 안 되는 블록 스크립트 |
local Players = game:GetService("Players") local ServerStorage = game:GetService("ServerStorage")
local checkpoint = script.Parent
function onTouched(hit) if hit and hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then local player = Players:GetPlayerFromCharacter(hit.Parent) local checkpointData = ServerStorage:FindFirstChild("CheckpointData") if not checkpointData then checkpointData = Instance.new("Folder") checkpointData.Name = "CheckpointData" checkpointData.Parent = ServerStorage end
local userIdString = tostring(player.UserId) local checkpointValue = checkpointData:FindFirstChild(userIdString) if not checkpointValue then checkpointValue = Instance.new("ObjectValue") checkpointValue.Name = userIdString checkpointValue.Parent = checkpointData
player.CharacterAdded:connect(function(character) wait() local storedCheckpoint = ServerStorage.CheckpointData[userIdString].Value character:MoveTo(storedCheckpoint.Position + Vector3.new(math.random(-4, 4), 4, math.random(-4, 4))) end) end
checkpointValue.Value = checkpoint end end
checkpoint.Touched:Connect(onTouched) |
local trapPart = script.Parent
local function onPartTouch(otherPart) local partParent = otherPart.Parent local humanoid = partParent:FindFirstChildWhichIsA("Humanoid") if humanoid then -- Set player's health to 0 humanoid.Health = 0 end end trapPart.Touched:Connect(onPartTouch) |
다양한 모양의 접프 블록과 재미있는 구성으로 나만의 점프맵을 자랑해주세요!
8월 31일까지 아래에 공개 댓글로 내가 만든 로블록스 게임 링크를 공유하고
그 밑에 비밀댓글로 이름, 연락처, 주소를 적어주면 선물을 보내드릴게요~!