Particle Designer setting background image - iphone

First of all, I am newbie iPhone developer. I am using Particle created from Particle Designer(.pex file)(71squared). My application is not cocos2d. How to set the background image. My application has a image in background and adding this particle view with particle designes pex file as subview to it. Now, this particle view is hiding the background image with pex file's black background. I tried to put background to pex file when creating it. But it is not including that. I tried to put background image to view that I created to load this pex file, that didn't help. I tried to put background image to particle view that I am loading this view over, that didn't help. Is there any other way I could implement this?

Go here and download the zip to see an example
https://github.com/icanzilb/UIEffectDesignerView

Related

Unity3D - Set a (foreground) UI layer which ignores mouse clicks?

I'm currently writing up a UI-Centric game, and I've added a small image overlay over some elements on screen. However, the problem is that now I can't click any buttons behind this overlay image, regardless of transparency etc.
Just to chance it, I set up a new layer called "noUIclick" and set it to ignore every other layer under physics settings - long shot I know, but no dice. Tried also simply swapping to 3D view and moving the overlay image back on the z-axis.
Is there any easy way to set a layer for UI components which will entirely ignore/allow for passthrough of mouseclicks onto the buttons in the background?
On the Image component, uncheck raycastTarget.

how to avoid black screen on change of intent in andengine?

I was working on game using andengine ,I'm struck with the loading screen.Each time when I press my menu items It takes some time to load the next activity, meanwhile a black screen appears,so can anyone please help me in setting a screen with loading text instead of getting black screen.
I have searched on it and came to know that while game starts a loading page or splash screen is set to load all the resources background to avoid black screen,so please suggest me any possible ways to avoid that issue.
The key is to not break your application up into a set of activities as you would with a traditional android app. Instead, break your game up into a series of scenes.
Create a manager class to load and unload the scenes and textures for each scene.
As an added bonus, you will be able to animate the transition between menus and scenes.
If you need a detailed breakdown of how to implement this, take a look at the book:
AndEngine for Android Game Development Cookbook
Creating a surface view, and loading the textures for that view are slow costly operations. Each time you create a base game activity, you are creating and destroying your entire SurfaceView and all of the textures. For the best user expereince, you will want to avoid this at all costs.

How can I create a tile, overlay for a scene in Cocos2d?

I'm new to Cocos2d, but I can't seem to find the answer to this. I want to add an image that is mostly transparent as an overlay to my application. The image is overlayed on the app, and does not respond to screen taps. All gestures should "pass through" to the application.
The overlay image should actually be tiled. It's a small image that should repeat both horizontally and vertically.
How can I do this? In fact, this is an overlay that I would like to display for the duration of the entire application-- not just one specific scene. Is there a simple way to do this?
The point of my overlay is that I'd like to create a pseudo-scan line affect for a game which has an "8-bit" tone. The scan lines will be generated by applying the overlay to the game. The overlay is non-interactive and should always exist. So, this isn't a "tile based game", but I do need a tiling affect for this functionality.
You should be able to create a layer in each scene, set the zOrder to something large so that it overlays everything else, and set its isTouchEnabled attribute to NO. You can then add whatever you want to the layer, which could be your patterned image. To change the alpha, just set the opacity attribute of your image. The only issue that I can foresee is that the overlay might disable touch events for layers below it.

How to erase foreground image to make the background visible using OpenGLES?

I'm learning iPhone development specifically OpenGL ES 2. I'm trying to achieve an effect as in steam draw. I have a background image and a foreground image. When I move the finger over the foreground image the corresponding pixels of the foreground image are erased and the background does get visible. Can someone point me in the right direction on how to implement this? Some guide lines?
You can use GL_STENSIL_TEST when drawing foreground to exclude fragments you choose(or your finger ;))

iPhone OpenGL : Adding a background image

Right so I got all my lovely openGL stuff working and I can change the background colour via the property of the view or even the window however for the love of god I cant change it to an image.
I have tried adding it to the nib
I have tried adding a UIImageView as
a subview.
I have tried addiing it as a UIColor
with Pattern
I tried making the OpenGL view have a
clear background and setting the
image on the actual window.
Still no joy!
Issue a glClear then render 2 triangles (ie a quad) to the screen with the appropriate image texture mapped onto them.