Re: MagiCam Plugin - v1.43 BETA(Updated 12/10)

Forum Home Forum Home > Construct Classic > Construct Classic Discussion > Work-in-progress addons
 Post Reply Post Reply Page  <1 45678 10>
Author
4,407 Rep
Post Options Post Options   Quote SullyTheStrange Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 2011 at 5:45pm
Alright, new question: I'm trying to get my camera to behave exactly like Super Mario World's, but there's one part of it I can't get right. It operates the same as MagiCam using margin scrolling, except when SMW starts scrolling, it moves ahead of Mario so roughly 60% of the screen is in front of him.

I can set it up one way or the other -- it can follow him using margins, so that there's an area in the middle where there's no scrolling, or it can follow 60% ahead of him. I can't really find a way to combine them the way I want to. Any ideas? :?
Back to Top

Moderator
7,067 Rep
Post Options Post Options   Quote linkman2004 Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 2011 at 5:51pm
Yeah, I realized after the fact that margin scrolling isn't quite like Mario scrolling. I'll have to fiddle around with it to see if I can make a work around.
Back to Top
5,268 Rep
Post Options Post Options   Quote tulamide Quote  Post ReplyReply Direct Link To This Post Posted: 09 Feb 2011 at 7:14pm
No relative behavior to the system's values possible?
Back to Top

Moderator
7,067 Rep
Post Options Post Options   Quote linkman2004 Quote  Post ReplyReply Direct Link To This Post Posted: 09 Feb 2011 at 7:23pm
[quote="tulamide":2wy8m3pd]No relative behavior to the system's values possible?[/quote:2wy8m3pd]
It's possible -- feasible, even -- but it would take a good amount of work, and I don't have much time these days between school and work.
Back to Top
5,268 Rep
Post Options Post Options   Quote tulamide Quote  Post ReplyReply Direct Link To This Post Posted: 09 Feb 2011 at 7:39pm
Ah, I see. Thanks for your answer, I do totally understand if it's too much work for the time you have :)
Back to Top
2,891 Rep
Post Options Post Options   Quote rogerty Quote  Post ReplyReply Direct Link To This Post Posted: 17 Feb 2011 at 9:09am
Thanks!
Going to test it.
Back to Top
1,712 Rep
Post Options Post Options   Quote Khalan Quote  Post ReplyReply Direct Link To This Post Posted: 05 Mar 2011 at 11:28pm
Thanks for the great plugin. I'm in the process of converting over to it, and smooth map scrolling works great. However I can't get the minimap movement working.

Previously on a Left mouse button down event I had System Scroll to X set to:
[code:3azkt0mu]DisplayWidth*0.5 + Minimap.MapToLayoutX(Minimap.Width - (Minimap.Width / (ScrollXRight - Minimap.X) + (ScrollXRight - MouseX)))[/code:3azkt0mu]

A debug display of this equation gives an output of 0 to 4000 depending on the position of the mouse over the minimap (the layout size is 4000). This works fine. And if I set the X position of MagiCam to say 2500 it works fine as well. But when I try setting the X position of MagiCam to the above equation instead of System Scroll to X, it jumps all over the place. Any ideas on what's happening?
Back to Top

Moderator
7,067 Rep
Post Options Post Options   Quote linkman2004 Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 2011 at 12:17am
@Khalan - If you don't mind sending me a CAP file with the problem, I'll check it out for you.
Back to Top
1,712 Rep
Post Options Post Options   Quote Khalan Quote  Post ReplyReply Direct Link To This Post Posted: 07 Mar 2011 at 2:27am
Any luck with looking at the cap file I sent you yesterday? (if you had the time to check it)
Back to Top

Moderator
7,067 Rep
Post Options Post Options   Quote linkman2004 Quote  Post ReplyReply Direct Link To This Post Posted: 07 Mar 2011 at 3:37am
Just to clarify, you're wanting the view to jump to the location that you click on on the map, correct?
Back to Top
 Post Reply Post Reply Page  <1 45678 10>

Forum Jump Forum Permissions View Drop Down