はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    新内閣発足

『http://lab.polygonal.de/』

  • 人気
  • 新着
  • すべて
  • Bitwise gems – fast integer math

    3 users

    lab.polygonal.de

    Bitwise operators are very fast in AS3, so here is a small collection of code snippets which can speed up certain computations. I won’t explain what bit operators are and how to use them, rather pointing to an excellent article hosted on gamedev.net: ‘Bitwise Operations in C’. If you know any good tricks that are not included here, feel free to leave a comment or send me an email. All benchmarks w

    • 学び
    • 2013/01/25 13:34
    • Simple 2D Molehill Example

      3 users

      lab.polygonal.de

      Here is a minimalistic FlashDevelop AS3 project that demonstrates how to use the Molehill API to draw a single 2D sprite on the screen. You can get the project here: fdproject-mole2d.zip. Assuming you have followed the instructions below the result should look like this: Flash: Simple 2D Molehill Example To compile the example you need the Incubator version of the Flash Player, a new FlexSDK (“Her

      • 暮らし
      • 2011/03/01 00:44
      • Flash
      • Using object pools

        7 users

        lab.polygonal.de

        Joa Ebert is right when he says that utilizing object pools can make your code perform a lot faster. An object pool is just a container for a bunch of pre-constructed objects that are kept in memory ready for use, rather than being repeatedly allocated and destroyed on demand. Object pooling makes sense if: you create dozens of short-lived objects in real-time applications like games you need to s

        • テクノロジー
        • 2008/06/20 09:04
        • actionscript
        • performance
        • as3
        • *tips
        • flash
        • Motor Physics released

          3 users

          lab.polygonal.de

          More examples: 200 stacked boxes polygon soup compound shapes So here it is – due to lack of free time I have not managed to include all planned features, but I’m working hard to include those in the next update. For now I have removed many things and tried to clean up the source a little bit. Still some parts are very messy but will be fixed in the next days, so this is more a preview than a full

          • 学び
          • 2008/01/02 20:56
          • physics
          • actionscript
          • library
          • Quadtree demonstration

            6 users

            lab.polygonal.de

            I’ve been working on different approaches to speed up the collision detection stage for some while now (mainly for the motor engine and some games). This includes a Quadtree which I started working on last year, but just recently got around to pick it up again. I’m still fine-tuning the code, so I can’t share it at the moment. But, because I added some visualization stuff to help fix some bugs, I

            • テクノロジー
            • 2007/09/10 11:30
            • as3
            • algorithm
            • visualization
            • アルゴリズム
            • A good Pseudo-Random Number Generator (PRNG)

              3 users

              lab.polygonal.de

              When developing games you often need a PRNG that, once initialized with a seed value, produces always the same sequence of random numbers after it. The Math.rand() function in Flash is a PRNG, but it doesn’t let you define a seed value (I think it’s picked randomly when the swf starts, but there isn’t much information about it) so another solution has to be found. One of the best PRNGs is the Mers

              • 学び
              • 2007/08/02 12:04
              • ActionScript
              • polygonal labs - Fast and accurate sine/cosine approximation

                3 users

                lab.polygonal.de

                Trigonometric functions are costly operations and can slow down your application if they are extensively used. There are two reasons why: First, Math.sin() is a function, and thus needs a function call which simple eats up some time. Second, the result is computed with much more precision than you would ever need in most situations. Most often you just want the periodic wave-like characteristics o

                • 暮らし
                • 2007/07/19 16:56
                • math
                • actionscript
                • Motor flash physics development update

                  3 users

                  lab.polygonal.de

                  What I have done the last days: – contact point calculations – two collision response models (simple & fast + physical accurate) – different integrators (Euler, Verlet, Mid-Point, RK4) – basic forces (gravity, spring, attractor, repulsor..) – dynamic and static friction So basically the engine is working now. There are some small bugs when handling multiple simultaneous contacts which I’ll solve l

                  • 世の中
                  • 2007/05/28 15:30
                  • physics
                  • as3
                  • ds 2.0-beta released

                    3 users

                    lab.polygonal.de

                    I’ve just uploaded a new version of my data structures library for Haxe to haxelib. Please note that the new version requires Haxe 3.3.0-rc.1 and might not even compile using an older version like 3.2.x. Many thanks go to Simon Krajewski and Hugh Sanderson for fixing countless Haxe bugs related to my library :) The update includes many small breaking changes so I’ve decided to release a new major

                    • アニメとゲーム
                    • 2007/05/28 00:53
                    • as3
                    • game
                    • actionscript
                    • polygonal labs » Bitwise gems - fast integer math

                      18 users

                      lab.polygonal.de

                      Bitwise operators are very fast in AS3, so here is a small collection of code snippets which can speed up certain computations. I won’t explain what bit operators are and how to use them, rather pointing to an excellent article hosted on gamedev.net: ‘Bitwise Operations in C’. If you know any good tricks that are not included here, feel free to leave a comment or send me an email. All benchmarks w

                      • テクノロジー
                      • 2007/05/24 15:51
                      • actionscript
                      • as3
                      • performance
                      • programming
                      • tips
                      • Data structures example: the tree class

                        3 users

                        lab.polygonal.de

                        First, I have updated the data structures source to version 0.7.3, so make sure you have the latest version. The source code for the SWFs in this post can be obtained here (Flash CS3 required). Using the tree iterator Before we build a tree its important to understand how the tree iterator works. Normally the iterator is used to iterate over the structure’s data – in this case the iterator additio

                        • 暮らし
                        • 2007/05/21 23:31
                        • as3
                        • flex
                        • flash
                        • polygonal labs » Data Structures

                          21 users

                          lab.polygonal.de

                          I’ve just uploaded a new version of my data structures library for Haxe to haxelib. Please note that the new version requires Haxe 3.3.0-rc.1 and might not even compile using an older version like 3.2.x. Many thanks go to Simon Krajewski and Hugh Sanderson for fixing countless Haxe bugs related to my library :) The update includes many small breaking changes so I’ve decided to release a new major

                          • アニメとゲーム
                          • 2007/05/11 14:16
                          • as3
                          • library
                          • actionscript
                          • flash
                          • actionscript3
                          • game
                          • lib
                          • polygonal labs » Recursive Dimensional Clustering

                            20 users

                            lab.polygonal.de

                            Collision detection with Recursive Dimensional Clustering Brute force comparison Collision detection can be done in many ways. The most straightforward and simplest way is to just test every object against all other objects. Because every object has to test only for others after it in the list of objects, and testing an object with itself is useless, we arrive at the well known brute force compari

                            • 暮らし
                            • 2007/04/10 10:31
                            • 衝突判定
                            • collision
                            • algorithm
                            • actionscript
                            • as3
                            • プログラム
                            • library
                            • AS3 loops, performance comparison

                              14 users

                              lab.polygonal.de

                              So the main thing to keep in mind is that a for..in loop is now roughly 28 times slower than a standard integer loop - in AS2 the impact wasn't that big. Also don't overload the loop header, but put everything in the loop body instead, for example: // slower var k:int = 1000; for (var j:int = k - 1, i:int = 0; i < k; j = i, i++) { } // faster var k:int = 1000; var j:int = k - 1; for (var i:int = 0

                              • 暮らし
                              • 2006/10/09 19:45
                              • AS3
                              • ActionScript
                              • performance
                              • blog
                              • http://lab.polygonal.de/

                                14 users

                                lab.polygonal.de

                                I’ve just uploaded a new version of my data structures library for Haxe to haxelib. Please note that the new version requires Haxe 3.3.0-rc.1 and might not even compile using an older version like 3.2.x. Many thanks go to Simon Krajewski and Hugh Sanderson for fixing countless Haxe bugs related to my library :) The update includes many small breaking changes so I’ve decided to release a new major

                                • アニメとゲーム
                                • 2006/09/22 10:32
                                • flash
                                • as3
                                • ActionScript3
                                • physics
                                • actionscript
                                • game
                                • 物理

                                このページはまだ
                                ブックマークされていません

                                このページを最初にブックマークしてみませんか?

                                『http://lab.polygonal.de/』の新着エントリーを見る

                                キーボードショートカット一覧

                                j次のブックマーク

                                k前のブックマーク

                                lあとで読む

                                eコメント一覧を開く

                                oページを開く

                                はてなブックマーク

                                • 総合
                                • 一般
                                • 世の中
                                • 政治と経済
                                • 暮らし
                                • 学び
                                • テクノロジー
                                • エンタメ
                                • アニメとゲーム
                                • おもしろ
                                • アプリ・拡張機能
                                • 開発ブログ
                                • ヘルプ
                                • お問い合わせ
                                • ガイドライン
                                • 利用規約
                                • プライバシーポリシー
                                • 利用者情報の外部送信について
                                • ガイドライン
                                • 利用規約
                                • プライバシーポリシー
                                • 利用者情報の外部送信について

                                公式Twitter

                                • 公式アカウント
                                • ホットエントリー

                                はてなのサービス

                                • はてなブログ
                                • はてなブログPro
                                • 人力検索はてな
                                • はてなブログ タグ
                                • はてなニュース
                                • ソレドコ
                                • App Storeからダウンロード
                                • Google Playで手に入れよう
                                Copyright © 2005-2025 Hatena. All Rights Reserved.
                                設定を変更しましたx