Discuss Scratch

depresso-boiyo
Scratcher
1000+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

co0lcr34t10ns wrote:

depresso-boiyo wrote:

co0lcr34t10ns, you said you wanted to practice banners? Heres a banner order from TGS. The requested member is inactive due to break.

https://scratch.mit.edu/discuss/topic/734624/?page=146#post-7993490 (I think this is the right one..
I'm on it
alr I'll let mewercats' know.






TGS banner made by co0lcr34t10ns
flamekeeper700
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

-cloudcoding-
Scratcher
1000+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

I'm gonna have to retire (see tgs)

Last edited by kaj (Tomorrow 00:00:00)

-cloudcoding-

"[coding is] like clouds - always evolving and ready to transform!" - ChatGPT :)

Go check out my projects!
flamekeeper700
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

just-a-hriday
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

-cloudcoding- wrote:

(#643)
I'm gonna have to retire (see tgs)
alright. should I remove you from the list entirely or mark you as inactive?

Last edited by just-a-hriday (May 31, 2024 12:21:12)

PersonPersonson
Scratcher
27 posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

Order Type: Bug fixing
Order Details: The main menu in this project breaks when you click on any of the menu's buttons. The problem is likely related to the click (trackpad friendly) broadcast and the Submenu? variable. It's on a secret alt account I have called @Personable because I don't want too many people to see it until it's finished.
Time Zone: EST (Eastern Standard Time)
Other: This is the final stretch of a big update to flap, a project I've been working on! If you help, you'll get your name in the in-game credits (if you're okay with that)! :D

Last edited by PersonPersonson (May 31, 2024 14:41:14)


Hello, I'm PersonPersonson! I'm a Christian who likes to code and make weird, funny games and whatever random junk I feel like sharing! The most popular game I've made thus far is flap, a simplistically-styled Flappy Bird clone with an unrealistic amount of love put into it. It doubles as both my most viewed and first shared project, and it still gets updates to this day!
Feel free to ask me for help or feedback on anything! I’d be happy to help!

uhhhhhhhhhhhhh i dont know what to put here, i guess this is the end of the signature…
play sound [Vine Boom v] until done




hey! what're you doing here still?!
how did you even get here…?
…anyways, that's not the point!
Shoo!
Leave!
-cloudcoding-
Scratcher
1000+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

just-a-hriday wrote:

-cloudcoding- wrote:

(#643)
I'm gonna have to retire (see tgs)
alright. should I remove you from the list entirely or mark you as inactive?
inactive for now

Last edited by kaj (Tomorrow 00:00:00)

-cloudcoding-

"[coding is] like clouds - always evolving and ready to transform!" - ChatGPT :)

Go check out my projects!
flamekeeper700
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

PersonPersonson wrote:

Order Type: Bug fixing
Order Details: The main menu in this project breaks when you click on any of the menu's buttons. The problem is likely related to the click (trackpad friendly) broadcast and the Submenu? variable. It's on a secret alt account I have called @Personable because I don't want too many people to see it until it's finished.
Time Zone: EST (Eastern Standard Time)
Other: This is the final stretch of a big update to flap, a project I've been working on! If you help, you'll get your name in the in-game credits (if you're okay with that)! :D
https://scratch.mit.edu/projects/1030454844/ should be fixed
just-a-hriday
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

For jarscratch1111:

Often, the platforms do not update between the x and y movement custom blocks. This causes the collision checks to be inaccurate the second time around.
The platforms sprite will always be unreliable its code is run in a separate loop. There are two solutions for this.

One, you could put the platforms in the same sprite as the player. Of course, this would make your job a bit harder because of all the clone handling and the general inconvenience of it all - so it's not really a good solution.

Two, you could make the platforms update when the player sprite tell them to, and only when it tells them to. This solution is much simpler and lets you keep most of your code intact. This is the solution I'm showing below.
————————————————————

// Changes to the platforms sprite, as well as bounce pads, the win sprite, and moving platforms.
when flag clicked
set [Starting x pos v] to (545)
set [Starting y pos v] to (466)
go to x: ((Starting x pos) - (x)) y: ((Starting x pos) - (y))
switch costume to [costume1 v]
show // Add this here.
create clone of [myself v]
hide

when I start as a clone // Delete this script.
show
forever
go to x: ((Starting x pos) - (x)) y: ((Starting x pos) - (y))
end

when I receive [Win/Next Level v] // Delete this script as well.
stop [other scripts in sprite v]

when I receive [update platforms v] // Add this. This broadcast will handle platform updates instead of the forever loops in each sprite.
go to x: ((Starting x pos) - (x)) y: ((Starting x pos) - (y))
————————————————————

// Changes to the player sprite:
define change pos by (x) (y)
// The two custom blocks that handle collisions will be merged into this block.
change [air time v] by (1)
set [oldY v] to (y position) // Replace the oldPos variable with two new variables - oldX and oldY.
change y by (y)
set [MovingPlatform v] to <touching [Moving platform v] ?
if <<touching [Platforms v] ?> or <(MovingPlatform) = [true]>> then
repeat until <not<<touching [Platforms v]?> or <touching [Moving platform v]?>>>
change y by ((-1)*(([abs v] of (y acceleration)) / (y acceleration)))
end
if <(y acceleration) < (0)> then
set [air time v] to (0)
end
change [y v] by ((y position) - (oldY))
set [y acceleration v] to (0)
else
change [y v] by (y)
end
set [oldX v] to (x position) // This variable is new too, as mentioned in the previous comment.
change x by (x)
if <<touching [Platforms v] ?> or <touching [Moving platform v] ?>> then
repeat until <not<<touching [Platforms v]?> or <touching [Moving platform v]?>>>
change x by ((-1) * (([abs v] of (x acceleration)) / (x acceleration)))
end
change [x v] by ((x position) - (oldX)
set [x acceleration v] to (0)
else
change [x v] by (x)
end
go to x: (oldX) y: (oldY) // Add this block.

when I receive [start v]
...
forever // We're going to do all the acceleration changes first, then call the change pos block. You can do x first or y first, it doesn't really matter.
switch costume to [Hitbox Full v]
if <key [a v] pressed?> then
change [x acceleration v] by (-4)
end
if <key [d v] pressed?> then
change [x acceleration v] by (4)
end
set [x acceleration v] to ((x acceleration) * (0.60)
change [y acceleration v] by (-2)
if <<key [w v] pressed?> and <(air time) < (4)>> then
set [y acceleration v] to (10)
end
if <touching [bounce pad v]> then
set [y acceleration v] to (20)
end
change pos by (x acceleration) (y acceleration) // Check collisions for both x and y movement.
broadcast [update platforms v] // Tell the platforms to update their positions.
if <(y) < (-100)> then
broadcast [start v]
end
switch costume to [costume1 v]
————————————————————

Side note, if you're always going to keep the player in the centre of the screen (coordinates 0,0), you don't need the oldX and oldY variables.
define change pos by (x) (y) 
...
set [oldY v] to (y position) // Delete this and the oldY variable.
...
set [oldX v] to (x position) // Delete this and the oldX variable.
...
go to x: (0) y: (0) // Replace the last block in the script with this.

Last edited by just-a-hriday (June 2, 2024 07:11:55)

flamekeeper700
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

Heyo! on the 17th of this month is the one year anniversary of the first post of bug squishers!
jarscratch1111
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

just-a-hriday wrote:

For jarscratch1111:
snip
it not working for some reason
just-a-hriday
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

jarscratch1111 wrote:

just-a-hriday wrote:

For jarscratch1111:
snip
it not working for some reason
You've copied the code wrong. I'll edit my post to make it more clear.
jarscratch1111
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

just-a-hriday wrote:

jarscratch1111 wrote:

just-a-hriday wrote:

For jarscratch1111:
snip
it not working for some reason
You've copied the code wrong. I'll edit my post to make it more clear.
okay
jarscratch1111
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙


just-a-hriday wrote:

snip

should i check collisions on the bounce pad here too?

Last edited by jarscratch1111 (June 3, 2024 15:26:22)

mewercats
Scratcher
83 posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

Order Type: Bugfixing and adding features.
Order Details: This is going to take a while to finish…
1 - Usually when the mice hit each other they will bounce off each other. Sometimes they get stuck and produce lots of new mouse (mouse production is intended.)
2 - If the 2 mice hit each other and they do make baby mice (this is a 1 in 2 chance), spawn the baby mice in where the 2 mice mated (collided).
3 - Oh, I was talking about baby mice. Add baby mice.
4 - Find the best time for mice to unalive. Find ways that make their deletion time shorter or longer.
5 - A regular litter of new baby mice will have 4-8 baby mice. Make there a chance for them to make 9 mice, 10 mice etc. all the way up to 17. It gets rarer to make more mice, but 4-8 mice has the same chance.
6 - When you hover over a bred mouse, it will show the 2 mice who raised it. Add this.
I'm sorry if this is too much. Here is your mice simulator.
Time Zone: AEDT
Other: Too much? You can always get some help. Ignore the cat. Make your bugfix a seperate project so I can save it to my computer and load it into my other project. Keep the cat. There is a reminder of what to do in the project instructions and NaC. There is also a reminder in the backdrop.

You can get to my profile page here! Highlight some text, then Shift-Down to read more!


News
A new bug has appeared in the Scratch servers. Click me to find out more!

This is a long piece of code. This code is so long it is going to need a scroll bar. A scroll bar will make sure the long piece of code doesn't go on the next line.

SomeoneThatsBeingQuoted wrote:

I'm being quoted!
DEFINITELY not copied by the Scratch Wiki.













































































































































































































I really just have a depressing life. Peace at last…?
just-a-hriday
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

jarscratch1111 wrote:

should i check collisions on the bounce pad here too?
No. And snip your quotes, please.
co0lcr34t10ns
Scratcher
1000+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

triggeredcup wrote:

I requested on this shop before and im DOING IT AGAIN!!!

this shop is really good and doesn’t flood their chats with staff conversations, which im grateful for

i’ve thought of leaving review, but i asked for music and its on pandorasbox and im on my school ipad and pandorasbox is blocked and-

order type: music

details: final boss music lol. just make it sound like the final boss and if i like it then i send good review. read notes/other for a bit more details abt this

time zone: est (eastern) time zone. if its 12pm in california, it’s 3pm here

notes/other: lmk if you are taking my request in my profile @triggeredcup . it helps clear up confusion, time limit 1 month. okay bye bye

if the other composer reading this, just know that your song was very good, i just like final boss theme
Done!
————————————————————

Thank you for ordering at the Bug Squishers! Don't forget to leave a review

I'm a professional forum lurker who likes Vocaloid, retro games, and story writing.

Social Experiment Generation 0: Add this to your signature increase generation by 1 and add the username of the person whose signature you saw this in to this studio




I am the 454th most active TIRAP forumer. Wow! Not surprised in any way though.

I love the OG mods. They are just done with forum trolls.

co0lcr34t10ns
Scratcher
1000+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

https://scratch.mit.edu/discuss/topic/765110/ this is a referral of a requests topic, I feel bad leaving them empty, could you guys take it

I'm a professional forum lurker who likes Vocaloid, retro games, and story writing.

Social Experiment Generation 0: Add this to your signature increase generation by 1 and add the username of the person whose signature you saw this in to this studio




I am the 454th most active TIRAP forumer. Wow! Not surprised in any way though.

I love the OG mods. They are just done with forum trolls.

flamekeeper700
Scratcher
100+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

undeterminstic
Scratcher
1000+ posts

➡ The Bug Squishers 2.0 ⬅ ⚙ Code, art, music, and more! ⚙

flamekeeper700 wrote:

wait why did you quadruple bump?

flamekeeper700 wrote:

Heyo! on the 17th of this month is the one year anniversary of the first post of bug squishers!
that is terrifying it has been a year oh god.

yes

Powered by DjangoBB