click with the mouse to grow the worm, turn him with the arrow keys
its a biproduct of an IK thing i was experimenting with
Byproduct thats more like a mutation.
Awsome effect tho
Also holy fing cow look at this code
System: 3 For each Blue 0 Green: 10 Value 'ID' Equal to blue('ID')+1
GreenSet position to BLUE.x+(cos(angle(BLUE.x,BLUE.y,Green.x,Green.y)))*(BLUE.width), BLUE.y+(sin(angle(BLUE.x,BLUE.y,Green.x,Green.y)))*(BLUE.width) GreenSet angle towards Blue 0 CanvasDraw rgb(lerp(0,255,green('ID')/green.count),0,lerp(255,0,green('ID')/green.count)) line opacity 100 from (blue.x, blue.y) to (green.x, green.y) CanvasDraw rgb(lerp(0,255,green('ID')/green.count),0,lerp(255,0,green('ID')/green.count)) line opacity 100 from (blue.x+(cos(blue.angle-160-blue('ID')))*(blue.width*2), blue.y+(sin(blue.angle-160-blue('ID')))*(blue.width*2)) to (green.x+(cos(green.angle-160-green('ID')))*(green.width*2), green.y+(sin(green.angle-160-green('ID')))*(green.width*2)) CanvasDraw rgb(lerp(0,255,green('ID')/green.count),0,lerp(255,0,green('ID')/green.count)) line opacity 100 from (blue.x+(cos(blue.angle+160+blue('ID')))*(blue.width*2), blue.y+(sin(blue.angle+160+blue('ID')))*(blue.width*2)) to (green.x+(cos(green.angle+160+green('ID')))*(green.width*2), green.y+(sin(green.angle+160+green('ID')))*(green.width*2))[/code:3efuputc]
GreenSet position to BLUE.x+(cos(angle(BLUE.x,BLUE.y,Green.x,Green.y)))*(BLUE.width), BLUE.y+(sin(angle(BLUE.x,BLUE.y,Green.x,Green.y)))*(BLUE.width)
GreenSet angle towards Blue 0
CanvasDraw rgb(lerp(0,255,green('ID')/green.count),0,lerp(255,0,green('ID')/green.count)) line opacity 100 from (blue.x, blue.y) to (green.x, green.y)
CanvasDraw rgb(lerp(0,255,green('ID')/green.count),0,lerp(255,0,green('ID')/green.count)) line opacity 100 from (blue.x+(cos(blue.angle-160-blue('ID')))*(blue.width*2), blue.y+(sin(blue.angle-160-blue('ID')))*(blue.width*2)) to (green.x+(cos(green.angle-160-green('ID')))*(green.width*2), green.y+(sin(green.angle-160-green('ID')))*(green.width*2))
CanvasDraw rgb(lerp(0,255,green('ID')/green.count),0,lerp(255,0,green('ID')/green.count)) line opacity 100 from (blue.x+(cos(blue.angle+160+blue('ID')))*(blue.width*2), blue.y+(sin(blue.angle+160+blue('ID')))*(blue.width*2)) to (green.x+(cos(green.angle+160+green('ID')))*(green.width*2), green.y+(sin(green.angle+160+green('ID')))*(green.width*2))[/code:3efuputc]
Wow I already see some big bad boss for a topdown shooter.
It's wiggly!
That's really cool looking. You should team up with someone who knows C++ and help them write your IK stuff into a behavior
It's wiggly! That's really cool looking. You should team up with someone who knows C++ and help them write your IK stuff into a behavior
yeah this is what i was thinking. this stuff would be perfect for a behavior.
> It's wiggly! > > That's really cool looking. You should team up with someone who knows C++ and help them write your IK stuff into a behavior > yeah this is what i was thinking. this stuff would be perfect for a behavior.
> It's wiggly!
>
> That's really cool looking. You should team up with someone who knows C++ and help them write your IK stuff into a behavior
yeah - get someone from gamedev forum maybe?
very nice!
Develop games in your browser. Powerful, performant & highly capable.
look at my new thread in "your creations" it uses a better version of this