some questions

For questions about using Classic.

Post » Wed Jun 24, 2009 4:23 am

hi
how can i show global varible in a text?
and how can i create rotating joint
and when i make in behavior object to rotate
its doesnt have friction (its with physicks too)
and can i make specific object not to collide with each other
under behavior physics
any one? :(
ohh and i have problem when i make physic and 8direction behavior
to the same sprite its when i run the game it going crazy to all directions
B
2
G
3
Posts: 15
Reputation: 880

Post » Thu Sep 24, 2009 6:56 pm

it would be good to post a cap when you have many questions. screenshots are good as well. its hard to tell exactly why you are havin a problem without a cap.
B
2
S
2
G
4
Posts: 259
Reputation: 1,968

Post » Thu Sep 24, 2009 7:56 pm

[quote:319nkhrt]hi[/quote:319nkhrt]
hi
[quote:319nkhrt]how can i show global varible in a text?[/quote:319nkhrt]
set text to global('variablename')
[quote:319nkhrt]and how can i create rotating joint[/quote:319nkhrt]
there are many ways to do this, if it's physics you create a hinge, and then to rotate add torque or set rotational velocity. without physics:
have sprite2's hotspot where you want it to connect to the joint, give sprite1 an imagepoint where you want the joint
[code:319nkhrt]always - set sprite2 position to sprite1 imagepoint[/code:319nkhrt]
and rotate as needed
[quote:319nkhrt]and when i make in behavior object to rotate
its doesnt have friction (its with physicks too)[/quote:319nkhrt]
physics doesn't automatically work with other behaviors, you should be able to work well with either behavior by itself, before you attempt to combine physics with them, physics is picky about how you do things, experiment with it alone first, and get a feel for it
[quote:319nkhrt]and can i make specific object not to collide with each other
under behavior physics[/quote:319nkhrt]
there is an action in physics to disable collisions with certain objects
[quote:319nkhrt]ohh and i have problem when i make physic and 8direction behavior
to the same sprite its when i run the game it going crazy to all directions[/quote:319nkhrt]
see answer above
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests