I'm making a game called The Ice Cream Maker. (Some of you may have seen my last question, which is now resolved.) First, you select a cone, choose two flavors and then add toppings. On the bowl, (The bowl is one of the three cone choices.) I've finished all flavors and toppings, so it's basically done; however, when you pick up the any of the syrup toppings (They kind of look like hair and you just drag it to the ice cream and make it look like it has syrup on it...) the sprite is not under the mouse-pointer, it's like two inches on the screen away from it...
The script I used for this sprite to make it draggable is the one from the pre-made sprite called "Draggable" so I couldn't have possibly messed up on the script. Plus, it's the same script as the rest of the toppings, but only the syrup does this...
Could anyone help? Is this some sort of glitch?
Second question is certainly not a glitch, just a problematic fact. It involves another topping: sprinkles. The sprinkles are, of course, only like 3 pixels in length to make them look tiny and relatively realistic. When you attempt to drag them, you must grab one individual sprinkle because they all make up one sprite... It's frustrating to carefully click the sprite until you finally grab one sprinkle and drag the whole sprite.
So, do you understand my problem? It's hard to explain, but you probably get it.
I don't think there's any way around that second question, but there must be some trick to the first. Any help is greatly appreciated!
Offline
My guess is that the center of the costume for the syrup sprite is off center. Try editing that costume and click "set costume center." Chances are the center will be a ways a way, so just click where you want the center to be and save the costume.
Your second problem could be fixed by making a solid colored sprite the same size as the sprinkles that contains all the scripts of the sprinkles - the sprinkle sprite itself just follows that sprite around and acts as the visual. Then just set the ghost effect on the solid sprite to 99.
Offline
@Harakou :: Thanks for the first answer, it worked! As for the second one, I'll have to try that. Thanks.
Offline