【Mac】非正規品SSD交換はお勧めしない

ブログを書くのが久しぶり過ぎて書き方を忘れてしまった 笑

今回とある理由があってMacを買い替えることになったので新しいMacで動作確認も含めブログを書こうと思う。

買い替えになった理由は、MacSSD交換したことにより、OSの更新ができなくなってしまって困った!である。

そもそも非正規品SSDで交換できる機種が限られている。2017モデルまでで、丁度そのモデルだったのでとあるショップに交換依頼をして交換していただいた。(128GB→512GB)

128GBはほぼOSしか入らないのでiOSアプリを開発していた私にとっては交換しないと使い物にならない状態だった。

 

と交換した経緯はどうでもいいとして、途中からOSがアップデートできない状態になった。OSが「Big Sur」からアップデートしようとするとエラーでインストールできなくなってしまい、困って調べた結果

https://discussionsjapan.apple.com/thread/253413795

こちらの記事に辿り着き、無理そうなことがわかった。

OSがアップデートできないとXcodeのアップデートができない為、泣く泣くMacを買い直すことになった。

 

ということでSSD交換するなら非正規品はお勧めしないよ!という記事でした。

モデルも古かったので買い直して良かったと自分を納得させてます(CPU:i5→M1)

M1使うの楽しみー

 

 

デュエリストが作ったライフ計算機【OCG・TCG対応】のプライバシーポリシー

Privacy Policy

naoya nagasaka built the デュエリストが作ったライフ計算機【OCG・TCG対応】 app as a Free app. This SERVICE is provided by naoya nagasaka at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at デュエリストが作ったライフ計算機【OCG・TCG対応】 unless otherwise defined in this Privacy Policy.

Information Collection and Use

For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information. The information that I request will be retained on your device and is not collected by me in any way.

The app does use third party services that may collect information used to identify you.

Link to privacy policy of third party service providers used by the app

Log Data

