Re: MagiCam Plugin - v1.43 BETA(Updated 12/10) Forum Home > Construct Classic > Construct Classic Discussion > Work-in-progress addons |
Post Reply
|
Page <1 56789 10> |
| Author | |
Post Options
Quote Reply
Posted: 07 Mar 2011 at 3:42am |
|
|
Yep, that's right. It works fine using System- Scroll to X without MagiCam. Would love to get it working with MagiCam though.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 07 Mar 2011 at 3:50am |
|
|
I think I managed to achieve what you want using a simpler equation. Just use these for the MagiCam position:
[code:1kihh9jn]Minimap.MapToLayoutX(MouseX("UI") - Minimap.X) Minimap.MapToLayoutX(MouseY("UI") - Minimap.Y)[/code:1kihh9jn] That worked fine for me. I couldn't figure out what was going on with the other equation, although I can take a few guesses. If I have time, I'll take a deeper look into it. I hope this helps. |
|
![]() |
|
Post Options
Quote Reply
Posted: 07 Mar 2011 at 4:02am |
|
|
I had a feeling there'd be a simpler way to do it. Once I adjust it for the relative position of the minimap to the right hand screen edge, it should work great.
Thanks very much, really appreciate it. |
|
![]() |
|
Post Options
Quote Reply
Posted: 24 Mar 2011 at 3:21am |
|
|
That grid scrolling is neat, but I wonder, is there a way to setup a grid scroll between 2 layouts? I've been trying on my own but no luck.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 30 Mar 2011 at 11:17pm |
|
|
What exactly does "Moving" under "While motion in progress" mean? I assumed it was the obvious, but it doesn't seem to be working how I imagined...
|
|
![]() |
|
Post Options
Quote Reply
Posted: 30 Mar 2011 at 11:52pm |
|
|
[quote="aldo":3bk4n7zu]That grid scrolling is neat, but I wonder, is there a way to setup a grid scroll between 2 layouts? I've been trying on my own but no luck.[/quote:3bk4n7zu]
There's no way to do that, and I don't think there's any way I could allow it to do that. [quote="SullyTheStrange":3bk4n7zu]What exactly does "Moving" under "While motion in progress" mean? I assumed it was the obvious, but it doesn't seem to be working how I imagined...[/quote:3bk4n7zu] If I remember correctly, it registers as true when the camera is transitioning to a new position, not when it's just moving normally. |
|
![]() |
|
Post Options
Quote Reply
Posted: 31 Mar 2011 at 12:03am |
|
|
I was actually able to get (what on the surface appears to be) a grid scroll between two layouts...
my trials and tribulations are all in this thread: viewtopic.php?f=3&t=8967 The only problem is that the camera is a little jerky for some reason. |
|
![]() |
|
Post Options
Quote Reply
Posted: 31 Mar 2011 at 2:05am |
|
|
[quote="linkman2004":3rbj2ryw]If I remember correctly, it registers as true when the camera is transitioning to a new position, not when it's just moving normally.[/quote:3rbj2ryw]
Oh, okay. Is there any way to tell when it's moving normally then? |
|
![]() |
|
Post Options
Quote Reply
Posted: 31 May 2011 at 1:12am |
|
|
Nice plugin. But just an observation, I've noticed that on my game, (That has pixel graphics, and the sampling is set to "point") there will be pixel offsets for those sprites and tiles, which make the game look weird at times, with the player shifting up and down pixels when the camera is smoothing in on him when standing still. Do you have plans to fix this? Its not too much of a big deal, but can look bad at times, depending on how my tilesets look. On smoother looking graphics, with sampling set to linear however, they look fine.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 31 May 2011 at 1:42am |
|
|
Melodious, have you tried setting the position precision of the camera to "Integer"? If not, you can do that through the "Set position precision" action under "Misc." That setting is designed for games with pixel graphics.
If you're already doing that, I'd like to see a simple CAP file demonstrating what you're talking about. This will help me fix it if need be. I hope that helps. |
|
![]() |
|
Post Reply
|
Page <1 56789 10> |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |