なかなか書いてないですが、水面下ではいろいろとやってますので、そのうちにいろいろ情報を出せると思います。
現実世界の萌え系から2次元の萌え系まで結構楽しんでます(w
普段
普段話している言葉は大阪弁だから、標準語で台詞を書いてもどうも感情移入できなくてあまりよい文章にはならないのですが、大阪弁ならうまいこと表現できるはずなのでこれから作るアプリの台詞は大阪弁で書いて渡そうと思います(嘘)
なお
なお、「声で応援」香川県の声優さんについては僕も正体を知らないので質問はダメよ。
AndEngineメモ
かなり手こずったのでメモ
ストレージのファイルを利用してAndEngineのテクスチャとする方法
[code]
Sprite base = getBaseActivity().getResourceUtil()
.getSpriteFromFile(getBaseActivity().getFilesDir() + "/background.png");
attachChild(base);
public Sprite getSpriteFromFile(String fileName) {
File imageFile = new File(fileName);
FileInputStream imageFis = null;
try {
imageFis = new FileInputStream(imageFile);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
Bitmap bm = BitmapFactory.decodeStream(imageFis);
BitmapTextureAtlas bta = new BitmapTextureAtlas(
gameActivity.getTextureManager(),
getTwoPowerSize(bm.getWidth()),
getTwoPowerSize(bm.getHeight()),
TextureOptions.BILINEAR_PREMULTIPLYALPHA);
gameActivity.getEngine().getTextureManager().loadTexture(bta);
FileBitmapTextureAtlasSource fileTextureSource = FileBitmapTextureAtlasSource.create(imageFile);
TiledTextureRegion btr = BitmapTextureAtlasTextureRegionFactory.createTiledFromSource(bta, fileTextureSource, 0, 0, 1, 1);
Sprite s = new Sprite(0, 0, btr,
gameActivity.getVertexBufferObjectManager());
s.setBlendFunction(GL10.GL_SRC_ALPHA, GL10.GL_ONE_MINUS_SRC_ALPHA);
return s;
}
[/code]
Google AppsでのTwitter API 1.1
Google AppsでのTwitter API 1.1で自分で修正したところのメモ
つぶやくところ
<修正前> http://api.twitter.com/1/statuses/update.json?status=
<修正後> https://api.twitter.com/1.1/statuses/update.json?status=
フォロワーを取得するところ
<修正前> http://api.twitter.com/1/statuses/followers.json?screen_name=
<修正後> https://api.twitter.com/1.1/followers/list.json?screen_name=
取得したJSONのデータの取り方
<修正前>
[code]
var o = Utilities.jsonParse(result.getContentText());
var followlist = new Array();
for(i=0;i<o.length; i++){
follow = o[i].following;
if(follow !=1){
followlist.push(o[i].screen_name);
}
}
[/code]
<修正後>
[code]
var o = Utilities.jsonParse(result.getContentText());
var p = o.users;
var followlist = new Array();
for(i=0;i<p.length; i++){
follow = p[i].following;
if(!follow){
followlist.push(p[i].name);
}
}
[/code]