I want to inform you that whenever you use my Service, in a case of an error in the app I collect data and information (through third party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my Service, the time and date of your use of the Service, and other statistics.

Cookies

Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.

This Service does not use these “cookies” explicitly. However, the app may use third party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service.

Service Providers

I may employ third-party companies and individuals due to the following reasons:

  • To facilitate our Service;
  • To provide the Service on our behalf;
  • To perform Service-related services; or
  • To assist us in analyzing how our Service is used.

I want to inform users of this Service that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.

Security

I value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and I cannot guarantee its absolute security.

Links to Other Sites

This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, I strongly advise you to review the Privacy Policy of these websites. I have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

Children’s Privacy

These Services do not address anyone under the age of 13. I do not knowingly collect personally identifiable information from children under 13 years of age. In the case I discover that a child under 13 has provided me with personal information, I immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact me so that I will be able to do necessary actions.

Changes to This Privacy Policy

I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page.

This policy is effective as of 2021-06-05

Contact Us

If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me at kuugafree0708@gmail.com.

This privacy policy page was created at privacypolicytemplate.net and modified/generated by App Privacy Policy Generator

swiftで脱出ゲームを作った話『赤い部屋【暇つぶし脱出ゲーム】』

半年前ぐらいにこのブログで脱出ゲームを作りたい的な記事を書いた。

実際に脱出ゲームを制作し、AppStoreでリリースしたので記事にしたいと思う。

 

na-ga.hatenablog.com

1.制作した話

リリースした脱出ゲームはこちらである。

赤い部屋 【暇つぶし脱出ゲーム】

赤い部屋 【暇つぶし脱出ゲーム】

  • naoya nagasaka
  • ゲーム
  • 無料

apps.apple.com

今までこれも含め3つのアプリを作成したが、これが一番ダウンロードされた。

脱出ゲームというジャンルは強いとは聞いていたので、そういうことだと思う。

AppStoreランキングでトリビア ジャンル 最高18位 いえーい

f:id:Na-Ga:20200728231801p:plain

攻略サイトも作っていただいており、御の字である

www.iphoroid.jp

言語:swift 

フレームワーク: SpriteKit

 

脱出ゲームを作る上で一番大変だった部分は「絵」を作るところだった。

絵はKeynoteで作成。

絵心もない自分に大量の絵を作れるのか・・・と思いながらも制作開始したが

いやーもう大変だった。

全体作業時間の割合は

「絵を作る」6割

「プログラミング」3割

「その他」1割

これぐらいになると思う。いやー大変だった(これ以上語れない

プログラミング自体は今までの経験を生かして、特に勉強をすることなくできた。

とはいえ、超冗長コードで見せられるようなものではないが(

次にアプリを作成する時は「構造体」をもっと使って制作していきたいと思う。

まじ反省卍

 

2.アプリが落ちまくる話

リリース後、早速ブーイングがでた。

その内容は「ゲームをスタートしたら落ちる」とのこと。

 

実際に自分のiPhoneにダウンロードしてみたが、普通に遊べる。

しかし、「落ちる」という意見は何件も来ており、原因追求をすることにした。

f:id:Na-Ga:20200728231028p:plain

そこで分かったのがiPhone8以前の機種だと落ちるということだった。

iPhone8以前の機種ではロード時のメモリ消費に耐えられないよう・・・

なのでロードを分けてすることにし、メモリ消費を拡散させることにした。

無事、成功。メモリ管理大事だね!

まじ反省卍

 

3.終わりに

全体的に抽象度が高い記事になってしまったと思う。

今後はもっと具体的に・・・

 

以上。

赤い部屋 【暇つぶし脱出ゲーム】 プライバシーポリシー

Privacy Policy

naoya nagasaka built the 赤い部屋 【暇つぶし脱出ゲーム】 app as a Free app. This SERVICE is provided by naoya nagasaka at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at 赤い部屋 【暇つぶし脱出ゲーム】 unless otherwise defined in this Privacy Policy.

Information Collection and Use

For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information. The information that I request will be retained on your device and is not collected by me in any way.

The app does use third party services that may collect information used to identify you.

Link to privacy policy of third party service providers used by the app

Log Data

I want to inform you that whenever you use my Service, in a case of an error in the app I collect data and information (through third party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my Service, the time and date of your use of the Service, and other statistics.

Cookies

Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.

This Service does not use these “cookies” explicitly. However, the app may use third party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service.

Service Providers

I may employ third-party companies and individuals due to the following reasons:

  • To facilitate our Service;
  • To provide the Service on our behalf;
  • To perform Service-related services; or
  • To assist us in analyzing how our Service is used.

I want to inform users of this Service that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.

Security

I value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and I cannot guarantee its absolute security.

Links to Other Sites

This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, I strongly advise you to review the Privacy Policy of these websites. I have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

Children’s Privacy

These Services do not address anyone under the age of 13. I do not knowingly collect personally identifiable information from children under 13. In the case I discover that a child under 13 has provided me with personal information, I immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact me so that I will be able to do necessary actions.

Changes to This Privacy Policy

I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page.

This policy is effective as of 2021-01-31

Contact Us

If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me at kuugafree0708@gmail.com.

This privacy policy page was created at privacypolicytemplate.net and modified/generated by App Privacy Policy Generator

みんなにモルモットの種類を教えたい!!

f:id:Na-Ga:20200814153358j:plain

モルモットといえば実験動物などとよく言われるが

今ではペットとして飼われる動物である。

 

モルモット飼育歴2年半になる僕がモルモットの種類について書きたいと思う。

na-ga.hatenablog.com

 

1.モルモットの種類

モルモットは意外にも種類が豊富で毛の長さや毛質によって種類が分けられている。

今調べてみると、100種類以上に分けられてるらしい・・・

これを全部紹介するのは無理なのでメインの4種類ぐらいを紹介したいと思う。

 

1.イングリッシュ

f:id:Na-Ga:20200814153513j:plain

一番メジャーなモルモット。

モルモット扱っているペットショップに行ったらこいつは絶対いる。

毛は短く真っ直ぐなのでブラッシングは楽な部類にはいると思う。

まぁ

可愛い。

 

2.アビシニアン

f:id:Na-Ga:20200814153915j:plainうちで飼ってるモルちゃんがこれにあたる。

つむじが多く、毛が寝癖みたいに散ってるのが特徴。

毛の長さは短毛と長毛の間なのでたまにブラッシングする程度。

うちのモルはブラッシングが大っ嫌いな困ったちゃんなのだ・・・

 

3.テッセル

f:id:Na-Ga:20200814154506j:plain

見た通り毛がすごい。くるくる。

なんか高級感あるよね。どっかの王子様みたいな。

僕はペットショップでも見たことがない。

こいつは間違いなくブラッシングが大変だろう。

 

4.スキニーピック

f:id:Na-Ga:20200814154805j:plain

これを見た時は衝撃的だった。

もうモルモットというか豚なのだ・・・名前にもピックって書いてるし。

毛がないからブラッシングはいらない。

でも冬は多分寒いので温度管理は徹底しないとまずそう・・・

 

2.毛の色

こんな感じでモルモットにたくさんの種類がいるわけだが

毛の種類だけでなく、色も豊富なのだ・・・

同じ種類のモルモットでも毛の色や配色が違うだけで全然別の種類に見えたりする。

うちのモルモットの種類は「アビシニアン」色は「黒、茶色、白」で構成されている。

f:id:Na-Ga:20200814155831j:plain

ネットで見つけたアビー

f:id:Na-Ga:20200814155736j:plain

ね 全然違うでしょ

 

アビーの場合はつむじの数で見た目に差がついたりするので

配色に限らないが・・・・

 

こんな感じで違いが分かってくれたと思う(強引

 

3.終わりに

モルモットの種類について書いてみた。

種類は豊富すぎで4つしか挙げなかったが、まだまだ沢山いるので興味のある方は調べてみてほしい。

今後、生態とか飼ってみた感想とかも書きたいと思っている。

すなわち

 

アビー!最高!

f:id:Na-Ga:20200728231801p:plain

以上。

脱出ゲームを作りたい!

次、何を作ろうと考えた結果・・・

脱出ゲームを作ろう!ってなった。

その経緯やこれからの計画をまとめたいと思う。

 

na-ga.hatenablog.com

 

1.なぜ脱出ゲームなのか

f:id:Na-Ga:20200811212904j:plain

2つ目のアプリリリース後、次はツール系のアプリを作ろうと考えていたのだが、なんか釈然としなかった。

そもそもゲームを作るつもりでプログラミングを始めたのに、ツールを作るのもな〜って思っていた。いうて今後はツールも作りたいと思っているが

 

ただ、ボリュームが多いゲームはまだ難しいと思うし、サーバー使う関係は技術的に自信がないのと管理できる自信がないとボロボロ・・・

 

そこで思いついたのが脱出ゲームであった。

 

昔、脱出ゲームが好きで小学生の頃、「赤い部屋」というフラッシュゲームをやっていた記憶がある。

ただ、それから脱出ゲームはあまりやってこなかったのでとりあえずAppStoreにある脱出ゲームを5つぐらいやってみて感覚をつかんでみた。

それで「これは面白い!!」と思い、作ってみようと思った。

 

2.計画について

f:id:Na-Ga:20200811213032j:plain

脱出ゲーム作成作戦!にあたりなんとなく計画を立ててみたいと思う。

 

1.ストーリー

2.謎解き要素

3.MAPの構成

4.おえかき

5.ゲームプログラミング

 

こんな感じだと勝手に思っているのだが・・・甘かったらすみません

今のところ3のMAP構成までできている。

といってもノートにただ書いただけなので何も形にはなっていない。

 

勝手に想像している状態だが、5つの項目を少しだけ深掘りしたことを書きたいと思う。

(少しだけ深掘りって言葉・・・矛盾???

 

1.ストーリー

今のところほぼ考えていない・・・むしろ無いと言っても差し支えない。

なんとなく匂わせる系のストーリーでいいような気がしてる。

 

2.謎解き要素

これ一番大事。難しすぎず、簡単すぎず、程よい難易度がいいと思っている。

「アイテム系」「暗号系」「ボタン系」みたいな感じで10個ほど考えてノートにまとめてみた。

考えている時間は結構楽しかった。

 

3.MAPの構成

2の謎解き要素を元にペンで絵を描いてた。

絵が書けないのでマジで汚い絵になったが、まぁ出来て良かった。

これを元にPCでおえかきをしようと思う。

 

4.おえかき

これ一番の鬼門だと思っている・・・・

「どうしよう・・・」って感じ

やってみてから考えるか・・・

ソフトは「GIMP」を使う予定。

この前、本屋寄ったらGIMPの本があったので買ってみた。

う〜ん

ガンバロ・・・

f:id:Na-Ga:20200811212849j:plain

 

5.ゲームプログラミング

なんとなく考えているのでイケると思っている。

if、switch、Bool型・・・

こんなんでできると思っているんだけど、どうなんだろう?

ただ、今回はリワード広告を導入してみたい。

ヒントを見るのに広告を見なきゃいけないやつ

いつも広告を導入する際は苦戦するが、まあ

 

頑張ろ。。

f:id:Na-Ga:20200811212849j:plain

 

3.終わりに

こんな感じでこれからの計画をまとめてみた。

絵、描けるかな・・・・

 

以上。

うちで飼ってるモルモットについて

僕のプロフィール画像に載ってる怪獣

f:id:Na-Ga:20200730220208j:plain

うちで飼ってるモルモットである。

こいつを飼ってかれこれもう2年半経つが、まぁ可愛い。

モルモットを飼ってる人は珍しいと思うので、今日はモルモットについて紹介したいと思う。

 

1.なぜモルモットを飼ったか

f:id:Na-Ga:20200730230407j:plain

元々、動物が好きで昔からよくペットを飼っていた。

猫、ハムスター、金魚などなど

ハムスターに限っては5匹ほど飼育した経験がある。

なんか仕草が可愛い・・・

そんな僕が3年前に2年半ほど飼育したハムスターを亡くした時に「もうハムスターはいいかな・・・・」と思った。寿命短いのがキツかった。

それから半年が経ち・・・

ゴールデンハムスターが欲しくなったのであった(あれ

今までハムスターでもジャンガリアンとロボロフスキーしか飼ったことがなく、ゴールデンハムスターは飼ったことなかったのだ。それにゴールデンの寿命はジャンガリアンよりは長いらしい。

 

そんな感じでゴールデンハムスターを見に奥さんとペットショップに行ったのであった。

したら奥さんが言った。

 

ゴールデンハムスターなんか怖い・・・」

 

えっ?普通に可愛いくない??デカくて丸っこいし

でも顔が怖いというのだ・・・そんなこんなで他の動物も見てみたいと言うので

色んなペットショップをめぐり色んな動物を見た。

うさぎ、チンチラハリネズミ、カワウソ、モモンガ・・・モルモット

そう そこにモルモットがいたのだ。

奥さんが「モルモットは可愛い!」と言うのでゴールデンハムスターは諦め、モルモット飼うことを決意したのであった。

 

2.エサについて

f:id:Na-Ga:20200730231311j:plain

そもそもモルモットが何を食べるのか全く知らなかったので購入する前に生態とか性格とかトイレとか調べまくった記憶がある。

今回の記事では僕があげてるエサについて書きたいと思う。

結論から言うとこれ

 

・牧草(チモシー) 毎日

・ペレット 毎日

・乳酸菌タブレット 毎日

・ビタミンCタブレット 毎日

・パパイヤのかじり木 2日に1回

・キャベツ、りんご たまに

 

モルモットはバリバリの草食動物である。

なので主食は牧草になる。

草食動物は常に食べ物がないと危ない生物なので、牧草は切らさないよう常にゲージ内に大量に入れている。

ちなみに僕はこれをあげている。

 牧草にも色々と種類があるが、硬くてヘルシーな1番狩りチモシーがおすすめ。

動物病院の先生もこれをお勧めしてたから間違いない。

 

ペレット

牧草だけだと栄養が偏るのでペレットをあげている。

これもハードタイプの硬いやつをあげている。

 うちのモルちゃんはこれが大好きである。

 

乳酸菌

小動物は腸内環境が悪くなると命の危機である。

 食べすぎると虫歯になるので注意。

 

ビタミンCタブレット

モルモットはビタミンCが体内で生成できないらしく、絶対にあげなくてはならない。

ビタミンCは食べすぎてもおしっこで流れるので、おやつ欲しいってうるさい時はこれをあげている。

 

パパイヤのかじり木

齧歯類の宿命 歯が伸び続ける為、硬いものをかじらせないと不正咬合になってしまう。

硬い牧草だったり、ハードタイプのペレットだったりするのはこれ由来 。

 うちのもるちゃんはこれがめちゃくちゃ好き。

振り回しながら食べている。


きゃべつ、りんご

月1あげるかあげないか

上記のもので十分に栄養が取れているので余計なものはあまりあげないようにしている。

太るしね、、

でもあげると喜ぶのでご褒美とか誕生日にはあげるようにしている。

 

3.終わりに

f:id:Na-Ga:20200730235552j:plain

こんな感じで飼った経緯とエサについてまとめてみた。

書きたいことが多すぎて何を書くか迷ったがとりあえずこれぐらいにしたいと思う。

また書こう・・・・


以上。