not sure if this is a bug...

lagorathialagorathia Member Posts: 3
edited November -1 in Tech Support
uploaded my game for reference..

http://gamesalad.com/game/play/25538

this is simply a prototype sidescroller right now, so bear with me, when you push the right key (to scroll 'forward') it looks like it gets stuck in the center. that's OK, rest assured it's just pushing the camera, you're still moving right.

the premise is that you are a UFO, you have to go somewhere (over to the right of course), and the military tries to stop you. the first (and only) enemies you run into are jets that scream into the scene and fire their missiles at you.

PROBLEM
now, when i push the play button in the scene on game salad, it usually works right, but when i preview/publish this, especially i noticed if i'm at the bottom of the screen, for some reason the missiles don't fire right at all. sometimes it works, but i'd like to get this working the rest of the time..... i'd like to know if there's something screwy with my rules or if it's a bug.

jet rules:
http://i242.photobucket.com/albums/ff177/lagorathia/usedis.jpg

missile rules just in case..:
http://i242.photobucket.com/albums/ff177/lagorathia/Picture4.png

thanks :3

Comments

  • lagorathialagorathia Member Posts: 3
    :/
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    I don't see what the error is. What do you mean by "missiles don't fire right at all."?

    What is the expected outcome?
  • lagorathialagorathia Member Posts: 3
    the jets are aimed directly at you, the UFO. the ufo's coordinates constrain custom attributes in the game's attributes, so i can set the jets rotation to aim directly at the UFO. the jet spawns missiles relative to itself when it reaches a certain distance from the UFO and the missiles just move wherever the jets were aimed at. the idea is that the jet fires the missiles at you, but allows you a bit of time to dodge them. problem i'm seeing is.. say i just nudge myself in range of them, they come at you and fire their missiles way far away from you.

    I think my problem is that the rotations aren't as precise as i expect them to be. the same thing happens now that i put a firing mechanism into the UFO. it doesn't fire exactly at where the mouse is (im aware of the screen's coordinates being different then the scene's coordinates but that's easy to get around and not my problem). i think the game rounds the rotations of at least the small actors and when it spawns the actors at that rotation and sends them out, they don't go from the exact rotation, just the actor's rounded rotation it spawns from.

    hmm.. im gonna try putting a text actor of the rotations into the game so i can watch them and see what they do. maybe it'll give me an idea of what i should expect
Sign In or Register to comment.