Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 8,080
» Latest member: seanac11
» Forum threads: 10,350
» Forum posts: 91,276
Full Statistics
|
Online Users |
There are currently 475 online users. » 0 Member(s) | 473 Guest(s) Google, Yandex
|
Latest Threads |
I'm leaving the site too....
Forum: 2DWorlds Discussion
Last Post: Jacob_
07-03-2023, 04:59 AM
» Replies: 12
» Views: 4,858
|
hi there.
Forum: 2DWorlds Discussion
Last Post: Jacob_
01-03-2020, 04:30 AM
» Replies: 1
» Views: 490
|
obroke
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 10:11 AM
» Replies: 0
» Views: 20,333
|
fcouldn't
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 09:02 AM
» Replies: 0
» Views: 8,049
|
qhow
Forum: Current Games
Last Post: PhilipShums
09-06-2017, 07:25 AM
» Replies: 0
» Views: 1,883
|
zstone
Forum: Current Games
Last Post: TimothyTox
09-06-2017, 07:03 AM
» Replies: 0
» Views: 820
|
vbit
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 03:00 AM
» Replies: 0
» Views: 785
|
sildenafil 100 mg sandoz
Forum: Current Games
Last Post: RichardLen
09-06-2017, 12:28 AM
» Replies: 0
» Views: 993
|
mhis
Forum: Current Games
Last Post: TimothyTox
09-05-2017, 04:09 PM
» Replies: 0
» Views: 783
|
sildenafil citrate 100mg ...
Forum: Current Games
Last Post: Waltertog
09-05-2017, 12:27 PM
» Replies: 0
» Views: 766
|
|
|
10/16/10 #2 - Bug fixes |
Posted by: Jacob__mybb_import1 - 10-16-2010, 10:11 PM - Forum: News
- No Replies
|
|
- Fixed a bug where events sometimes wouldn't unlink when you removed the script they were created from
- Fixed a bug where sounds would sometimes not work properly when you saved and reloaded a game
- Fixed duplicate SpawnManagers being added to saved games (if you have saves with this problem, open them, delete the duplicates, and resave them)
- Script runtime errors now tell you which script they are coming from
- When you use the new game button, it will add a ground and some boundaries rather than opening a blank world
|
|
|
10/16/10 - Tools! |
Posted by: Jacob__mybb_import1 - 10-16-2010, 09:22 PM - Forum: News
- No Replies
|
|
Tools are now working; see the Insert Object menu. Place them in the StarterInventory and they will be given to all new players.
When a player is added, the tools are shown in a row along the top of the screen. Use the number keys to select a tool.
Tools have 4 events. When making a game with scripted tools, you should always use a script inside the tool to connect the events so they will work when the tool is copied from the StarterInventory to the player's inventory.
The events are: selected, deselected, mousedown(button, position), mouseup(button)
You will also see Drag, Copy, Delete, and Rotate tools; these are building tools that don't require any scripting to use.
New players will have a fancy new default game, others can download it here: http://buildism.net/default.buildism
Other features in this update: - The camera is centered over the player's head rather than the middle of their body
- getChild(name) global member function. This is the same as using dot notation (game.World.Model.Part, etc.) except that when the child doesn't exist, it returns nil rather than causing an error. You should use this function when you're not sure if a certain child exists or not.
- game.World:getPartAt(Vec2D(x, y)) - gets the part at the specified world location; very useful for tools
- message() function for players (game.Players.PlayerName:message(text)). This makes a line of text appear at the bottom of their screen; use the function without any arguments to clear the message.
- Fixed registration error (why didn't anyone tell me?)
- Fixed an odd bug related to dragging parts
|
|
|
[ Suggestion ] - Make the connections like roblox style and add findFirstChild |
Posted by: ptown2 - 10-16-2010, 04:39 PM - Forum: 2DWorlds Discussion
- Replies (6)
|
|
since this script
Code: while true do
p = create("Box");
p.Position = Vec2D(math.random(400,600),100)
p.Size = Vec2D(5, 5)
p.Color = Color(math.random(0, 255), math.random(0, 255), math.random(0, 255))
p.Parent = game.World
p.Fixed = false
s = create("Script")
s.Source = "sleep(5); while script.Parent.Transparency < 1 do script.Parent.Transparency = script.Parent.Transparency + 0.2; sleep(0.1); end; script.Parent:remove();"
s.Parent = p
sa = create("Script")
sa.Source = "link(script.Parent.Collided, function(touch) if touch.Name ~= "Ground" and touch.Score ~= nil then script.Parent:remove(); end end)"
sa.Parent = p
tex = create("Texture")
tex.Image "http://image.shutterstock.com/display_pic_with_logo/251461/251461,1236423088,1/stock-photo-closeup-waffle-texture-to-background-26195983.jpg"
tex.Parent = p
sleep(1)
end
requires findFirstChild, it is needed in the LUA Database and can you make the connections similar in ROBLOX, so it can be more easier?
|
|
|
10/15/10 #3 - Values |
Posted by: Jacob__mybb_import1 - 10-16-2010, 01:15 AM - Forum: News
- Replies (1)
|
|
I've added values (variable objects) for all common data types to the object list. These were supposed to be in the last update, but I forgot somehow...
|
|
|
10/15/10 #2 - Scripting Update |
Posted by: Jacob__mybb_import1 - 10-16-2010, 12:47 AM - Forum: News
- No Replies
|
|
- Clicked event for parts. The arguments are the player and which mouse button (0, 1, or 2) they clicked.
- clone() and getChildren() global member functions
- Fixed bugs with copy and paste
- Guests can now join games
|
|
|
[ Suggestion ] Online build. |
Posted by: Patacorow - 10-15-2010, 05:12 AM - Forum: 2DWorlds Discussion
- Replies (2)
|
|
Title says it all. Use the regular building tools with the regular studio (without your character ofc), except you can see your partner(s)'s mouse (and it should probably have his name hovering above it as well).
The server constantly updates the place and everything is shared, so we can make places together!
(roblox needed this a long time ago! >:C)
|
|
|
10/14/10 #3 - Labels and Mesages |
Posted by: Jacob__mybb_import1 - 10-15-2010, 02:20 AM - Forum: News
- No Replies
|
|
Use game:message(text) for a message and game:message() to clear it.
Labels are in the Insert Object menu.
Other features: your player skin shows up when you join a game; ChildAdded and ChildRemoved events
|
|
|
10/14/10 #2 - Events |
Posted by: Jacob__mybb_import1 - 10-15-2010, 12:06 AM - Forum: News
- Replies (2)
|
|
Events are now working (currently only Collided). This is how you use them:
Code: link(script.Parent.Collided, function(h) h.Color = Color(math.random(0, 255), math.random(0, 255), math.random(0, 255)) end)
This will make the part the script is in a color changer.
When a script is removed, any events created from it are deactivated.
I will work on tools tomorrow.
|
|
|
|