Allow for selction of an object from a series of objects using the d-pad or the left stick
So I want to move through a series of shapes, specifically hexagons, using the d-pad or left stick. Then I want to be able to connect that selected hexagon with the hexagons surrounding it so I can rotate them together. Is this even possible? If anyone's ever played Hexic HD, I basically want to try making something like that. Any tips or ideas would be great
-
Hi, that's pretty ambitious!
I would start by having an invisible object with a controller sensor on it. Wire the D-pad up to a set of movers for each direction. If you pulse them for one frame (use signal remapper perhaps) you should be able to set it up in such a way the block moves from one hex to the next each time you press the button. Because it's a hexagonal grid, a press left would have to alternate between moving up/left and down/left but you could do that by using a selector to choose between two movers.
The rotating would be hard. I would suggest that each hex tile has trigger zones that overlap each of its neighbours. When the trigger zone activates, keys on each of the neighbour tiles would cause them to animate around. It would be hard to know where to animate to but I'm sure it's possible.... I'll leave that as a challenge for you :)
Best of luck
Matt
댓글을 남기려면 로그인하세요.