Questions tagged [ccscrolllayer]

CCScrollLayer Adds scroll feature for layers in cocos2d.

SDK Download: Here

API Reference: Here

21 questions
0
votes
1 answer

Use of undeclared identifier in Cocos2D-iphone extension class CCScrollLayer

Downloaded the CCScrollLayer Cocos2D extension from here: https://github.com/cocos2d/cocos2d-iphone-extensions/tree/master/Extensions/CCScrollLayer Not sure how much it matters, cuz I think this is more of an OpenGL question, but the intent of the…
0
votes
1 answer

Cocos2d - CCScrollLayer within specific area with static buttons outside of Scroll Layer

I am trying to achieve the following: Within the scene, there to be a 'scrollable' area, containing clickable sprites/CCMenuItems. Within the same scene there to be (outside of the 'scrollable' area) clickable sprites/CCMenuItems. I have tried…
Harry
  • 321
  • 1
  • 5
  • 17
0
votes
4 answers

mach-o-linker error because of a class-CCScrollLayer?

I am lost . i used to use the CCScrollLayer a lot, its a cocos2d class but now i got a strange error- mach-o-linker. i have added the classes to my project (CCScrollLayer.h+m) i have imported them i have defined : CCScrollLayer *scroller; then ,…
user1280535
  • 347
  • 3
  • 13
0
votes
1 answer

Controlling touches in CCScrollLayer (cocos2d iOS)

I have a CCScrollLayer in my app which contains movable sprites (they can be dragged & dropped). The issue is that when dragging the sprites too far, the CCScrollLayer starts scrolling. I am trying to disable the CCScrollLayer from scrolling as long…
mmvie
  • 2,571
  • 7
  • 24
  • 39
0
votes
2 answers

use subclass of CCLayer for CCScrollLayer

I've created a custom class which is a subclass of CCLayer and trying to use it for CCScrollLayer The way I do it is: //Store the my layers to an NSMutableArray for (AACustomClassLayer *cardLayer in levels) { [layers…
el.severo
  • 2,202
  • 6
  • 31
  • 62
0
votes
2 answers

Creating a scrollview

Here's my current situation: I created a CCScene named StoreScene. Within that scene, I've initialized a CCLayer and just named it Store layer. Now, I want a scrollable layer that contains content which the user can touch. To do this, I created…
waylonion
  • 6,866
  • 8
  • 51
  • 92
1
2