This game is great! It's funny we almost have the same names and concepts :D. I really, really like how you did the repulsion and attraction. It feels very smooth and crisp. The controls were a bit hard for me and I couldn't really get past the first part but good job and good entry!
Viewing post in AttractRepel jam comments
Thank you! That's sad to hear, but understandable. I wasn't able to playtest the game, so it is quite hard. Though, if there's any part you have a question on, feel free to ask.
[Spoiler for the first room] For the first part of the first room, you'll want to take it slow and have them to stick together and climb together without letting S repel them both off. The second part, you'll need to use S to guide to them both to the next platform.
Cool! Thanks too :D Yeah playtesting was definitely an issue for my game too XD I just have a question with the repulsion and attraction. I really like how you did it, it feels very responsive when you launch the magnets! Did you use Gravitational fields for them or something else? For my game it feels a bit floaty and I followed a tutorial of Brackeys simulating gravitational pulls using Gm1m2 / r^2 and then for the repulsion just made that outcome negative.
I'll try to get past the level now :D Thanks for the info!
Update: I got to the end! After a bit more playing I got more used to the controls :D
Great work! I know exactly what video you are talking about, haha. I don't use any special formula, just the built-in Unity stuff. I pretty much just number/code tweak until I find something that feels good. In this case, I started with just a fixed number I set, the direction between two magnets, and the distance between two magnets. It felt decent, but I figured adding something more when they are very close would feel better, so if two magnets are very close they pull together stronger past a certain distance. If you are new to Unity physics, I would recommend just messing around inside of Unity with different built-in functions, objects, and values, then look into the theory. Theory is good, but won't make much sense until you have some practice in and often times takes the fun away from creating early on, in my opinion.