The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5327 - File: inc/functions.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions.php 5327 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



2DWorlds Forums
Ideas - What are your opinions? - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: News (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=8)
+--- Thread: Ideas - What are your opinions? (/showthread.php?tid=8885)

Pages: 1 2


Ideas - What are your opinions? - Jacob__mybb_import1 - 02-22-2012

Lately I've been thinking about making Buildism easier to use, and also more different from that 3D game making program that everyone likes to post about. Here are the main things I'm going to do:
  • No more adding characters or starting/stopping physics. You just build your game, then click a "Test" button to add a character, run all scripts and start the physics. When you leave test mode, everything will be reset.
  • No more script objects. Instead, all scripting is done through events (like the current events menu that you get when you right click something.) The only way to run event scripts is to test the game, but they will be checked for syntax errors as you type.

Here is a prototype of the new editor layout, ignore my horrible sketching.
[Image: xFMfi.jpg]


RE: Ideas - What are your opinions? - Qwertygiy - 02-22-2012

(02-22-2012, 04:24 AM)Jacob_ Wrote: [*]No more script objects. Instead, all scripting is done through events (like the current events menu that you get when you right click something.) The only way to run event scripts is to test the game, but they will be checked for syntax errors as you type.

I like the checking for syntax errors part a lot; however, making them only use events would make having indefinitely looping scripts slightly more difficult.


RE: Ideas - What are your opinions? - Hippo - 02-22-2012

Maybe you could make it optional which editor you use?


RE: Ideas - What are your opinions? - Duck - 02-22-2012

(02-22-2012, 04:24 AM)Jacob_ Wrote:
  • No more script objects. Instead, all scripting is done through events (like the current events menu that you get when you right click something.) The only way to run event scripts is to test the game, but they will be checked for syntax errors as you type.

nonononononononononononononnoonononononononononoo



RE: Ideas - What are your opinions? - Jacob__mybb_import1 - 02-22-2012

(02-22-2012, 02:03 PM)Qwertygiy Wrote:
(02-22-2012, 04:24 AM)Jacob_ Wrote: [*]No more script objects. Instead, all scripting is done through events (like the current events menu that you get when you right click something.) The only way to run event scripts is to test the game, but they will be checked for syntax errors as you type.

I like the checking for syntax errors part a lot; however, making them only use events would make having indefinitely looping scripts slightly more difficult.

Infinite loops are almost always bad design anyway, so I'll probably make "while true do" a syntax error. In java, a while loop with a sleep() in it causes a compiler warning.

sleep() will be also be done away with, since it causes more bugs than it's worth. To replace sleeping and using infinite loops, I'll add something like the setTimeout() function in JavaScript, so you could do this:

[lua]function doSomething()
print("something")
setTimeout(doSomething, 0.5) --call the function again after 5 seconds
end
doSomething()
[/lua]
All of that code would go in the game.Started event that will be added.

You could also do this put this in a Clicked event limit the firing rate of weapons: (object will be the object that the event goes with, to replace "script")
[lua]
if not object.Enabled.Value then return end
--...
object.Enabled.Value = false
setTimeout(function() object.Enabled.Value = true end, 5)
[/lua]


RE: Ideas - What are your opinions? - Mustachio - 02-22-2012

[Image: tumblr_lx5lqyG19e1qaa7gwo1_400.jpg]


RE: Ideas - What are your opinions? - Dignity - 02-22-2012

So... no more scripts?

I thought you wanted games...


RE: Ideas - What are your opinions? - Jacob__mybb_import1 - 02-22-2012

Tell me one thing that won't be able to be done with the new scripting system.

Also, I'm pretty sure the old one would be more confusing if you hadn't used Roblox first.


RE: Ideas - What are your opinions? - Glome - 02-22-2012

I like the idea.

Also, fix the triangles.


RE: Ideas - What are your opinions? - Paradox - 02-23-2012

I like this, it's seem a lot similar to Blockland's Event system, which I really liked also.