I'm making a new mod called xCubed. Here are some of the new features. If a new addition has a * by it, I made it myself. If it has a # by it, and you created it, can you please post to let me know who to give credit to.
Four new categories: dialogs, colors, interact and misc. *
color blocks *
AnyArgMorphs *
CheckboxArgMorphs *
You can convert boolean slots into checkboxes and vice-versa *
r and theta readouts in the top pane with the sprite name *
Addon packs (concept and installer code credit to nXIII)
BLOCKS:
Control
When --boolean-- is true (hat) (credit to rubiks_cube_guy238 (+ MathWizz for fixing it))
When everything stopped (hat) *
exit --num-- 'C' blocks *
run code on --sprite/stage-- (c block) (credit to rubiks_cube_guy238)
launch in new thread (c block) (credit to rubiks_cube_guy238)
broadcast --broadcast-- to --sprite/stage-- (credit to rcg238)
broadcast --message-- and get value (reporter) *
pause *
pause all scripts for --sprite/stage-- *
pause all scripts *
play *
repeat while --boolean-- (c block) *
for each item in list --list-- (c block) *
open webpage --string-- (credit to LS97)
open windows explorer *
stop all scripts for sprite --sprite/stage-- (credit to rcg238)
return --string-- (script ender) (goes with broadcast and get value) *
Sensing
sprite name (reporter) #
set sprite name to --string-- *
ask --string-- as password and wait *
key pressed (reporter) (credit to nXIII)
all keys pressed (reporter) *
--big date and time menu-- (reporter) (credit to LS97)
leap year? (boolean reporter) *
online? (boolean reporter) *
in dev mode? (boolean reporter) *
Operators
--num-- --+/-/*///mod/^ menu-- --num-- (reporter) *
--encoding-- for --string-- (reporter) *
constant --pi/phi/e meu-- (reporter) *
--boolean-- xor --boolean-- (boolean reporter) *
--anything-- as number (reporter) *
--anything-- as color (color reporter) *
--anything-- as boolean (gosh, you can't guess what type of block this is, can you?) *
if --boolean-- then --string-- else --string-- (reporter) #
if --boolean-- then --boolean-- else --boolean-- (boolean reporter) #
if --boolean-- then --color-- else --color-- (color reporter) *
random (boolean reporter) *
letters --num-- to --num-- of --string-- (reporter) *
--string-- with --num-- letters off start (reporter) *
--string-- with --num-- letters off end (reporter) *
--string-- --reversed/muddled/as uppercase/as lowercase menu-- (reporter) *
Variables/Lists
set --variable-- to --color-- *
variable --string-- exists? (boolean reporter) *
create --global/local menu-- variable --string-- *
delete variable --variable-- *
set background of --variable-- to --color-- *
set layout of --variable-- to --normal/large/slider menu-- *
create --global/local menu-- list --string-- *
delete list --list-- *
list --string-- exists? (boolean reporter) *
item number of --string-- in list --list-- (reporter) (credit to nXIII)
(also it is possible to insert a color into a list - add/insert/replace/contains/item number all support colors)
Motion
point towards x: --num-- y: --num-- #
point towards r: --num-- theta: --num-- *
point away from: --thing-- *
turn away from edge #
set my origin to x: --num-- y: --num-- *
go to r: --num-- theta: --num-- *
glide --num-- secs to r: --num-- theta: --num-- *
change r by --num-- *
set r to --num-- *
change theta by --num-- *
set theta to --num-- *
if on edge, teleport *
r (reporter) *
theta (reporter) *
Looks
move forward --num-- costumes *
move back --num-- costumes *
stop saying/thinking *
--graphic effect-- effect (reporter) *
change horiz stretch by --num-- *
set horiz stretch to --num-- *
horiz stretch (reporter) *
change vert stretch by --num-- *
set vert stretch to --num-- *
vert stretch (reporter) *
hidden? (boolean reporter) *
flip horizontally (credit to Jens)
flip vertically *
Sound
play sound --sound-- of --sprite/stage-- *
make error sound #
play note --note-- until --boolean-- *
Pen
set pen down to --boolean-- *
pen down? (boolean reporter) *
pen color (color reporter) *
pen shade (reporter) *
pen size (reporter) *
Dialogs
show dialog title --string-- message --string-- *
confirm --string-- in dialog (boolean reporter) *
ask --string-- in dialog (reporter) *
ask --string-- in password dialog (reporter) *
Colors (all blocks in this section are color reporters unless otherwise stated)
color r: --num-- g: --num-- b: --num-- *
color h: --num-- s: --num-- v: --num-- *
color --color-- mixed --num-- : --num-- with --color-- *
transparent *
color --color-- with alpha: --num-- *
Interact
host mesh *
stop hosting mesh *
join mesh --string-- *
leave mesh *
IP address (reporter) *
store data --string-- under --string-- in GXD *
get data --string-- from GXD
Misc
turn fill screen off *
turn fill screen on *
open browser *
save image for end user *
run code --string-- as smalltalk *
set pointer color to --color-- *
hide pointer *
set pointer type to --cursor menu-- *
restore pointer *
start green flag scripts *
show menu with contents from --list-- (reporter) (credit to nXIII)
Can anybody think of any more?
Last edited by TheSuccessor (2010-10-16 04:28:28)
Offline
My when <> is true block actually doesn't work.
But that 'broadcast and get value' thing is pretty cool! The only problem with that is broadcasts in general are slow.
Last edited by rubiks_cube_guy238 (2011-01-01 15:07:05)
Offline
rubiks_cube_guy238 wrote:
My when <> is true block actually doesn't work.
I think MathWizz fixed your when <> is true block, I will give you both credit.
Offline
Bump.
Offline
Can anybody come up with any more blocks?
Offline
Bump
MY 333rd POST!
Last edited by TheSuccessor (2010-10-09 05:17:18)
Offline
Jens: could I use your MultiArgMorphs in my mod please?
Offline
sccar3 wrote:
have you made all of these already cuz that would take forever!
Yes. I started making this mod a few days after I joined Scratch, in April.
Offline
♪♫♫♪♫ Bumpity bumpity bump ♫♫♪♪♫
Last edited by TheSuccessor (2010-10-15 07:26:40)
Offline
what extension does it have?
Offline
.xcp (xCubed project)
Offline
TheSuccessor wrote:
.xcp (xCubed project)
ok thanks!
Offline
BTW look on mod share forums.
Offline
xCubed is BACK TO SQUARE ONE because squeak gave up on me, and the browser doesn't work. (If you think you can help, look here please.) I'm making it from the source this time.
Offline
I'e remade the UI in the source version, and I've just got to put the blocks in, then I can release!
Offline
jackrulez wrote:
jackrulez wrote:
What are r and theta?
Google "polar coordinates".
Offline
TheSuccessor wrote:
jackrulez wrote:
jackrulez wrote:
What are r and theta?
Google "polar coordinates".
Oh, cool. That'll make rotating around something a lot easier.
Offline
ProgrammingFreak wrote:
bump
Thanks
Offline