昨天在群里有人说setSoundsVolume和setMusicVolume设置声音大小无效。。。我记得cocos2dx是没实现内容的,就贸贸然回答说,是这你的没用,但群里有人说是有用的,我就去虚心请教,大神人很好,回答了我很多问题,告诉我说实现了,而且是针对不同的平台。实现的文件位置,如下图..
分类:
其他好文 时间:
2014-12-18 19:05:02
阅读次数:
192
这一节主要介绍segues,static table view cells 和Add Player screen 以及a game picker screen。Introducing Segues开启Main.storyboard拖拉一个Bar Button Item到Players窗口导航栏的右侧...
分类:
其他好文 时间:
2014-12-18 16:46:18
阅读次数:
280
创建数据库的SQL语句: 1 use practice 2 go 3 if exists (select * from sysobjects where name='practice') 4 drop table Store_Information 5 create table Store_Inf....
分类:
数据库 时间:
2014-12-18 10:16:53
阅读次数:
241
第一本系统讲述Qt Quick(QML)的技术书籍,勘误表……...
分类:
其他好文 时间:
2014-12-18 08:06:27
阅读次数:
124
浏览时遇到无flash插件时,到官网下载一个: http://get.adobe.com/cn/flashplayer/ 下载的是:install_flash_player_11_linux.i386.tar.gz 然后解压此压缩包,然后按照常规先看Readme.txt文件,可以看到是要将解...
分类:
系统相关 时间:
2014-12-17 16:34:51
阅读次数:
263
题目描述:Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique l...
分类:
其他好文 时间:
2014-12-17 16:10:40
阅读次数:
167
第一步:使用软件QuickTime Player录屏幕视频,创建方式选择新建屏幕录制:选择区域录制,录好保存后,就需要转gif,需要另外一个软件。第二步:使用GIFBrewery软件创建gif,在appstore上是收费的,大家可以在网上找免费的,这个还是比较好用的。大家一看就会用了:设置开始和结束...
分类:
系统相关 时间:
2014-12-17 12:14:43
阅读次数:
221
在看MS人物上线else if(gs2ms_add_player == pkt.cmd){ PlayerChannel* pPC = new PlayerChannel(this); //加到地图中,但是并未激活该玩家 int nChannelId = pPC->OnPlayerE...
分类:
其他好文 时间:
2014-12-17 01:34:44
阅读次数:
214
转:http://xuliewei.cn/archives/3071主要讲述如何在后台建立对某数据库表的增删查该,如有雷同纯属巧合、如有不妥欢迎指出1.通过phpmyadmin建表CREATE TABLE IF NOT EXISTS `pre_jianyanxmlb` (`lbid` mediumi...
分类:
数据库 时间:
2014-12-17 01:29:26
阅读次数:
230
//快速排序void quick_sort(int s[], int l, int r){ if (l = x) // 从右向左找第一个小于x的数 j--; if(i = x) j--; if(i < j) { s[i] = s[j]; //...
分类:
编程语言 时间:
2014-12-16 18:28:35
阅读次数:
187