Why isn't this working?


#1

Hai! Pix for tapping on this topic, I need help :D

I'm making a game called Particles where there's a bucket and blue and red particles (balls) are falling and you have to catch them in the bucket. The blue particles are the gud ones that u need and the red ones r bad :0

But something isn't working right D:

So, I made the code for a text object:
When game starts:
Check once if (score GOOD or BAD) = 1
Start sound (check mark) and wait 500

Check once if (score GOOD or BAD) = 2
Start sound (X) and wait 500

If you catch a blue particle, it will sound good, but if you catch a red particle, it will sound bad. But instead I didn't hear any sounds! It's rly weird :0

Here's a sweet screenshot:


If you need more explanation just ask me! :D
(This is only in Bigs cuz of me making tags ok gr9)

-An annoyed-at-bugs-in-code Apple


#2

Did you add the code to make it so when the bucket touches a red it sets "GOOD or BAD" to 2, and when it touches blue "GOOD or BAD" set to 1?


#3

Yeah, I did :0


#4
I found the answer!!!!!!

Jk I didn't XD
List
@BB-Box
@Kitkat26
@KVJ
@Black_Panther
@Holly_Aarmau
@Deadfr
@EsteemedTrout
@Paydent12
@karmicsans618
@RubyStars
@Sensei_Coder
@FunkyGoldfish
@Candycane
@William04GamerA
@Jess888
@ArtyAnimal
@EmmabugOnTheForum
@waddlemarco
@CreationsOfaNoob
@Rainboom
@Potter_Head
@StRiKe_Charler123
@StarryDream
@codingCupcake123
@Murphy1
@treefrogstudios
@MrHotdog64
@Sugarisyummy
@AvocadoDont
@bluedogmc-official
@Ella_13
@Sweetlina
@xXBARNSLEYFCXx
@FluffyMarshmellow
@GLaDOS_On_Da_Forum
@BubblegumCupcakeMix
@YuxinaYammy
@PerfectPanda24
@Explorer_
@ColourfulBlack
@JojoDude
@happy12345678910
@Sprouse
@Redo122
@Crazy119
@system
@systern
@GiraffeProductions
@TheGreenBanana
@Themasterofairjitzu
@HopedHoper
@AwesomeNachos
@FortatoBuilder
@Valgo
@Vortex.inc
@ConnellCoder
@JaggedJeans
@KoolM123
@PandaBlossom
@BellaWafflez17
@ButterBark
@Glitter_Kitty
@TheRealBlah
@DA-BEASTY
@minioncandy
@weathercats
@ThePickle
@kenlauescuadro
@PurpleStorybook
@elsasouternisles
@Nerd4Ever
@crazygoat
@codingkit


#5

Sorry I already quit. Please don't tag me. This is an automated message.


#6

It was the tag list. And how is that an automated message?!?!

Seriously @TheRealBlah.


#7

Do you mind sending a link so I can take a closer look? :grin:


#8

Never mind @Rainboom I found out what happened! You had it set to when game starts check once if blah blah blah but that only works when the game starts. It should be like this:

When Game Starts

Repeat Forever________________________
Check Once if GOOD or BAD= 1_________
Start Sound (Tick) and wait 500

When Game Starts

Repeat Forever________________________
Check Once if GOOD or BAD= 2_________
Start Sound (Cross) and wait 500


#9

Oh, so I needed a repeat forever! I wondered about that XD

TYSM! :D


#10

Don't worry about it! Let me know if it works! :wink::+1:


#11

You could code,
When bucket bumps red ball play sound?
increase score by?


#12

Actually that's a really good point XD

Typical me not thinking of it ;-;


#13

I dunno why (´・Д・)」


#14

Yeah! :grin:

That works too! I was just working with what I had but that probably makes more sense!


#15

That's ok, it's solved now :D

Thx for trying to help (more or less) tho :D


#16

Phew!
I feel happy fir you!(^∇^)


#17

Sorry I already quit. Please don't tag me. This is an automated message.


#18

Aw, pix! ;u;



#19

I know for a fact that this is not a automated message.
Please make your posts... Nicer. And don't lie.


#22

Stop lying.
@SmilingSnowflakes just since ur a leader, could u help me deal with this? Thx :D
And also
@Intellection74
@Gilbert189
@MathGirl