Show Material only while open mouth? - spark-ar-studio

How is it possible to show a Face material only while the mouth is opened? I dont know what to connect the Mouth Open Patch to. I have tried to search online but only found ways to play an animation while having mouth opened.

Here is a simple graph to solve your problem. If want to make a smooth transition, then you need to look at shaders patches(it is more advance stuff).

Related

How can Cocos2dx particle system achieve a burst effect?

I am new to Cocos2dx, and I am playing with the awesome particle system in my game. However, I couldnt able to design the best effect in my mind.
What I would like to see is something like in this video.
I think the main difference is that I cannot configure to let all the particles appear at once and disappear at the same time afterward. The particle generation time seems to be random.
So my questions will be: Is there any workarounds that I can configure the effect like that link in Cocos2dx? Or is there any other suggested ways for me to stick with?
I have another solution in my mind which is use sprite animation instead. But then it will lose the flexibility. I love a configuration approach similar as particle system that can easily create different visual effect by only changing parameters.
Any help will be appreciated!
Thanks!
You can download Particle Editor for Cocos2dx and V-play from below link:-
http://games.v-play.net/particleeditor/
also you can show a demo here for various particle effects:-
https://www.youtube.com/watch?v=6wUrf_veEvU

Character animation with bones for AS3

I'm developing some platform-like game in Flash using AS3. Everything is quite clean. The whole code is class based etc.
I've already done the most of the mechanics, and now I need to do some main character animations. I've already designed it, and it's waiting to be animated as a vector graphics.
A the problem starts here... What is the proper way of doing that? I would like to use bone tools to make it smooth. But as far as I tried to find any materials about it on the Internet everybody just do some simple animations and play it separately one after another. How about playing legs animation simultaneously arms and other parts of the body? Maybe some tricky usage of state machine... I don't know.. Is there any ready solution for that?
More tips is better here, or even some tutorials - just anything.
This tutorial by Chris Georgenes seems to be exactly what your looking for: http://www.adobe.com/devnet/flash/articles/character_animation_ik.html. Chris teaches the reader while animating a simple character. Having a strong overall knowledge of the bone tool will allow you to get the nice crisp animations you seek. I sincerely wish you the best of luck with your project.

How to detect and cut out face using the Kinect (or something else)?

I need to detect a face, and take that picture (only the face) and do something with that.
Just like you can "cut out" an entire body using the Kinect, I'd like to do the same but only with the face of the user.
I was using the Airkincet ANE lately, but I've read that any kind of face recognition/detection is not possible, so, I've also read that the MS Kinect SDK has some built in features that can recognize a face, the thing is, can I cut out the face?, or it only "recognizes"?.
Thanks, and sorry if the question is a little vague.
(It doesn't has to be a kinect, I can use a picture, and run an algorithm to cut out the face, since what I need is not real time).
Try looking at the SDK's C# sample "Face Tracking-3D WPF". It uses facial tracking to extract your face from the Kinect's view and blow it up. If you have a Kinect you can run the sample and install it and modify. Hope this helps.
cheers

Custom map for website

I have an overview drawing of a plant and I want to show the important pieces of equipment. Each piece of equipment would show some description information and have a link whenever it is hovered over.
I want the whole thing to function similarly to Google Maps where I can zoom in and pan around.
I have been trying to get the basic pan and zoom functions to work in Flash but are there better ways to develop this? Maybe something that doesn't involve Flash?
If you want to go for a flash-free, google maps-free plugin, you can combine http://wayfarerweb.com/jquery/plugins/mapbox/ with some jQuery for the mouseover behaviours.
It of course depends on how comfortable you are using jQuery, the implementation of the map itself is quite easy (it has zoom and pan), and the hovers are not complicated but will require more research if you haven't worked with javascript before. The advantage is that you will have complete control over it...

Any ideas on how to create a flying tile 3D transition just via script/classes?

Right guys,
I have been looking all over the internet for a tutorial to which will show me how to re-create this effect on images...
http://flash-effects.com/tutorial-image-transition-flying-tile-3d/
I dont want to install these 3rd party components, because the project I am working on at present, may in future need to be edited by other designers/developers.
Is there anyway to do this just via scripting???
Any feedback would be appreciated, im ideally looking for a tutorial...
Most of what you're looking for is here. Then download the Bitmap.zip example and look through it. Although I will reiterate what the page says, you really should buy the book. It's quite good and teaches a lot about Flash in general, not just game programming.
You'd still have to figure out how to randomize the height and width of the pieces, add an onClickListener, and then move the pieces. From the example you provided it looks like they're just moving them back and forth in a z-dimension.
Hope this helps.