Skip to content

4.12.2 フルーツの描画を改善する #37

@niku

Description

@niku

cocos2d-x の SpriteBatchNode::create
cocos2d-js の new cc.SpriteBatchNode に相当する.

Sprite への幅指定が fruitWidth だと,右端に縦長の線が入ってしまった.
右隣りの画像が1ピクセルだけ含まれてしまっているのかもしれない.
そこで幅を1ピクセルだけ小さくすると問題が解消した.
(場当たり的な対応なので後で直しかたを調べる)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions