MagiCam problems...

For questions about using Classic.

Post » Mon Aug 22, 2011 8:36 am

that's awesome, thanks for the link, this should help me right out
B
64
S
8
G
9
Posts: 290
Reputation: 8,590

Post » Mon Aug 22, 2011 9:10 am

Nice link, Tokinsom.

A few posts in, Davis gives a .cap that does the zelda screen scroll in one event! Awesome :)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,844
Reputation: 48,289

Post » Mon Aug 22, 2011 11:43 am

I don't understand any of this math... :(, but I wonder if it'd be possible to use an invisible sprite as an object to check for the triggering of the scrolling... Cause the scrolling I need only happens in specific places, not every screen...
B
64
S
8
G
9
Posts: 290
Reputation: 8,590

Post » Mon Aug 22, 2011 12:05 pm

Shouldn't be a problem with this .cap. I just added a few walls and the scroll will not trigger because it can't reach the screen edge. As you say, you can add a wall where you want it and make it invisible.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,844
Reputation: 48,289

Post » Mon Aug 22, 2011 1:08 pm

[QUOTE=brent_hamel] I don't understand any of this math... :(, but I wonder if it'd be possible to use an invisible sprite as an object to check for the triggering of the scrolling... Cause the scrolling I need only happens in specific places, not every screen...[/QUOTE]

If anything you could just replicate MagiCam's grid scrolling with events. You could create "rooms" using a box object or something, then check if the player's position exceeds that of the box object's boundaries (xleft, ytop, etc) and trigger the room transition then. You could also have normal scrolling if the player is inside the box, and use the boundaries to prevent the scroll position from going outside of it.

Sounds complicated but it's really just a bunch of ifs :)
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Mon Aug 22, 2011 4:47 pm

that seems like the best solution, I've just never used the built in scrolling system very much, so I've got some experimenting and learning to do!
B
64
S
8
G
9
Posts: 290
Reputation: 8,590

Post » Thu Aug 25, 2011 5:48 am

Question?!? How do I ask construct to look at the object the player is currently overlapping, and then also check to see if the player is about to overlap another instance of the same object (in this case these are camera zones)...
B
64
S
8
G
9
Posts: 290
Reputation: 8,590

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest