JaelСсылка
Lo guardo para leer lo mas tarde. se ve interesante el articulo. siempre escucho decir a la gente phyton es facil pero luego me pongo a pensar que con phyton se hacen Ia. maching lerning. backend y un trillon de cosa mas.
me quedo asi 😅
Jimer Samuel Espinozatext not yet in the index
<AddProductForm/>
<Card
size={ "w-full h-58 md:w-1/3 "}
color={"bg-yellow-100"}
ButtonAColor={"bg-rose-500"}
ButtonBColor={"bg-blue-500"}
textcolor={"text-black"}
name={"allison Harvard"}
category={"model"}
description={"Cosita linda y dulce"}
/>
Jimer Samuel Espinozatext not yet in the index
<AddProductForm/>
<Card
size={ "w-full h-58 md:w-1/3 "}
color={"bg-yellow-100"}
ButtonAColor={"bg-rose-500"}
ButtonBColor={"bg-blue-500"}
textcolor={"text-black"}
name={"allison Harvard"}
category={"model"}
description={"Cosita linda y dulce"}
/>
Jimer Samuel EspinozaPon el código entre 3 ` de apertura y de cierre
gracias por eseñarme el conjuro.
eso quiero activar con el color
Gdscript
extends Area2D
var screen_size = Vector2.ZERO
## funciones que denotan valores
func random_screen_position():
var x = randi_range(0, screen_size.x)
var y = randi_range(0, screen_size.y)
return Vector2(x, y)
func start(screensize, pos):
screen_size = screensize
position = pos
func grow_and_fade(size):
var tween = create_tween().set_parallel().set_trans(Tween.TRANS_QUAD)
tween.tween_property(self, "scale", scale * size, 0.3)
tween.tween_property(self, "modulate:a", 0.0, 0.3)
await tween.finished
queue_free()
### metodos
func pick_up():
$CollisionShape2D.set_deferred("disabled", true)
grow_and_fade(3)
#listo de momento
func shine():
$AnimatedSprite2D.frame = 0
$AnimatedSprite2D.play()
func reposition_coin():
position = random_screen_position()
func _ready():
$Timer.start(randf_range(3, 8))
func _on_timer_timeout():
shine()
func _handle_collision_with_obstacle(area):
if area.is_in_group("obstacles"):
reposition_coin()
David ParkGdscript
extends Area2D
var screen_size = Vector2.ZERO
## funciones que denotan valores
func random_screen_position():
var x = randi_range(0, screen_size.x)
var y = randi_range(0, screen_size.y)
return Vector2(x, y)
func start(screensize, pos):
screen_size = screensize
position = pos
creo fue mal el conjuro no lo coloreo o funciona solo para lenguajes mas polulares
David Parkcreo fue mal el conjuro no lo coloreo o funciona solo para lenguajes mas polulares
tiene soporte para brainfuck y no para gdscript 😂
Jersontiene soporte para brainfuck y no para gdscript 😂
jajaja tampoco funciono con Svelte empezaba a creer que no funcionaba para programadores autodidactas 😂
pero con javascript si lo logre
extends Area2D
var screen_size = Vector2.ZERO
## funciones que denotan valores
func random_screen_position():
var x = randi_range(0, screen_size.x)
var y = randi_range(0, screen_size.y)
return Vector2(x, y)
func start(screensize, pos):
screen_size = screensize
position = pos
func grow_and_fade(size):
var tween = create_tween().set_parallel().set_trans(Tween.TRANS_QUAD)
tween.tween_property(self, "scale", scale * size, 0.3)
tween.tween_property(self, "modulate:a", 0.0, 0.3)
await tween.finished
queue_free()
### metodos
func pick_up():
$CollisionShape2D.set_deferred("disabled", true)
grow_and_fade(3)
#listo de momento
func shine():
$AnimatedSprite2D.frame = 0
$AnimatedSprite2D.play()
func reposition_coin():
position = random_screen_position()
func _ready():
$Timer.start(randf_range(3, 8))
func _on_timer_timeout():
shine()
func _handle_collision_with_obstacle(area):
if area.is_in_group("obstacles"):
reposition_coin()