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

Action with multithreading #5

Open
merged 7 commits into
base: master
Choose a base branch
from
Feb 17, 2019

Conversation

ValMystletainn
Copy link
Contributor

@ValMystletainn ValMystletainn commented Feb 12, 2019

基本实现功能。

现在发现的坑(基本也写在注释的TODO里了):

  1. 跑多回合的时候出现内存bug的概率增大,按照卓老师经验,应该是c++线程库和cocos线程的矛盾
  2. 在成员函数中用新图片加载精灵时,所用图片一定要在构造函数出现,否则无法显示图片(不知道是不是个人版本问题)
  3. commands无法在Player0为空时更新Player1的指令库
  4. 没有找到合理的点击事件和精灵的绑定方法(用于显示血量等信息),暂时的解决方案是打印回合流水
  5. 记得用这个地图文件(一些TileMap贼坑的错误需要修改tmx文件达成目的)

ValMystletainn and others added 7 commits February 4, 2019 09:33
完成了兵种的刷新
指令的显示初步完成,
需要一个延迟函数,把现在的同步动画变成串行
需要个性化的攻击动画
基本实现功能。

现在发现的坑:
1. 跑多回合的时候出现内存bug的概率增大,按照卓老师经验,应该是c++线程库和cocos线程的矛盾
2. 在成员函数中用新图片加载精灵时,所用图片一定要在构造函数出现,否则无法显示图片(不知道是不是个人版本问题)
3. commands无法在Player0为空时更新Player1的指令库
4. 没有找到合理的点击事件和精灵的绑定方法,暂时的解决方案是打印回合流水
@Vladimir2506 Vladimir2506 merged commit 46ebe58 into zhuocai:master Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants