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 221 online users. » 0 Member(s) | 220 Guest(s) Bing
|
Latest Threads |
I'm leaving the site too....
Forum: 2DWorlds Discussion
Last Post: Jacob_
07-03-2023, 04:59 AM
» Replies: 12
» Views: 6,291
|
hi there.
Forum: 2DWorlds Discussion
Last Post: Jacob_
01-03-2020, 04:30 AM
» Replies: 1
» Views: 738
|
obroke
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 10:11 AM
» Replies: 0
» Views: 20,523
|
fcouldn't
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 09:02 AM
» Replies: 0
» Views: 8,230
|
qhow
Forum: Current Games
Last Post: PhilipShums
09-06-2017, 07:25 AM
» Replies: 0
» Views: 2,110
|
zstone
Forum: Current Games
Last Post: TimothyTox
09-06-2017, 07:03 AM
» Replies: 0
» Views: 977
|
vbit
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 03:00 AM
» Replies: 0
» Views: 960
|
sildenafil 100 mg sandoz
Forum: Current Games
Last Post: RichardLen
09-06-2017, 12:28 AM
» Replies: 0
» Views: 1,170
|
mhis
Forum: Current Games
Last Post: TimothyTox
09-05-2017, 04:09 PM
» Replies: 0
» Views: 984
|
sildenafil citrate 100mg ...
Forum: Current Games
Last Post: Waltertog
09-05-2017, 12:27 PM
» Replies: 0
» Views: 939
|
|
|
Terrain Color Shifter Script |
Posted by: Qwertygiy - 06-22-2012, 05:40 PM - Forum: Free Resources
- No Replies
|
 |
Not a very big or difficult script; I just made this for Script Builder. Basically, it smoothly shifts the color of the game's Terrain randomly.
[lua]
local redamount = 1
local blueamount = 1
local greenamount = 1
while true do
sleep(0.1)
redamount = redamount + math.random(-1, 1)
if redamount > 8 or redamount < -8 or game.Terrain.Color.r + redamount > 255 or game.Terrain.Color.r + redamount < 0 then
redamount = 0
end
blueamount = blueamount + math.random(-1, 1)
if blueamount > 8 or blueamount < -8 or game.Terrain.Color.b + blueamount > 255 or game.Terrain.Color.b + blueamount < 0 then
blueamount = 0
end
greenamount = greenamount + math.random(-1, 1)
if greenamount > 8 or greenamount < -8 or game.Terrain.Color.g + greenamount > 255 or game.Terrain.Color.g + greenamount < 0 then
greenamount = 0
end
game.Terrain.Color = Color(game.Terrain.Color.r + redamount, game.Terrain.Color.g + greenamount, game.Terrain.Color.b + blueamount)
end
[/lua]
|
|
|
How well known am I on Buildism? |
Posted by: Walrus - 06-22-2012, 01:54 AM - Forum: 2DWorlds Discussion
- Replies (8)
|
 |
Hm?
And just rate it from a 1-10
I personally think that it's a 4/10 though.
-cries-
(06-22-2012, 01:54 AM)Walrus Wrote: Hm?
And just rate it from a 1-10
I personally think that it's a 4/10 though.
-cries-
I GOTZ TO NO!!111
SRSLY D00DS!!1111
|
|
|
I'm working on online saving for Buildism |
Posted by: Dignity - 06-21-2012, 02:39 PM - Forum: General Discussion
- Replies (6)
|
 |
(Mods - I wasn't sure where to post this, so I posted it here)
I haven't released this yet, because it doesn't work.
I just need to add it the the "functions list." Except, I can't find the functions list. 
Syntax
Code: str=game:httpGet("http://something.com")
About
httpGet() is a global function, you can use it from anywhere in your scripts.
It takes one argument: url
Its the URL to a website, such as http://buildism.net/
Remember the http:// at the beginning or Java will cause an error!
httpGet() is a member of the "Root" or "game" object.
On success, it returns a string with the contents of the url.
On failure, Java errors.
DO NOT USE LARGE WEBSITES SUCH AS BUILDISM OR ROBLOX.
(Jacob_ where's the Kahlua environment table?!?!)
|
|
|
|