How to tap invisible things


#1

hi some people have problems with on Hopscotch when they need to tap on invisible stuff but it's too invisible for them to tap, and if it's 100% you can tap it but nothing will work. Set it to 99% and it will work :slight_smile::slight_smile:


#3

@underagedcoder1 how rude


#4

I would set it to 99.999999999999...% just so it as much invisible so you can tap it


#5

Hey, someone just made a topic about the same thing. Maybe recycle?


#6

I didn't know what you meant sorry


#7

No sorry I searched and didn't find anything


#8

I'm not happy with you


#9

It was a tutorial that had that in it


#10

Well this is my topic sorry


#11

Sorry
Forgive me
I had a typeo in a featured project


#12


This tutorial is the exact same thing. Did you mean to do that?


#13

What do you mean I didn't see any coding topics and I just remembered a game I made a while ago so I wanted to show :smiley::smiley:


#14

No, it is just a statement that would help some coders
She/he doesn't need to recycle
Sorry guys gtg


#15

It's the exact same thing though.


#16

Stop it please dude
OR else @boi he's new he'll get your ice cream


#18

This is the one time that I use this emoji
πŸ€¦β€β™‚οΈ
This is a duplicate topic.


#19

Oh sorry I didn't know don't arrest me


#20

Do you mean @lollypopcorn's topic? I don't think they're exactly the same, but...


#21

Cool, can I see the game you made? :)


#22

Yeah, I used to do this, it's very easy to do, but makes the project very messy with objects all over the place

But, there is an easier way to do it without anything visible at all

For example, if you were checking if an object passed a certain point, you could say:

When ( (object) x position) > ( (Width) / 2 )
- Change Y by 200

This code let's you have an object move across, and when it gets past a certain point, it moves upwards.
This is much easier than having a character bump a slightly infisible character and then move up, like in this code: (object 2 is the 99% invisible character)

When game starts
- Set (object 2) position to: (100, (Width/2) )
- Set invisibility to 99%

When (object) bumps (object 2)
- Change Y by 200

This code is much less efficient and makes your code more buggy. It is much easier for a character to check if it's at a certain X or Y position on a map, and then do something

Hopefully this helped!