Advanced Camera Plugin (Updated: 09/21 - v0.93b)

New releases and general discussions.

Post » Fri Feb 19, 2010 7:29 pm

[quote="KrushBrother":1ys75841]but the GridScrolling example doesn't seem to do anything.[/quote:1ys75841]

I thought the same, and nothing grid-like happens until you jump down the hole at the far right.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Sat Feb 20, 2010 3:52 am

[quote="madster":2nf3leg5][quote="KrushBrother":2nf3leg5]but the GridScrolling example doesn't seem to do anything.[/quote:2nf3leg5]
I thought the same, and nothing grid-like happens until you jump down the hole at the far right.[/quote:2nf3leg5]
This man has the right of it. Don't scare me like that. :P
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Sat Feb 20, 2010 4:11 pm

[quote="linkman2004":3s7wzzyq]This man has the right of it. Don't scare me like that. :P[/quote:3s7wzzyq]
Lol. Well I must be missing something.

There's no scrolling in the gridscrolling example, and when I disappear off the right of the screen and keep walking, I know that I fall down the hole at some point, but I'm left looking at the same are of screen that I see when I start the example.

Strange!

Krush.
B
2
S
2
G
3
Posts: 406
Reputation: 2,062

Post » Thu Feb 25, 2010 6:05 pm

Truly, you are a hero, linkman. This is amazing.
B
2
G
3
Posts: 52
Reputation: 954

Post » Thu Feb 25, 2010 10:54 pm

...that being said, i have found a bug.

I am using the Advanced Camera with the "Follow Uniform Grid" method on my "Player" object. If i quicksave then quickload, the camera stops working and ceases to follow the player when it walks off-screen.

Here's a link to a modified version of the example you sent with the Advanced Camera download:
http://dl.dropbox.com/u/1289061/Constru ... %20bug.cap

Use "S" to quicksave, then press "L" to quickload and notice how the camera stops following the player. At first i thought it was because i hadn't checked off the "no serialize" box, but that didn't work. Neither did making it global.

Anyways, check it out. It would be awesome if this could be fixed because it works great otherwise.

EDIT: Also, in case you were wondering, i am using Construct version 99.83
B
2
G
3
Posts: 52
Reputation: 954

Post » Thu Feb 25, 2010 11:26 pm

[quote="feeblethemighty":3htk6iyl]
EDIT: Also, in case you were wondering, i am using Construct version 99.83[/quote:3htk6iyl]

i think there's issues with that version, does it still happen in 82?
B
3
S
2
G
3
Posts: 628
Reputation: 2,531

Post » Fri Feb 26, 2010 12:05 am

[quote="KrushBrother":1n71tf3o]There's no scrolling in the gridscrolling example, and when I disappear off the right of the screen and keep walking, I know that I fall down the hole at some point, but I'm left looking at the same are of screen that I see when I start the example.[/quote:1n71tf3o]
Weird. I have no idea what could be causing that. :?

[quote="feeblethemighty":1n71tf3o]...that being said, i have found a bug.[/quote:1n71tf3o]
This is due to the plugin being incompatible with the saving and loading features. I was never able to get it to work correctly because none of the devs ever explained how I was supposed to deal with object pointer serialization. I'll try and get this working at some point, but I wouldn't hold your breath.
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Fri Feb 26, 2010 12:54 am

Have a look at these two functions:

[code:1jsz36mu] virtual void SerializeObjectPtr(CRunObject*& obj, bin& ar) = 0;
virtual void SerializeObjectType(CRunObjType*& pType, bin& ar) = 0;[/code:1jsz36mu]
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Fri Feb 26, 2010 1:06 am

[quote="linkman2004":21614m9z]This is due to the plugin being incompatible with the saving and loading features. I was never able to get it to work correctly because none of the devs ever explained how I was supposed to deal with object pointer serialization. I'll try and get this working at some point, but I wouldn't hold your breath.[/quote:21614m9z]

Well, it would've been a nice feature for my game, but i suppose i don't need to use it. But i will certainly be following your progress. I may hold my breath anyways...:?...:shock:...:oops:...
B
2
G
3
Posts: 52
Reputation: 954

Post » Sat Feb 27, 2010 11:07 pm

linkman2004 Thanks! Cool Plugin.
B
3
S
2
G
3
Posts: 146
Reputation: 1,567

PreviousNext

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 4 guests