Hi there I'm having problems as stated with CCScrollLayer in the lateste cocos2d beta, mainly that on compiling I get: use of undeclared identifier 'CC_GL_BLEND'. Is there any way to sort this problem that anyone has found yet?
I am currently using the CCScrollLayer (in the cocos2d extension classes) class to implement a menu system. It's working great but I would like to have other buttons on the screen and the scrollable area is the entire screen by default.
I tried…
I'm using the CCScrollLayer and I wanna prepare images during player select the stages. It's simple but when I scroll stages, it tasks time(delay to load images).
so I decided to use NSThread. and I got a message "cocos2d: CCSpriteFrameCache: Trying…
Please see image. How can I create custom scroll layer like this in cocos2D game? I used CCScrollLayer but that scrolls one page at a time. I want to scroll only one sprite on scroll.
Is it possible to do same with CCScrollLayer ? If not then is how…
i am having this problem try to use the cocos2d CCScrollLayer
I have added the CCScrollLayer classes to my scene, and having this 3 problems:
1. it is not get touches
2.it puts the backgrounds (landscape) one on each other, like this: page1 is in…
I have two CCScrollLayers in one scene (implementation) in an Xcode iPhone project with cocos2d.
It only works with the last created scrollayer. Why? How can it be done to work with both?
Not working = looks like static object with no interation =…
I'm using CCScrollLayer files at here CCScrollLayer for my cocos2d-x project (version 2.2.2).
I adapted them to make it can scroll vertically. And I got a problem: when I add two CCScrollLayer in a layer, I just can only scroll the last…
I have CCScrollView with container with CCControlButtons, when the buttons scroll out of the visible CCScrollView area, They are also can be touched too. How can I control the area ?
I want to scroll my map by touching. Could you give me basic concepts how to reach it? Here is my ugly simple code. Just modifying layer's position by each touch moving. It works, but it's not cute as could be.
.h
CGPoint *touchBegin;
CGPoint…
I've got something like this in my game now:
It's UIView in UIScrollView.
This UIView can be width of 480px or 960 etc.
+-----------------+
+ UIScrollView +
++---------------++
++ UIView ++
++ ++
++ p …
I'm trying to make a scrollable gallery in my app with using cocos2d 2.0, something like collection view in ios6, but it's my third day of trying figure out how to scroll anything vertically. I started with CCScrollLayer and I use it as a scrollable…
I am coding a modal layer in cocos2d and I would like to use the OpenGL glScissor API call to crop the inside of a CCScrollLayer that I am using,
Basically,
Present some kind of Modal sprite
Put CCScrollLayer with assets on the modal sprite
I want…
I am trying to get CCScrollLayer to work in my cocos2d app, but it won't scroll.
Here is what I did:
Using the cocos2d template, created a iOS cocos2d project. Added the CCScrollLayer files, and imported into my HelloWorldLayer class. Added a…
I have a list of about 10 avatars and I am using CCScrollLayer to display paging. Currently, it only shows 1 avatar per page, and I would much prefer if it showed 3 avatars per page but I am unsure of how to do this.
I've attempted to ensure that a…
I am Working Android game using cocos 2d. I have Main Activity and Layers added on Main Activity in my Layer. I have 5 sprites and I have to use scroll view to scroll all sprites horizontally so user and perform further task on each sprite but I am…