/*****************
Main Menu
Play
TTR Tracks
New Tracks (downloadable)
Downloaded Tracks
Artist
Track
Info on track (high scores, author, difficulty)
iPod Library
Downloads list of songs from server, compares to local database
Random Song
Create
Artist
Album
Song
Instructions
Record
Create username / unique ID
Save to Internet
Back to Main Menu
*****************/
enum {
msNoMenu,
msMainMenu,
msPlayMenu,
msCreateMenu,
msSongFinished,
msSongRecorded,
msDownloading
};
@interface TtrApp : UIApplication {
AVController * avc;
AVQueue * avq;
AVItem * avi;
UIBox *mainView;
UIView *menuView;
UIView *gameView;
UIView *effectsView;
NSString *path;
NSError *error;
UITextLabel * scoreLabel;
NSTimer * timer;
BOOL songStarted, songFinished, recording;
double lastplayingtime;
int tapindex, badindex;
NSMutableArray * sparkles;
NSMutableArray * glows;
NSMutableArray * animatables;
NSMutableArray * buttons;
float glowlevels[4];
int score;
NSString * recordFile;
UIImage * wrongImage,
* goodImage,
* perfectImage;
Downloader * songDownload, * tapDownload;
int mstate;
}
- (void) applicationDidFinishLaunching: (id) unused;
- (void) mouseClickAtX: (float) x Y: (float) y;
- (int) columnForX: (float) x;
- (int) xForColumn: (int) x;
- (void) loadTapsFromFile: (NSString *) filename;
- (void) prepareForAnotherTap;
- (void) recordTapAtX: (float) x Y: (float) y;
- (void) fireWorksBurstAtX: (float)x Y: (float) y;
- (void) mouseClickAtX: (float) x Y: (float) y;
- (void) scoreChange: (int) ds X: (float) x Y: (float) y;
- (void) rewardWithImage: (UIImage *)img atX: (float)x Y: (float)y;
- (void) applicationWillSuspend;
- (void)fireTimer:(NSTimer*)theTimer;
- (void) animationTickAtTime: (double) d;
- (void)songHasFinished;
- (void)triggerButton: (NSString *) triggerWord;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
ttr.rar_C/S_default.ttr_iphone_iphone game_手机 游戏
共55个文件
png:25个
m:6个
psd:6个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 144 浏览量
2022-09-14
15:56:34
上传
评论
收藏 3.72MB RAR 举报
温馨提示
TTR的一个经典游戏,能够说明在IPHONE手机上开发一个小游戏的基本流程
资源推荐
资源详情
资源评论
收起资源包目录
ttr.rar (55个子文件)
ttr
greenglow.png 5KB
perfect.png 3KB
Animatables.h 417B
IMG_9015.png 84KB
background.png 13KB
IMG_9015 (1).png 44KB
sparkle.psd 29KB
sparkle1.png 3KB
background.psd 83KB
var
root
Media
TTR
Taps
Music
TtrApp.m 20KB
ttr 52KB
redglow.png 4KB
Default.psd 152KB
good.png 2KB
Downloader.m 2KB
dance.tap 13KB
Downloader.h 542B
mainapp.m 893B
Media
TTR
Taps
Music
TtrView.h 113B
rewards.psd 184KB
TTR.pxl 188KB
PxlPkg.plist 1KB
whiteglow.png 3KB
Thumbs.db 27KB
Makefile 623B
IMG_9015 (2).png 88KB
TTR.app.zip 2.56MB
TTR.zip 188KB
LabelButton.h 297B
ttrlogo.psd 566KB
icon.psd 239KB
~ps57E.tmp 0B
wrong.png 3KB
blueglow.png 4KB
Animatables.m 2KB
TtrApp.h 2KB
TTR.app
greenglow.png 5KB
perfect.png 3KB
Default.png 106KB
spark.png 3KB
background.png 13KB
sparkle1.png 3KB
ttr 52KB
redglow.png 4KB
good.png 2KB
icon.png 11KB
whiteglow.png 3KB
Thumbs.db 29KB
menuback.png 10KB
Info.plist 658B
wrong.png 3KB
blueglow.png 4KB
LabelButton.m 1KB
TtrView.m 765B
www.pudn.com.txt 218B
共 55 条
- 1
资源评论
我虽横行却不霸道
- 粉丝: 72
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 沈丘盛世龙门图纸符合规范化
- HM3400-VB一款N-Channel沟道SOT23的MOSFET晶体管参数介绍与应用说明
- 基于python+streamlit联邦学习进行高校学生成绩预测研究python源码+项目说明+模型+数据.zip
- HM3400D-VB一款N-Channel沟道SOT23的MOSFET晶体管参数介绍与应用说明
- HM3400B-VB一款N-Channel沟道SOT23的MOSFET晶体管参数介绍与应用说明
- spring-boot示例
- 搜集火星资源.py
- JAR应用启动停止脚本化解决方案.zip
- 配合eclipse svn插件subclipse-4.3.4版本的javahl
- Bash脚本教程:如何优雅地停止JAR服务.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功