What are you working on currently? [2016]

Building awesome stuff in-game! (And possibly be turned into a plugin at a later date) But for what game, I dunno or the games objective, I dunno… so for now I’m just making something that works… ever so slowly.

Top sekret new side-project that I’ll be releasing in less than a month if all goes to plan. Sofloan is the builder :slight_smile:

1 Like

How about some GUI bezier curves? (Too lazy to make a gif)
GUI Bezier Curve.png

[code]
local Gui = Instance.new(“ScreenGui”)
Gui.Parent = script.Parent

local X1,Y1 = 600,50
local X2,Y2 = 200,250
local MiddleX = 400

local function CreateFrame(Position,Color)
local Frame = Instance.new(“Frame”)
Frame.Size = UDim2.new(0,10,0,10)
Frame.Position = Position
Frame.BorderSizePixel = 0
Frame.BackgroundColor3 = Color
Frame.Parent = Gui
return Frame
end

CreateFrame(UDim2.new(0,X1 - 5,0,Y1 - 5),Color3.new(1,1,1))
CreateFrame(UDim2.new(0,X2 - 5,0,Y2 - 5),Color3.new(1,1,1))
CreateFrame(UDim2.new(0,MiddleX - 5,0,Y1 - 5),Color3.new(0,0,1))
CreateFrame(UDim2.new(0,MiddleX - 5,0,Y2 - 5),Color3.new(0,0,1))
local MovingPoint = CreateFrame(UDim2.new(),Color3.new(0,1,0))

local UDim2new = UDim2.new
local tableinsert = table.insert

local function CalculateBezier(Ratio,Points)
local NewPoints = {}
for i = 1, #Points - 2, 2 do
local CurX,CurY = Points[i],Points[i + 1]
local NextX,NextY = Points[i + 2],Points[i + 3]
local DeltaX,DeltaY = NextX - CurX,NextY - CurY

	local TweenedX,TweenedY = CurX + (DeltaX * Ratio),CurY + (DeltaY * Ratio)
	tableinsert(NewPoints,TweenedX)
	tableinsert(NewPoints,TweenedY)
end

if #NewPoints <= 2 then
	return NewPoints[1],NewPoints[2]
else
	return CalculateBezier(Ratio,NewPoints)
end

end

local function TweenTo(X1,Y1,X2,Y2)
local MiddleX = X1 + (X2 - X1)/2
local TabelOfPoints = {X1,Y1,MiddleX,Y1,MiddleX,Y2,X2,Y2}

for i = 1, 100 do
	local Ratio = i/100
	
	local X,Y = CalculateBezier(Ratio,TabelOfPoints)
	MovingPoint.Position = UDim2new(0,X - 5,0,Y - 5)
	wait()
end

end

while true do
TweenTo(X1,Y1,X2,Y2)
TweenTo(X2,Y2,X1,Y1)
end[/code]

If you want to give this code to someone else, go ahead.

3 Likes

chill with the code and be a cow

1 Like

its not secret anymore

:grin: Nobody knows the details except Sofloan. It’s one of those simple roblox games that have tons of replay value and don’t take much effort to dev.

Sounds like a wet dream

5 Likes

I’m paranoid about a certain reviewer coming to check on things now…

Working on prettying up an old place of mine:

http://image.prntscr.com/image/32ce4b4367ac4899aeb58464ce411523.png

9 Likes

@ScriptOn; I sense a bit of Portal/Old Apature Science in there!
@Cottonman; I loved that place. :smiley: You should post a link so others could see it :wink:

Golly, greg, ya think? :stuck_out_tongue:

(Sorry, I took an oath saying I’d made that joke wherever I could)

Colder

1 Like

@GuestCapone I can hardly work on it anymore cause it lags my studio so much xD https://www.roblox.com/games/308242822/Palen-Marsh

This isn’t Roblox, but it is… uh… interesting I guess.

I am working on a game project in C++ with a game team for school and something that started as an Asteroids tech demo to showcase the engine ended up being butchered really really quickly.

idk some really dumb stuff ![|668x500](upload://5sVpyREmIcLTU6EQaVkXzyZXuDQ.png) ![|666x500](upload://nycq0VhUMAVYD6MRTiNCEgfldHA.png) ![|663x500](upload://5rGWLeKEEus8xqRIEOPdypAYTQd.png) ![|663x500](upload://7PZ56pRCWqtBvBoJ4hanqIopsCM.png)

Sometimes I question my own sanity…

5 Likes

actually, hmm…
has anyone like… made a decent asteroids game on roblox yet?

RoVerse will be a pretty good space game (although aimed for warclans not normal robloxians) that will have asteroids and such in it.

Ask DieSoft about that since he’s lead dev for it I think.

What he meant by asteroids:

3 Likes

Ah.

correct

Will you still be working on Kinetic Code?

Also- congrats Sofloann on being ScriptOn’s builder. I can already guarantee that the building will look amazing :smiley: