Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix animation wrapmode #158

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ You will find:

## Header search path

For cpp projects, should just add `reader` into header search path. For lua projects, should add these header path:
For cpp projects, just add `reader` into header search path.

For lua projects, add the following header paths:

* reader
* reader/collider
Expand Down Expand Up @@ -141,7 +143,7 @@ __If developing with Lua, then need to add `CreatorReaderBinding.cpp` into [plug

void some_function()
{
creator::CreatorReader* reader = creator::CreatorReader::createWithFilename("creator/CreatorSprites.ccreator");
creator::CreatorReader* reader = creator::CreatorReader::createWithFilename("creator/scenes/sprites/CreatorSprites.ccreator");

// will create the needed spritesheets + design resolution
reader->setup();
Expand Down Expand Up @@ -169,7 +171,7 @@ register_creator_reader_manual(L);
Use in lua

```lua
local creatorReader = cc.CreatorReader:createWithFilename('creator/CreatorSprites.ccreator')
local creatorReader = creator.CreatorReader:createWithFilename('creator/CreatorSprites.ccreator')
creatorReader:setup()
local scene = creatorReader:getSceneGraph()
cc.Director:getInstance():replaceScene(scene)
Expand Down
Loading