Camera

For questions about using Classic.

Post » Fri Mar 27, 2015 6:00 pm

Hi all
Can i do screen following main character other way than center view on me?
I did that main character can pick up a crowbar,if crowbar is picked theres a new model - main character with a crowbar,how to make view center on second model since picking up crowbar? (i tried to make both center view on me but it does that camera centered between those 2 models)
B
4
Posts: 13
Reputation: 230

Post » Fri Mar 27, 2015 7:25 pm

There are several ways....you can use scrollx and scrolly to player.x and player.y , you can remove an attribute during runtime from one character (center view on me) , you could use multiple animations per object ,with crowbar ...without......
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Fri Mar 27, 2015 7:54 pm

How to remove an attribute in events?
B
4
Posts: 13
Reputation: 230

Post » Fri Mar 27, 2015 7:57 pm

You will find it in system actions , remove attribute from object
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Fri Mar 27, 2015 8:00 pm

Usually i use a "player object" that is hidden from view that is the actual character and just follow that. This way you can alternate "characters" by attaching them to the player with the pin behaviour (like a sticker) that will give you more flexibility. Just destroy or hide the "guy without the crawbar" and "create guy with crowbar" on x/y coordenates of the "player object". At least that's how i would do that in your case. I hope it helps.
Freefall Bird
B
45
S
8
G
5
Posts: 278
Reputation: 5,627

Post » Fri Mar 27, 2015 8:06 pm

This is the construct classic section @Ragevortex ....there is no pin behavior!!!!!!
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Fri Mar 27, 2015 10:01 pm

"You will find it in system actions , remove attribute from object"
How it works?
I did this and i have to add in "attributes" sprite.
How to add concrete attribute,not sprite?
B
4
Posts: 13
Reputation: 230

Post » Sat Mar 28, 2015 12:45 am

"concrete" ??? I don't know what you mean , maybe attach a cap and I will show you .
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Sat Mar 28, 2015 7:56 am

"concrete" I mean only center view on me
It seems im not permitted to post download links ;/
B
4
Posts: 13
Reputation: 230

Post » Sat Mar 28, 2015 2:31 pm

I made you an example but as of now the forum has turned off attachments , will send to you when I am able.
https://www.dropbox.com/s/bwqrvqj2nn28n ... e.rar?dl=0
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest