How to create animated beam sprite - sprite-kit

I am new to coding, so am unfamiliar with many techniques etc, so please bear with!
I was wondering how you would go about recreating the effect seen in 'God of light' (http://wpuploads.appadvice.com/wp-content/uploads/2014/02/IMG_5498.jpeg), specifically the animated beams of light, with the awesome 'energy' look to them. In my SpriteKit game, the player reflects a beam (of light) using mirrors they draw. I am currently creating the beam using a CGPath as this lets me change its length easily, and have finished the code for the game without textures and just using SKSpriteNodes and shapes etc but I am clueless as to how I would go about adding an animated texture to the beam, such as the one in God of Light. If anyone would be willing to share any ideas as to the basic plan they would use to go about creating this effect I would be very appreciative!
Sorry its a little vague, but I haven't begun giving the beam a texture yet, and literally have no idea how to go about it.
Thanks!

I would use a separate animation program such as After Effects to create the the animation effect you want and export a series of keyframes. Then I would place the keyframes into an atlas and use SKAction animateWithTextures to animate them. Here is an excellent tutorial on it: Sprite Kit Tutorial: Animations and Texture Atlases: http://www.raywenderlich.com/45152/sprite-kit-tutorial-animations-and-texture-atlases

Related

turn sprite list images into single images for use

so trying to make this as simple as I possibly can (which is next to impossible)
so in the unity editor using the 2d platformer learning thing im trying to switch the player sprites with many sprite lists from https://aamatniekss.itch.io/fantasy-knight-free-pixelart-animated-character for the images I'm trying to make the images into a new sprite animation
I hope I made this straight forward enough.
Use this BRACKEYS TUTORIAL
You need to make sprite sheets or create the animations in the Unity animation system and then trigger them by code or state machine.
https://www.youtube.com/watch?v=87cF8jqVpBA
i found it myself so anyone who needs to know here you go
make sure the sprite isnt in single but multiple.

What approach should I use to create animated backgrounds in Unity?

I'm new to Unity and trying to figure out the best way to create animated backgrounds. To be clear, I'm not asking you to give me an exact solution or instructions, and I would be grateful if you just tell me which direction to look in, and I will figure it out by reading the documentation.
I'm interested in how animated backgrounds are created in 2D Unity (for example, as here: https://youtu.be/OxiGlmV6ByA?t=1075 flying leaves are visible on the background). I only thought of using particles or just creating standard animations in Unity. But, the second way seems too long and complex, and about the particles, I'm not sure how much it affects the performance in a mobile game. Google searches mostly give instructions on how to create parallax backgrounds or moving backgrounds in Unity.
In general, I will be grateful if you tell me which approach is the most optimal for creating an animated background in a mobile 2D game in Unity.
The particles system is well optimized, for what you want to do it will not affects the performance, even on mobile.

Unity animated ribbon effect

Could tell me how to make these yellow animated ribbons like the ones seen in this video were made? https://www.youtube.com/watch?v=x9dtp2PSrPg
Is it made using a particle system? Or do you think it was made outside of Unity?
I'd love some direction on how I could recreate this effect. (I'm quite new to Unity so any help is appreciated)
Thanks!
If it is for a video, go for Adobe After Effects + Trapcode Particular:
https://www.redgiant.com/products/trapcode-particular/
In Unity: waaay more difficult. Probably procedural spline-based mesh generation. You need to know lot of stuff about bezier curves, 3d meshes, what exactly is a vertex in a 3d model and other strange things.
And everything it's explained quite well here:
https://www.youtube.com/watch?v=o9RK6O2kOKo
P.S. #Night.owl You owe me two beers, mate :) ahahaha
Tiziano is right. You can use Procedural but I think that is complicated. If you are advanced then you can do that.
There is an easier way to do this like you asked. It is called LineRenderer
You need to learn Coroutine first, then animate the LineRenderer by moving the position of the LineRenderer's points in coroutine. This is the easiest way of doing this in unity.
If you look at the video below at 0:27, you will see what LineRenderer can do.
https://youtu.be/9hE7-rGg7Tg?t=27
Learn about animating with LineRenderer
https://www.youtube.com/watch?v=Bqcu94VuVOI

Creating Geometry Wars / GeoDefence style graphics on iPhone

I have been messing around with Cocos2d for a while but decided that, due to my lack of graphic design skills, I would be better off creating a game with Geo wars style graphics. I.e. geometric shapes etc.
Can anyone point me in the right direction on how to get started with this? I know I can create rudimentary shapes but how do I go about getting glowing shapes, particle effects etc.
Any advice or pointers in the right direction would be greatly appreciated, I have thus far been unable to find much information on creating graphics in the style that I want!
With Cocos2d the best way to get the glow would to probably be to bake them into the sprites themselves and animate between different levels of glow.
Particle effects is well covered in the programming guide, the particle designer program they mention makes it pretty painless as well
http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:particles

Problem in using CCCamera

I am going to work on a game project. I am using cocos2d. I want to use cccamera class of cocos2d. Please tell me about any tutorial on cccamera. I want to implement more or less like angry birds, throwing the ball that reaches its destination facing the obstacles in the way.
So when the ball moves ahead the scene accordingly moves back depending on speed of the ball.
How to manage all that. I think i should use cccamera.
Thanx.
CCCamera, per the documentation is used for 3D effects (http://www.cocos2d-iphone.org/api-ref/latest-stable/interface_c_c_camera.html) and recommends the use of CCFollow (http://www.cocos2d-iphone.org/api-ref/latest-stable/interface_c_c_follow.html) for 2D related effects (such as following the birds forward, etc).