やり方は以下の通り
1.プロジェクトのresフォルダ辺りで右クリック「New」→「Image Asset」を選択する。
2.Foreground Layerでメインの画像を選択
3.Background Layerで背景の設定(画像でも色だけでも可)
スマホアプリで飯を食うための情報を綴ります
switch (pMotionEvent.getAction() & MotionEvent.ACTION_MASK) {
    /*
    case MotionEvent.ACTION_POINTER_DOWN:
        final int indexPointerDown = pMotionEvent.getAction() >> MotionEvent.ACTION_POINTER_INDEX_SHIFT;
        if (!mMultipleTouchEnabled && indexPointerDown != 0) {
            break;
        }
        final int idPointerDown = pMotionEvent.getPointerId(indexPointerDown);
        final float xPointerDown = pMotionEvent.getX(indexPointerDown);
        final float yPointerDown = pMotionEvent.getY(indexPointerDown);
        this.queueEvent(new Runnable() {
            @Override
            public void run() {
                Cocos2dxGLSurfaceView.this.mCocos2dxRenderer.handleActionDown(idPointerDown, xPointerDown, yPointerDown);
            }
        });
        break;
     */
    case MotionEvent.ACTION_DOWN: