This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-09-18 06:45:35

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

xCubed - my mod

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)


/* No comment */

Offline

 

#2 2010-09-18 18:29:44

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: xCubed - my mod

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)


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#3 2010-09-18 18:35:35

recycle49
Scratcher
Registered: 2009-12-21
Posts: 1000+

Re: xCubed - my mod

Looking great!


"Every challenge must be met, every battle must be won, and every story will end." -Me
Recycle49 December 09 - November 11 Goodbye

Offline

 

#4 2010-09-20 11:13:28

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

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.


/* No comment */

Offline

 

#5 2010-10-05 14:45:15

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

Bump.


/* No comment */

Offline

 

#6 2010-10-06 12:21:31

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

Can anybody come up with any more blocks?


/* No comment */

Offline

 

#7 2010-10-09 05:17:06

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

Bump

MY 333rd POST!

Last edited by TheSuccessor (2010-10-09 05:17:18)


/* No comment */

Offline

 

#8 2010-10-10 11:47:07

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

Jens: could I use your MultiArgMorphs in my mod please?


/* No comment */

Offline

 

#9 2010-10-10 16:14:54

sccar3
Scratcher
Registered: 2008-09-04
Posts: 100+

Re: xCubed - my mod

have you made all of these already cuz that would take forever!


http://1.bp.blogspot.com/-WInb2DZ2LBM/UQaLETx3VII/AAAAAAAAAmQ/ZOpSwEPggiE/s1600/The%2BElder%2BScrolls%2BOnline%2BSignup%2BBeta.jpg

Offline

 

#10 2010-10-11 11:52:04

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

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.


/* No comment */

Offline

 

#11 2010-10-15 07:26:09

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

♪♫♫♪♫ Bumpity bumpity bump ♫♫♪♪♫

Last edited by TheSuccessor (2010-10-15 07:26:40)


/* No comment */

Offline

 

#12 2010-10-15 10:20:02

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: xCubed - my mod

what extension does it have?

Offline

 

#13 2010-10-15 10:31:41

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

.xcp (xCubed project)


/* No comment */

Offline

 

#14 2010-10-15 10:42:03

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: xCubed - my mod

TheSuccessor wrote:

.xcp (xCubed project)

ok thanks!

Offline

 

#15 2010-10-15 10:46:28

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

BTW look on mod share forums.


/* No comment */

Offline

 

#16 2010-10-26 14:30:01

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

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.


/* No comment */

Offline

 

#17 2010-10-26 14:59:01

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: xCubed - my mod

post your image Ill have a look


You can now reach me on Twitter @johnnydean1_

Offline

 

#18 2010-10-31 08:58:03

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

I'e remade the UI in the source version, and I've just got to put the blocks in, then I can release!


/* No comment */

Offline

 

#19 2010-11-01 17:10:15

jackrulez
Scratcher
Registered: 2009-08-01
Posts: 1000+

Re: xCubed - my mod

What are r and theta?


Yawn, another boring text signature. I should really make something better.

Offline

 

#20 2010-11-01 20:39:56

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: xCubed - my mod

The turn away from edge is useless.
Just a hint.  tongue


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#21 2010-11-02 08:00:13

jackrulez
Scratcher
Registered: 2009-08-01
Posts: 1000+

Re: xCubed - my mod

jackrulez wrote:

What are r and theta?


Yawn, another boring text signature. I should really make something better.

Offline

 

#22 2010-11-02 12:51:03

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

jackrulez wrote:

jackrulez wrote:

What are r and theta?

Google "polar coordinates".


/* No comment */

Offline

 

#23 2010-11-02 20:50:29

jackrulez
Scratcher
Registered: 2009-08-01
Posts: 1000+

Re: xCubed - my mod

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.


Yawn, another boring text signature. I should really make something better.

Offline

 

#24 2010-11-29 15:59:39

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: xCubed - my mod

bump

Offline

 

#25 2010-11-30 14:47:17

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: xCubed - my mod

ProgrammingFreak wrote:

bump

Thanks  tongue


/* No comment */

Offline

 

Board footer