Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 8,079
» Latest member: seanac11
» Forum threads: 10,350
» Forum posts: 91,276
Full Statistics
|
Online Users |
There are currently 228 online users. » 0 Member(s) | 226 Guest(s) Bing, Google
|
Latest Threads |
I'm leaving the site too....
Forum: 2DWorlds Discussion
Last Post: Jacob_
07-03-2023, 04:59 AM
» Replies: 12
» Views: 5,970
|
hi there.
Forum: 2DWorlds Discussion
Last Post: Jacob_
01-03-2020, 04:30 AM
» Replies: 1
» Views: 684
|
obroke
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 10:11 AM
» Replies: 0
» Views: 20,497
|
fcouldn't
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 09:02 AM
» Replies: 0
» Views: 8,204
|
qhow
Forum: Current Games
Last Post: PhilipShums
09-06-2017, 07:25 AM
» Replies: 0
» Views: 2,067
|
zstone
Forum: Current Games
Last Post: TimothyTox
09-06-2017, 07:03 AM
» Replies: 0
» Views: 947
|
vbit
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 03:00 AM
» Replies: 0
» Views: 927
|
sildenafil 100 mg sandoz
Forum: Current Games
Last Post: RichardLen
09-06-2017, 12:28 AM
» Replies: 0
» Views: 1,136
|
mhis
Forum: Current Games
Last Post: TimothyTox
09-05-2017, 04:09 PM
» Replies: 0
» Views: 949
|
sildenafil citrate 100mg ...
Forum: Current Games
Last Post: Waltertog
09-05-2017, 12:27 PM
» Replies: 0
» Views: 907
|
|
|
1/31/11 |
Posted by: Jacob__mybb_import1 - 02-01-2011, 02:33 AM - Forum: News
- No Replies
|
 |
- Added a new help button with info about the controls
- Fixed a UI bug introduced in one of the recent updates
- Dialogs are centered in the middle of the main window instead of going to the top left corner of the screen
- Added a better default game
|
|
|
Lua Syntax Highlighting in Posts |
Posted by: Jacob__mybb_import1 - 02-01-2011, 12:36 AM - Forum: News
- Replies (5)
|
 |
Use [ lua ] tags:
[lua]tool = script.Parent
player = tool.Parent.Parent
character = player.Character
body = character.Body
enabled = true
function enable()
enabled = true
tool.Name = "Rocket"
end
function disable()
enabled = false
tool.Name = "Reloading..."
end
function playSound(s)
if game.AssetService:getChild(s) ~= nil and game.AssetService[s]:isA("Sound") then
game.AssetService[s]:play()
end
end
function normalizeVector(vec)
local m = math.sqrt(vec.x * vec.x + vec.y * vec.y)
return Vec2D(vec.x / m, vec.y / m)
end
function onClick(btn, pos)
if btn == 1 then
if not enabled then return end
disable()
local r = create("Box")
r.Size = Vec2D(2, 1)
r.Name="Rocket"
local v = normalizeVector(Vec2D(pos.x - body.Position.x + 0.1, pos.y - body.Position.y - 1.5))
local angle = math.atan2(v.y, v.x)
local c = create("FixedVelocity")
c.Velocity = Vec2D(v.x * 10, v.y * 10)
c.Parent = r
r.Rotation = math.deg(angle)
r.Position = Vec2D(body.Position.x - 0.1 + v.x * 7, body.Position.y + 1.5 + v.y * 7)
local s = create("Script")
s.Name = "RocketScript"
s.Source = [[
exploded = false
function playSound(s)
if game.AssetService:getChild(s) ~= nil and game.AssetService[s]:isA("Sound") then
game.AssetService[s]:play()
end
end
rocket = script.Parent
function onCollide(hit)
if exploded then return end
exploded = true
local e = create("Explosion")
e.Radius = 7
e.Position = rocket.Position
e.Parent = game.World
rocket:remove()
playSound("Explode")
end
link(rocket.Collided, onCollide)
]]
s.Parent = r
r.Parent = game.World
playSound("Rocket")
sleep(4)
enable()
end
end
link(script.Parent.MouseDown, onClick)[/lua]
|
|
|
General ROBLOX discussion. |
Posted by: ILiekMudkipz - 01-30-2011, 10:07 PM - Forum: Video Games
- No Replies
|
 |
Since the main reason most of us are here is for an alternative from ROBLOX, discuss it here instead of spamming useless threads about it
*cough*testerrocksroblox*cough*
|
|
|
Why the population should not get larger |
Posted by: BuildistGuard - 01-30-2011, 07:32 PM - Forum: General Discussion
- Replies (3)
|
 |
Wow, why do people have many children? It is mainly religion. Christians,Jews,Muslims and mormons have lots of children. This should stop or else we will have food shortages and water shortages. If you agree the population should stop growing so fast so people have one child per family. If the family has more then 1 child, they are given to adoption or they should be able to live by themselves with some education.
|
|
|
|