烁灵 posted @ 2015年5月19日 14:23 in 未分类 with tags Cocos2dx , 4411 阅读


scrollToPercentHorizontal(float percent, float time, bool attenuated);//水平滚动容器内容到滚动视图宽度百分比位置上




第一个参数percent将使内部容器向左滚动(内部容器宽度 - 滚动层宽度) * percent 像素的距离





float percent = 100.0f * x / (scroll->getInnerContainerSize().width - scroll->getContentSize().width)

scroll->scrollToPercentHorizontal(percent, 0.5f, true);


f88tw 说:
2021年4月25日 18:23

敬启者:个人小网站希望大家多多支持 感谢您对我们热心的支持 f88tw┃华歌尔┃I appreciate your kind assistance. f88tw粗工粗工内容 粗工粗工内容 |墓园|捡骨流程|捡骨费用|捡骨时间|禁忌|捡骨颜色|捡骨师|新竹|时间|台北|桃园|苗栗|头份|

Avatar_small 说:
2023年2月02日 22:12

Do you own a router or modem, then you might have heard about the term Internal configuration and router configuration which are very important to do when you first buy a new router or when you have just reset a router. Frankly speaking, there are hundreds of router brands across the world and every one of them has high end router models that have a different configuration process.

comment voir les lik 说:
2023年7月15日 21:59

En utilisant cette plateforme Instagram, vous pouvez consulter le nombre de likes de la publication ainsi que les commentaires. D’autre part, vous pouvez également observer les goûts de vos propres publications en vous rendant sur votre profil. comment voir les like sur instagram En consultant votre profil, vous pouvez vérifier les avis des messages qui sont valides ou non pour vos photos ou vidéos partagées. Et vous pouvez également supprimer le message inutile que vous n’aimez pas.

UBSE 10th Class Syl 说:
2023年7月16日 20:38

Uttarakhand Board High School Parents can use the Syllabus to Understand the Concepts and Prepare their Children for the Exam, Accordingly, The Uttarakhand 10th Class Syllabus 2024 All Subject Chapter UBSE 10th Class Syllabus 2024 Wise Students Prepare for the Upcoming Class Exam, it is quite Essential that they have the Complete Knowledge of the Uttarakhand 10th Class Latest Syllabus 2024 of All Relevant Subjects, Knowing the Details of Prescribed Topics and the weight age Allotted to Them Makes it easy to plan your Studies Meticulously so that you can make Effective Preparations for your Exam and obtain desired marks.

登录 *

loading captcha image...
or Ctrl+Enter