Swiping Switching Help

debug
#1

@CodeHelp
Also I is making a tag list. Say if you wanna be in it.
Okay so I have this idea to make candy crush, and right now I’m testing to make the objects switch when you swipe them. I’m sure this code is right, but they still won’t switch. Help please!

13 Likes
#2

I also tried making texts that showed all the variables all the time, but the variables always remain 0 when they should not be 0. The code shows that, but for some reason it doesn’t work. help meh please!!

3 Likes
#3

The collisions rule is unnecessary

I’ll post a working one

2 Likes
#4

Wait but the collision rule is what makes them switch…

1 Like
#5

Yeah

I would do it like a box thing

2 Likes
#6

Let me post a basic code to show you what I mean

2 Likes
#7

Cuz like I wanted it to detect if it got hit, and if the variable was swiping one way, it would go the other way…

1 Like
#8

Well I got this, but matching would be hard
https://c.gethopscotch.com/p/105ip24s1e

1 Like
#9

Oh I understand but then wouldn’t you need to have a line of code for every single object? It works really well, but I want something with minimal code… thank you so much though! You’re a great coder. I would have never thought of that!

2 Likes
#10

Your making Candy Crush? Nice. That could be part of game changers.

2 Likes
#11

Yeah it could be Game changers…I had an idea for it a long time ago but I was lazy and decided not to do it lol

And your welcome PillowFace

4 Likes
#12

What made you lazy? Is it because making it is no fun?

2 Likes
#13

No I just didn’t have drive and the code was too complex for me back then. The 8 year old days…Whe I figured it out I was like “oh cool I could use this at some point in life” not “ooh I wanna make a game with this!”

2 Likes
#14

Is it too complex for you now?

1 Like
#15

No it’s easy for me now lol I just got the full match code
https://c.gethopscotch.com/p/105iq3wseb

You need 2 self image values else they cross each other out
@PillowFace here you go if you like this

#16

Same lol

Plus I have zero idea how to code it

1 Like
#17

I would love to be in your tag list! :slight_smile:

1 Like
#18

Can I be in your tag list…

1 Like
#19

Me too please!

@William04GamerA do you have a tag list?

1 Like
#20

Yeah, cause if u did, I would love to be on it!

1 Like