How can I make a smooth d-pad
-
@Stephenn, any behavior output you put in the box container will set the value of the box container when the behavior runs . And you can drag as many outputs in a box container that you need.
-
Press on the box container, then press on the symbol to the left of the default value. -
@Aidan-Oxley I think this will work better, because with what you did you have to use the extra "set input field" behavior. For mine, When one of the add value's is triggered it will set the box container to its output automatically.
-
@iTap-Development Yeah I'm still not used to that, I'm still stuck in the old way of using box containers lol before they let you have multiple storages.
-
Ok thanks
-
@Aidan-Oxley yeah I found it out by trying to put an output in the default value input field, and when it move up to its own input field I tried again and found you could do multiple. Lol
-
@Aidan-Oxley I SOOO did not know box containers could do this. How do you access one of the values?
-
@TutorialDoctor I'd like to know that too 😛 never used it.
-
Does anyone know how I could make a 2x2 grid for a player to move on?
-
Yes, look for my project on the hub called something like grid lock (although I don't think it works properly for negative coordinates). I think for that I would make the joystick player invisible and add a second scenery player that just moves to the invisible player, on a grid.
-
@Stephenn you can divid the position by the grid size, round that number. And then multiply by the grid size.
So an x position of 7.4 would move to an x position of 8 since 7.4/2 is 3.7 rounded is 4 and 4*2 =8 -
Ok thanks, I was over complicating by using modulus and subtract.
-
@Stephenn Lol my grid lock is actually very old, round number didn't even exist when I made it.
-
We actually have a grid demo we use for our internal testing. I thought we uploaded it to the hub but I guess not. I'll get @Hamed to upload it when he gets a minute free.
-
It's on the hub!
-
Ok thanks, I actually want be able to move between blocks on the grid. I am trying to make a bomberman game.
-
Ok actually I just got an idea from your example thanks.
-
The game gets glitchy when I add particals, is there a way to prevent this?
-
It depends on what type of particle you are using (especially the number of particles slider when editing, more particles = more lag) and how many objects are playing particles.
-
@Stephenn You are probably adding a lot of particles. Or just not doing them with enough time in between. Totally unnecessary.