Posted By
|
Message
|
»xerus
Registered 28/06/2002
Points 675
|
1st June, 2005 at 17:53:00 -
I have a very strange problem occuring, and I dont know if theres anyway to fix it...
The player is controlling an active object that doesnt follow the frame. Meanwhile, theres a camera object that the game is always centered on, that moves through the level. Now, the player can use a special ability that allows them to travel up or down very quickly, sort of like a dash or something. I made it so when the player hits the trigger button of this ability, the Y coord of the active is manipulated to make it move up or down (set y y("active") + 4 for example).
Now when doing this, a very strange thing happens. The game seems to choose a random object on the screen when performing this action, and scrolls it. For example, I have a few objects around the window that will trigger events for objects that touch it, and sometimes when doing the ability, it will scroll those objects into the window. Even though those objects arent supposed to be following the frame.
Does anyone know what the hell is going on or how to fix it? =/
n/a
|
Silveraura God's God
Registered 08/08/2002
Points 6747
|
1st June, 2005 at 18:02:47 -
Have you tried remaking (not copying) it into another CCA file? Maybe the one your using now is corrupt some how (its happened before). Give it a shot.
http://www.facebook.com/truediamondgame
|
»xerus
Registered 28/06/2002
Points 675
|
2nd June, 2005 at 01:08:08 -
Hm, well I havent tried that yet. But I really hope a corrupt .cca isnt the case since I've been working on this thing for like 3 weeks now...
But it seems to happen whenever I manipulate any coordinates of objects, things that dont follow the frame screw up. I tried to move the camera to the end of the level, to test events that happen at the end of the level.. and when the player fires bullets, some of them dont move. They somehow stick to the player, which is really weird. This happens when the camera is stopped, after I made it set its x position to 8000 or whatever.
Argh, it seems whenever I start a game or something some mysterious events will happen that prevent me from making it very far =/
n/a
|
Brian Haase (FSP)
Registered 22/01/2005
Points 691
|
2nd June, 2005 at 01:19:32 -
All I know is that the last time MMF gave me a ton of crap, it was because I was running Build 111. If your running anything less than Build 119 your just asking for trouble. And even if you patch, you usually have to start your project over, because it won't fix whatever it broke.
You did give the Active Object (Camera) a name, right? Not just Active Object?
It really sounds like your project file is screwed up somehow. Hope you keep backups.
Current Projects:
Bomb Squad (Total Progress - 3%)
:: Current Task Progress: 40%
:: Current Task - Level Editor Shell
|
»xerus
Registered 28/06/2002
Points 675
|
2nd June, 2005 at 01:35:32 -
I've been using 119 since I started...
I've reduced it down to only happening when the player is on the screen after the camera jumps. If I move the camera before the player enters the screen (theres a little intro sequence thing before the actual movable active object is on the screen) then everything seems to be fine..
This is still bothering me though =/
n/a
|
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
|
2nd June, 2005 at 02:53:32 -
I know this may sound obvious, but take a good look at ANY actions to do with scrolling. Make sure they do what they are supposed to do.
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
|
»xerus
Registered 28/06/2002
Points 675
|
2nd June, 2005 at 18:31:22 -
Well unfortunately the only events I have as far as scrolling goes is center the frame on the camera.
I think that the EZ Orbit object as something to do with it. When fighting a boss, the level is still, and I tried to use EZ Orbit to rotate something around the boss and when I did that, the boss's attacks would sometimes stick to it. I'm going to replace my uses of the ez orbit object with some trig... it will probably be safer... =/
n/a
|
»xerus
Registered 28/06/2002
Points 675
|
4th June, 2005 at 05:15:23 -
Since I cant edit my post for some reason, Ill just post again. I took out my uses of the ez orbit object, and it seems that most of my scrolling problems have dissapeared, in fact Im going to be brave and say all the weird scrolling problems are gone.
EZ Orbit seems to be bad news then =( Oh well, at least I learned how to make my own rotating objects with sin and cos...
n/a
|
|
|