Discuss Scratch

silvxrcat
Scratcher
500+ posts

Wobble effect

yavuz61035 wrote:

there are 4 parameters

1. wobble intensity
2. wobble frequency
3. wobble direction
4. wobble offset
and there might be a boolean to control will it automatically wobble

so, the blocks are this:

set [wobble intensity v] effect to (10) :: looks // solves number 1
set [wobble speed v] effect to (5) :: looks // solves number 2
set [wobble offset v] effect to (17) :: looks // solves number 4
and for wobble direction, there is 2 ways

way 1
set [wobble direction v] effect to (120) :: looks
way 2
set [wobble left-right v] effect to (5) :: looks
set [wobble up-down v] effect to (7) :: looks

// these would replace the "wobble intensity" blocks. you could always use a bit of math to get your direction though

and for the boolean, i think we could do something like this

(enable v) automatic wobbling :: looks
(disable v) automatic wobbling :: looks

// a reporter could be placed in the reporter area, and we could discuss whether to use true/false, enable/disable, both, nothing, or something else

another point to discuss is what is the rate that the wobble offsets by a number with a deafult frequency? like offseting by 180/30 per frame?

anyways, i support!!!!

also remember to add this effect into the “change efffect by” block
my sprite don't jiggle jiggle, it folds
you'd like to see it wiggle wiggle, for sure


great idea, I like how you're basically suggesting animated wobbles.
yavuz61035
Scratcher
500+ posts

Wobble effect


B.U.M.P
Belt Umbrella's meat pasturization

Last edited by yavuz61035 (July 28, 2022 07:37:52)

yavuz61035
Scratcher
500+ posts

Wobble effect

bump?
BebaMonica
Scratcher
100+ posts

Wobble effect

strong support
moigam
Scratcher
1000+ posts

Wobble effect

yavuz61035 wrote:

there are 4 parameters

1. wobble intensity
2. wobble frequency
3. wobble direction
4. wobble offset
and there might be a boolean to control will it automatically wobble

so, the blocks are this:

set [wobble intensity v] effect to (10) :: looks // solves number 1
set [wobble speed v] effect to (5) :: looks // solves number 2
set [wobble offset v] effect to (17) :: looks // solves number 4
and for wobble direction, there is 2 ways

way 1
set [wobble direction v] effect to (120) :: looks
way 2
set [wobble left-right v] effect to (5) :: looks
set [wobble up-down v] effect to (7) :: looks

// these would replace the "wobble intensity" blocks. you could always use a bit of math to get your direction though

and for the boolean, i think we could do something like this

(enable v) automatic wobbling :: looks
(disable v) automatic wobbling :: looks

// a reporter could be placed in the reporter area, and we could discuss whether to use true/false, enable/disable, both, nothing, or something else

another point to discuss is what is the rate that the wobble offsets by a number with a deafult frequency? like offseting by 180/30 per frame?

anyways, i support!!!!

also remember to add this effect into the “change efffect by” block
This just seems overly complex and probably isn't going to be added, as the four parameters will make the effect list longer and confusing for new Scratchers.

However, this could be added in Snap!. Snap! is a more advanced version of Scratch.
zomboss1_1
Scratcher
500+ posts

Wobble effect

BebaMonica wrote:

strong support
Why? Please state your reasoning.
-Valtren-
Scratcher
1000+ posts

Wobble effect

I think you can do this using the whirl effect, but idk how
Official_GameTeam
Scratcher
100+ posts

Wobble effect

-Valtren- wrote:

I think you can do this using the whirl effect, but idk how
only in limited capacities, with many preparations. this limits make it unfeasable for manys.
windows-11-pro
Scratcher
100+ posts

Wobble effect

NiceGuy5 wrote:

Unithlees3 wrote:

No Support. this will take up many resources.

I don't think it will take that much resources. It's a simple sine wave, which only requires a tiny bit of code in the code for that block.
think of the pen moment
set pen color to [your soul]

Last edited by windows-11-pro (Oct. 23, 2022 15:00:12)

k0d3rrr
Scratcher
1000+ posts

Wobble effect

bump
The_Top_Hat_2
Scratcher
39 posts

Wobble effect

I really like this idea! It seems really cool!
ZefunGR
Scratcher
6 posts

Wobble effect

There is a way: so we have a sprite full of horizontal lines representing a part of a costume, like This and this, then we get the code,
when gf clicked :: events hat
go to x: (0) y: (0)
switch costume to ( v)
set [Var 2 v] to (0)
set [Speed Var v] to (3)
set [Wave Var v] to (5)
set [X Var v] to (10)
repeat [the number of costumes except the blank one]
next costume
change [Var 2 v] by (1)
create clone of (myself v)
end
forever
change [move v] by (2)
end
when I start as a clone :: controls hat
forever
go to x: (([sin v] of(((move) * (Speed Var)) + ((Var 2) * (Wave Var)))) * (X Var)) y: (0)
end
when I receive [delete clones v] :: events hat
delete this clone
Sorry if it's long, but I guess, thank you.

Last edited by ZefunGR (June 5, 2024 00:54:11)

Powered by DjangoBB