|
| link |
Post
#1
|
|
Member Group: Members Posts: 13 Joined: 10-July 06 Member No.: 128 |
how can i put inside of a sprite a MovieClip?
with hole user interaction(buttons, images or video) is not a MovieSkin..... cheers |
| kiroukou |
Post
#2
|
|
Administrator Group: Root Admin Posts: 910 Joined: 12-June 06 Member No.: 1 |
Hi,
The only solution right now is the MovieSkin. But you'll loose the interaction with text etc. as the movieclip is transformed into a bitmapData. ++ |
| link |
Post
#3
|
|
Member Group: Members Posts: 13 Joined: 10-July 06 Member No.: 128 |
=(
|
| kiroukou |
Post
#4
|
|
Administrator Group: Root Admin Posts: 910 Joined: 12-June 06 Member No.: 1 |
But you can try to find a solution by yourself (IMG:style_emoticons/default/wink.gif) Don't forget it is open source (IMG:style_emoticons/default/smile.gif)
|
| link |
Post
#5
|
|
Member Group: Members Posts: 13 Joined: 10-July 06 Member No.: 128 |
i think i need 3 new Classes
new Sprite Class extending Sprite2D new Face Class and new Skin Class i don´t know if i miss something, i just have a few days with this framework |
| kiroukou |
Post
#6
|
|
Administrator Group: Root Admin Posts: 910 Joined: 12-June 06 Member No.: 1 |
If you want to add a new type of object, this is what you have to do indeed (IMG:style_emoticons/default/smile.gif)
But the problem is that Sandy wasn't thought to handle this feature. In fact I never seen any real 3D engine capable to do that. Flash allows you to do this stuff, but it needs some hacks, and is limited to use a single camera. That's why I did not decide to manage this. Sorry. |
| link |
Post
#7
|
|
Member Group: Members Posts: 13 Joined: 10-July 06 Member No.: 128 |
umm, well how can i see the sprite at 100% on my stage???,
i want to click the sprite do the panning to some position to see my sprite at 100%, once at 100% can be repleaced by a movieClip =) i already did the click and the panning stuff but i don´t know the exactly position to see my sprite at 100% |
| kiroukou |
Post
#8
|
|
Administrator Group: Root Admin Posts: 910 Joined: 12-June 06 Member No.: 1 |
Sorry but I do not understand "i already did the click and the panning stuff but i don´t know the exactly position
to see my sprite at 100%" Can you explain more? THanks |
| link |
Post
#9
|
|
Member Group: Members Posts: 13 Joined: 10-July 06 Member No.: 128 |
jejejeje, look i have a sprite2d on my stage at the position (0,50,-200);
and my camera is on (0,50,-800); when i click my sprite my camera goes to (0,50,-200) (the position of my sprite) but my sprite is not at 100% (the _xscale and _yscale properties looks like 400%) got it? i want to repleace the sprite by a movieClip but i need it at 100% (_xscale, _yscale properties) |
| kiroukou |
Post
#10
|
|
Administrator Group: Root Admin Posts: 910 Joined: 12-June 06 Member No.: 1 |
It is a perspective effect.
You can play with the scale thnaks to Sprite3D.setScale method anyway. ++ |
| link |
Post
#11
|
|
Member Group: Members Posts: 13 Joined: 10-July 06 Member No.: 128 |
i already tried that, but it doesn´t work
thanks anyway =) |
| kiroukou |
Post
#12
|
|
Administrator Group: Root Admin Posts: 910 Joined: 12-June 06 Member No.: 1 |
|
| link |
Post
#13
|
|
Member Group: Members Posts: 13 Joined: 10-July 06 Member No.: 128 |
because that just scale the sprite at any perspective
but i dont want that i just want my strite at 100% but the camera needs to be at some position that i don't know how calculate |
| kiroukou |
Post
#14
|
|
Administrator Group: Root Admin Posts: 910 Joined: 12-June 06 Member No.: 1 |
I've to say that I don't know how to proceed.
A solution I would try in your case, is to look at the formula I use in Sprite2DFace file, and try to solve this with you object dimension and position. The wz property of a vertex is its world Z coordinate thought. ++ |
| link |
Post
#15
|
|
Member Group: Members Posts: 13 Joined: 10-July 06 Member No.: 128 |
jejeje
thanks =) |
| Lo-Fi Version | Time is now: 10th August 2007 - 04:39 AM |