-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
673 lines (353 loc) · 16.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>sleepcry Blog</title>
<meta name="author" content="sleepcry">
<meta name="description" content="NDK test case of android ndk improved android ndk hybrid iphone and android with cocos2dx <xn:share-button type=”button_count_right” …">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="http://sleepcry.github.com">
<link href="/favicon.png" rel="icon">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<script src="/javascripts/modernizr-2.0.js"></script>
<script src="/javascripts/ender.js"></script>
<script src="/javascripts/octopress.js" type="text/javascript"></script>
<link href="/atom.xml" rel="alternate" title="sleepcry Blog" type="application/atom+xml">
<!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
</head>
<body >
<header role="banner"><hgroup>
<h1><a href="/">sleepcry Blog</a></h1>
<h2>Live Long and Prosper</h2>
</hgroup>
</header>
<nav role="navigation"><ul class="subscription" data-subscription="rss">
<li><a href="/atom.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
</ul>
<form action="http://google.com/search" method="get">
<fieldset role="search">
<input type="hidden" name="q" value="site:sleepcry.github.com" />
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
<ul class="main-navigation">
<li><a href="/">Blog</a></li>
<li><a href="/projects">Project</a></li>
<li><a href="/about/">About</a></li>
</ul>
</nav>
<div id="main">
<div id="content">
<div class="blog-index">
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/05/01/cocos-jni/">Some Resource Aboutc Ocos2dx and Jni</a></h1>
<p class="meta">
<time datetime="2012-05-01T18:03:00+08:00" pubdate data-updated="true">May 1<span>st</span>, 2012</time>
| <a href="/blog/2012/05/01/cocos-jni/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p><a href="https://developer.android.com/sdk/ndk/overview.html#samples">NDK</a></p>
<p><a href="http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How_to_run_test_cases_on_android-ndk">test case of android ndk</a></p>
<p><a href="http://www.crystax.net/zh/android/ndk/7">improved android ndk</a></p>
<p><a href="http://gameit.ro/2011/08/creating-an-iphone-and-android-cocos2d-x-hybrid-project/">hybrid iphone and android with cocos2dx</a></p>
<p><xn:share-button type=”button_count_right” label=”分享到人人”></xn:share-button></p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/04/26/android-wheel-widget/">Android Wheel Widget</a></h1>
<p class="meta">
<time datetime="2012-04-26T03:27:00+08:00" pubdate data-updated="true">Apr 26<span>th</span>, 2012</time>
| <a href="/blog/2012/04/26/android-wheel-widget/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>A awesome widget to suggest: <strong>WheelView</strong></p>
<p>open source code available in:<a href="http://code.google.com/p/android-wheel/">here</a></p>
<p>How does it looks like? <br/>
<img src="http://2.bp.blogspot.com/_6ZWsj8oW5ek/TUHLiQLNzmI/AAAAAAAADPo/0SKjryIlEJg/s1600/android-wheel-cities.png" alt="example1" /> <br/>
<img src="http://4.bp.blogspot.com/_6ZWsj8oW5ek/TUHMCvNNxcI/AAAAAAAADPs/zdO_6BsXJKc/s1600/android-wheel-time.png" alt="example2" /> <br/>
<img src="http://2.bp.blogspot.com/_6ZWsj8oW5ek/TUHMwrEYkAI/AAAAAAAADPw/9W9X-HocKts/s1600/android-wheel-slot-machine.png" alt="example3" /></p>
<p>(All these picture above are from google code!)</p>
<p>It is really very easy to use!
Here is an example:</p>
<p>Liquid error: undefined method `Py_IsInitialized’ for RubyPython::Python:Module</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/04/25/game-engine-statistic/">Game Engine Statistic</a></h1>
<p class="meta">
<time datetime="2012-04-25T01:30:00+08:00" pubdate data-updated="true">Apr 25<span>th</span>, 2012</time>
| <a href="/blog/2012/04/25/game-engine-statistic/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><h1>Purpose of this article</h1>
<ul>
<li>list game engines easy to start up for me</li>
<li>analyse to find the best one on mobile platforms</li>
</ul>
<h3>Corona</h3>
<p>commercial software <br/>
c++/lua <br/>
advantage: graphically rich games? <br/>
cross platform: android, iphone, ipad</p>
<h3>JGame</h3>
<p>open source <br/>
Java/as <br/>
2d <br/>
android <br/>
<a href="http://www.13thmonkey.org/~boris/jgame/">host</a> <br/>
with manual and tutorial</p>
<h3>Unigine</h3>
<p>commercial <br/>
3D <br/>
multi-platform supported <br/>
<a href="http://unigine.com/">host</a> <br/>
comment: the effect seems good in their host website. and also, complex.</p>
<h1>ShiVa</h1>
<p>commercial <br/>
3D <br/>
windows, macos, ios, android <br/>
openGL, GLES, DX <br/>
<a href="http://stonetrip.com/">host</a></p>
<h3>Moai</h3>
<p>open source <br/>
for mobile primarily <br/>
2D <br/>
lua(recommanded) or c++ <br/>
comment: it also supply some other cloud service for games. using lua… need to estimate seriously. <br/>
<a href="http://getmoai.com/">host</a></p>
<h3>ORX</h3>
<p>open source <br/>
2D <br/>
C <br/>
multi-platform include Android <br/>
<a href="http://orx-project.org/">host</a> <br/>
comment: using C to develop Android game means JNI, wrap, encapsulation and etc. Is it a fit or other words worth to do.</p>
<h3>Unity 3D</h3>
<p>free version is very weak. commerial version need 400USD to support android, another 400USD to support ios and a pro version priced 1,500 USD. <br/>
3D <br/>
multi-platforms <br/>
comment: not the thing I want</p>
<h3>Rokon</h3>
<p>open source(code available on github) <br/>
2D <br/>
java <br/>
android <br/>
I tried this one, looks not good enough to build great games. Personal opinion.</p>
<h3>Andengine</h3>
<p>open source(still being developed, code available on github) <br/>
2D <br/>
java <br/>
android <br/>
look forward to free impressive game engine for android.</p>
<h1>plan</h1>
<p>I’m going to try Moai, JGame, ORX in Android. Good luck for me!</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/04/16/gpsonmaps/">GPS on Maps</a></h1>
<p class="meta">
<time datetime="2012-04-16T02:06:00+08:00" pubdate data-updated="true">Apr 16<span>th</span>, 2012</time>
| <a href="/blog/2012/04/16/gpsonmaps/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>Usually, maps accept location data which has a offset to the real longitude/latitude calculated by some algorithms, and the algorithms are different between google map, baidu map and ms map. That’s why we need a internet connectivity to fetch an accurate positioning.
On Android, the process are encapsulated by LocationManager(google map) or BMapManager(baidu map), in web development, there is also corresponding API to invoke. Just in case of some different scenarios, here is a way to translate the data:</p>
</div>
<footer>
<a rel="full-article" href="/blog/2012/04/16/gpsonmaps/">Read on →</a>
</footer>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/04/16/unique/">Nothing Could Be Unique</a></h1>
<p class="meta">
<time datetime="2012-04-16T01:31:00+08:00" pubdate data-updated="true">Apr 16<span>th</span>, 2012</time>
| <a href="/blog/2012/04/16/unique/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>Will life stop if one isn’t unque? Who’d like to admit one’s self is just a normal part of the huge society monster? Unfortunately, that’s the truth. <br/>
So is products. I can’t imagine there is a product which has exclusive features with all other product except monopoly. <br/>
Therefore, there is nothing supprising to find that there is alreadly some similiar product while bringing out something finally after so many hard work and expect.
Dont’t even think to be unique, feel free to feel happy and satisfied because of usefulness to the publics.</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/04/15/meaninglesscircle/">Meaningless Circle</a></h1>
<p class="meta">
<time datetime="2012-04-15T01:45:00+08:00" pubdate data-updated="true">Apr 15<span>th</span>, 2012</time>
| <a href="/blog/2012/04/15/meaninglesscircle/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><p>不断寻找活着的意义,殊不知活着本身就是最大的意义。 <br/>
用户体验改进亦是如此。 <br/>
采用了A方案后发现B方案较好,采用了B方案后觉得C方案最棒,而当无数工时花费后终于实现了C方案,又觉得A方案其实比C要好点。 <br/>
著《经济学概论》的马歇尔说‘经济的根源就在于有人愿意为商品花钱’,我认为软件产品也是一样,使其成为一个产品的根源在于有人
愿意使用它,而决定其好坏的标准则是有多少人愿意使用它。而一款成功的产品,必然是在与用户的不断互动中产生的,而不是做出一个
perfect的产品,再推给用户。与其面赤耳红地争论ABC,何不赶快让用户参与到这个改进过程中来呢?</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/04/13/philosophy-of-one/">Philosophy of One</a></h1>
<p class="meta">
<time datetime="2012-04-13T16:45:00+08:00" pubdate data-updated="true">Apr 13<span>th</span>, 2012</time>
| <a href="/blog/2012/04/13/philosophy-of-one/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><h1>一以贯之</h1>
<p>儒家文化讲求中庸之道,中者,不偏不倚,庸者,始终如一。在手机应用的界面设计中,自上而下风格的统一,一方面能减轻用户的学习成本,让其不用不断去揣测作者的意图;另一方面,也可以让应用看起来更为美观。</p>
<p>如何能够让用户最快时间学会使用你的应用,如何让你的应用以最简单直接的方式为用户提供服务,是需要不断思索的一个课题。</p>
</div>
</article>
<article>
<header>
<h1 class="entry-title"><a href="/blog/2012/04/11/slash-busecretary/">Busecretary</a></h1>
<p class="meta">
<time datetime="2012-04-11T23:10:00+08:00" pubdate data-updated="true">Apr 11<span>th</span>, 2012</time>
| <a href="/blog/2012/04/11/slash-busecretary/#disqus_thread">Comments</a>
</p>
</header>
<div class="entry-content"><h2>Philosophy</h2>
<p>Time leads to space,space leads to substance,substance leads to soul.</p>
<p>I don’t have that time to remember what I planed to do next. I need a notification,clearly and simply.</p>
<h2>What</h2>
<p>I’am trying to manage my TODO business simply and clearly.So I need a secretary,a smart business secretary, that’s why I call it Busecretary.</p>
</div>
<footer>
<a rel="full-article" href="/blog/2012/04/11/slash-busecretary/">Read on →</a>
</footer>
</article>
<div class="pagination">
<a href="/blog/archives">Blog Archives</a>
</div>
</div>
<aside class="sidebar">
<section>
<h1>Recent Posts</h1>
<ul id="recent_posts">
<li class="post">
<a href="/blog/2012/05/01/cocos-jni/">some resource aboutc ocos2dx and jni</a>
</li>
<li class="post">
<a href="/blog/2012/04/26/android-wheel-widget/">Android Wheel Widget</a>
</li>
<li class="post">
<a href="/blog/2012/04/25/game-engine-statistic/">game engine statistic</a>
</li>
<li class="post">
<a href="/blog/2012/04/16/gpsonmaps/">GPS on maps</a>
</li>
<li class="post">
<a href="/blog/2012/04/16/unique/">Nothing could be Unique</a>
</li>
</ul>
</section>
<section>
<h1>GitHub Repos</h1>
<ul id="gh_repos">
<li class="loading">Status updating…</li>
</ul>
<a href="https://github.com/sleepcry">@sleepcry</a> on GitHub
<script type="text/javascript">
$.domReady(function(){
if (!window.jXHR){
var jxhr = document.createElement('script');
jxhr.type = 'text/javascript';
jxhr.src = '/javascripts/libs/jXHR.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(jxhr, s);
}
github.showRepos({
user: 'sleepcry',
count: 0,
skip_forks: true,
target: '#gh_repos'
});
});
</script>
<script src="/javascripts/github.js" type="text/javascript"> </script>
</section>
<section>
<h1>Latest Tweets</h1>
<ul id="tweets">
<li class="loading">Status updating…</li>
</ul>
<script type="text/javascript">
$.domReady(function(){
getTwitterFeed("sleepcry", 4, false);
});
</script>
<script src="/javascripts/twitter.js" type="text/javascript"> </script>
<a href="http://twitter.com/sleepcry" class="twitter-follow-button" data-show-count="false">Follow @sleepcry</a>
</section>
<section class="googleplus">
<h1>
<a href="https://plus.google.com/113029448850703874345?rel=author">
<img src="http://www.google.com/images/icons/ui/gprofile_button-32.png" width="32" height="32">
Google+
</a>
</h1>
</section>
</aside>
</div>
</div>
<footer role="contentinfo"><p>
Copyright © 2013 - sleepcry -
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
</p>
</footer>
<script type="text/javascript">
var disqus_shortname = 'sleepcrysblog';
var disqus_script = 'count.js';
(function () {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
}());
</script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#appId=212934732101925&xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript">
(function(){
var twitterWidgets = document.createElement('script');
twitterWidgets.type = 'text/javascript';
twitterWidgets.async = true;
twitterWidgets.src = 'http://platform.twitter.com/widgets.js';
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
})();
</script>
<script type="text/javascript" charset="utf-8">
(function(){
var p = [], w=210, h=65,
lk = {
url:''||location.href, /*喜欢的URL(不含如分页等无关参数)*/
title:''||document.title, /*喜欢标题(可选)*/
description:'', /*喜欢简介(可选)*/
image:'' /*喜欢相关图片的路径(可选)*/
};
for(var i in lk){
p.push(i + '=' + encodeURIComponent(lk[i]||''));
}
document.write('<iframe scrolling="no" frameborder="0" allowtransparency="true" src="http://www.connect.renren.com/like/v2?'+p.join('&')+'" style="width:'+w+'px;height:'+h+'px;"></iframe>');
})();
</script>
</body>
</html>