-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main + function move_back Tooltip name + Tooltip Search functions with args updated forever change block.conf to json .learnblock/block not exist
- Loading branch information
Showing
49 changed files
with
1,550 additions
and
1,136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
import os, sys | ||
|
||
path = os.path.dirname(os.path.realpath(__file__)) | ||
__version__ = '0.2.10' | ||
__version__ = '0.2.14' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,56 @@ | ||
|
||
block{ | ||
type control | ||
name main | ||
img block8 | ||
languages ES: "principal", EN: "main" | ||
tooltip ES: "Este bloque se ejecutara cuando los eventos esten desactivados, debera contener el codigo a ejecutar", EN: "" | ||
} | ||
|
||
# block{ | ||
# type control | ||
# name end | ||
# img block7 | ||
# languages ES: "fin", EN: "end" | ||
# tooltip ES: "", EN: "" | ||
# } | ||
|
||
block{ | ||
type control | ||
name if | ||
img block6 | ||
languages ES: "si", EN: "if" | ||
tooltip ES: "Se trata de una estructura de control que permite redirigir un curso de accion segun la evaluacion de una condicion, sea falsa o verdadera. Debe debajo de un bloque si", EN: "" | ||
} | ||
|
||
block{ | ||
type control | ||
name elif | ||
img block6 | ||
languages ES: "sino si", EN: "else if" | ||
tooltip ES: "Se trata de una estructura de control que permite redirigir un curso de accion segun la evaluacion de una condicion, sea falsa o verdadera. Debe debajo de un bloque si o un bloque sino si", EN: "" | ||
} | ||
|
||
block{ | ||
type control | ||
name else | ||
img block5 | ||
languages ES: "sino", EN: "else" | ||
tooltip ES: "Se trata de una estructura de control que permite redirigir un curso de accion segun la evaluacion de una condicion, sea falsa o verdadera. Debe debajo de un bloque si o un bloque sino si", EN: "" | ||
} | ||
|
||
# block{ | ||
# type control | ||
# name for | ||
# img block6 | ||
# languages ES: "para", EN: "for" | ||
# tooltip ES: "", EN: "" | ||
# } | ||
|
||
block{ | ||
type control | ||
name while | ||
img block6 | ||
languages ES: "mientras", EN: "while" | ||
tooltip ES: "Se repetira la secuencia de codigo contenida en el bloque hasta que la condicion no se cumpla.", EN: "" | ||
} | ||
|
||
# block{ | ||
# type control | ||
# name start | ||
# img block4 | ||
# languages ES: "inicio", EN: "start" | ||
# tooltip ES: "", EN: "" | ||
# } | ||
|
||
block{ | ||
type control | ||
name elapsedTime | ||
variables{ | ||
float threshold 0 | ||
} | ||
img block4, block3 | ||
languages ES: "tiempotranscurrido", EN: "elapsedTime" | ||
tooltip ES: "Devuelve verdadero si el tiempo total del programa es mayor o igual que threshold sino devuelve falso", EN: "" | ||
} | ||
[ | ||
{ | ||
"type": "control", | ||
"name": "main", | ||
"img": ["block8"], | ||
"languages": { "ES": "principal", "EN": "main" }, | ||
"tooltip": { "ES": "Este bloque se ejecutara cuando los eventos esten desactivados, debera contener el codigo a ejecutar", "EN": ""} | ||
}, | ||
|
||
|
||
{ | ||
"type": "control", | ||
"name": "if", | ||
"img": ["block6"], | ||
"languages": { "ES": "si", "EN": "if"}, | ||
"tooltip": { "ES": "Se trata de una estructura de control que permite redirigir un curso de accion segun la evaluacion de una condicion, sea falsa o verdadera. Debe debajo de un bloque si", "EN": ""} | ||
}, | ||
|
||
{ | ||
"type": "control", | ||
"name": "elif", | ||
"img": ["block6"], | ||
"languages": { "ES": "sino si", "EN": "else if"}, | ||
"tooltip": { "ES": "Se trata de una estructura de control que permite redirigir un curso de accion segun la evaluacion de una condicion, sea falsa o verdadera. Debe debajo de un bloque si o un bloque sino si", "EN": ""} | ||
}, | ||
|
||
{ | ||
"type": "control", | ||
"name": "else", | ||
"img": ["block5"], | ||
"languages": { "ES": "sino", "EN": "else"}, | ||
"tooltip": { "ES": "Se trata de una estructura de control que permite redirigir un curso de accion segun la evaluacion de una condicion, sea falsa o verdadera. Debe debajo de un bloque si o un bloque sino si", "EN": ""} | ||
}, | ||
|
||
{ | ||
"type": "control", | ||
"name": "while", | ||
"img": ["block6"], | ||
"languages": { "ES": "mientras", "EN": "while"}, | ||
"tooltip": { "ES": "Se repetira la secuencia de codigo contenida en el bloque hasta que la condicion no se cumpla.", "EN": ""} | ||
}, | ||
|
||
{ | ||
"type": "control", | ||
"name": "elapsedTime", | ||
"variables":[ | ||
{ | ||
"type": "float", | ||
"name": "threshold", | ||
"default": "0" | ||
} | ||
], | ||
"img": ["block4", "block3"], | ||
"languages": { "ES": "tiempo_transcurrido", "EN": "elapsed_Time" }, | ||
"tooltip": { "ES": "Devuelve verdadero si el tiempo total del programa es mayor o igual que threshold sino devuelve falso", "EN": ""} | ||
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,55 @@ | ||
block{ | ||
type express | ||
name expressNeutral | ||
img block1 | ||
languages ES: "no_expresar_nada", EN: "express_Neutral" | ||
tooltip ES: "Muestra la cara de neutralidad en el robot", EN: "Show the face of neutral in the robot" | ||
} | ||
block{ | ||
type express | ||
name expressJoy | ||
img block1 | ||
languages ES: "expresar_alegria", EN: "express_Joy" | ||
tooltip ES: "Muestra la cara de alegria en el robot", EN: "Show the face of joy in the robot" | ||
} | ||
[{ | ||
"type": "express", | ||
"name": "expressNeutral", | ||
"img":["block1"], | ||
"languages":{ "ES": "no_expresar_nada", "EN": "express_Neutral"}, | ||
"tooltip":{ "ES": "Muestra la cara de neutralidad en el robot", "EN": "Show the face of neutral in the robot"} | ||
}, | ||
{ | ||
"type": "express", | ||
"name": "expressJoy", | ||
"img":["block1"], | ||
"languages":{ "ES": "expresar_alegria", "EN": "express_Joy"}, | ||
"tooltip":{ "ES": "Muestra la cara de alegria en el robot", "EN": "Show the face of joy in the robot"} | ||
}, | ||
|
||
block{ | ||
type express | ||
name expressFear | ||
img block1 | ||
languages ES: "expresar_miedo", EN: "express_Fear" | ||
tooltip ES: "Muestra la cara de miedo en el robot", EN: "Show the face of fear in the robot" | ||
} | ||
{ | ||
"type": "express", | ||
"name": "expressFear", | ||
"img":["block1"], | ||
"languages":{ "ES": "expresar_miedo", "EN": "express_Fear"}, | ||
"tooltip":{ "ES": "Muestra la cara de miedo en el robot", "EN": "Show the face of fear in the robot"} | ||
}, | ||
|
||
block{ | ||
type express | ||
name expressSadness | ||
img block1 | ||
languages ES: "expresar_tristeza", EN: "express_Sadness" | ||
tooltip ES: "Muestra la cara de tristeza en el robot", EN: "Show the face of sadness in the robot" | ||
} | ||
{ | ||
"type": "express", | ||
"name": "expressSadness", | ||
"img":["block1"], | ||
"languages":{ "ES": "expresar_tristeza", "EN": "express_Sadness"}, | ||
"tooltip":{ "ES": "Muestra la cara de tristeza en el robot", "EN": "Show the face of sadness in the robot"} | ||
}, | ||
|
||
block{ | ||
type express | ||
name expressAnger | ||
img block1 | ||
languages ES: "expresar_ira", EN: "express_Anger" | ||
tooltip ES: "Muestra la cara de ira en el robot", EN: "Show the face of anger in the robot" | ||
} | ||
{ | ||
"type": "express", | ||
"name": "expressAnger", | ||
"img":["block1"], | ||
"languages":{ "ES": "expresar_ira", "EN": "express_Anger"}, | ||
"tooltip":{ "ES": "Muestra la cara de ira en el robot", "EN": "Show the face of anger in the robot"} | ||
}, | ||
|
||
block{ | ||
type express | ||
name expressDisgust | ||
img block1 | ||
languages ES: "expresar_asco", EN: "express_Disgust" | ||
tooltip ES: "Muestra la cara de asco en el robot", EN: "Show the face of disgust in the robot" | ||
} | ||
{ | ||
"type": "express", | ||
"name": "expressDisgust", | ||
"img":["block1"], | ||
"languages":{ "ES": "expresar_asco", "EN": "express_Disgust"}, | ||
"tooltip":{ "ES": "Muestra la cara de asco en el robot", "EN": "Show the face of disgust in the robot"} | ||
}, | ||
|
||
block{ | ||
type express | ||
name expressSurprise | ||
img block1 | ||
languages ES: "expresar_sorpresa", EN: "express_Surprise" | ||
tooltip ES: "Muestra la cara de sorpresa en el robot", EN: "Show the face of surprise in the robot" | ||
{ | ||
"type": "express", | ||
"name": "expressSurprise", | ||
"img":["block1"], | ||
"languages":{ "ES": "expresar_sorpresa", "EN": "express_Surprise"}, | ||
"tooltip":{ "ES": "Muestra la cara de sorpresa en el robot", "EN": "Show the face of surprise in the robot"} | ||
} | ||
] |
Oops, something went wrong.