Mar 2026【隨筆】Clone a Meta Ray-ban Display glasses application|藍芽 L2CAP CoC 極致低延遲架構優化:實現 720p 智慧眼鏡流暢串流 👓(LIVE DEMO)

圖片
最近在做一些實驗性質的東西,記得去年短暫玩過 2023 年底上市的第二代 Ray-Ban Meta 智能眼鏡,雖然它主要還是依賴智慧型手機作為算力中心,但我們對它所使用的串流技術很感興趣,因為聽說他們是用藍芽做串流。 去年曾經有同事隨口問我:「我們的眼鏡做到跟他們一樣你覺得有可能嗎?」,因為我知道我們的硬體規格跟人家的相比並非等號,加上當時有其他事情在搞,所以隨口開玩笑回說:“可是聽說 Meta 有200個人在搞那個眼鏡捏(雖然不知道他們負責搞應用的有幾人),啊我如果一個人可以幹贏他們200人,那我還在這幹嘛???(笑)” 也記得更久以前,當我們還在研究那個眼鏡時,常聽到像是:『 他們不知道用了什麼黑科技 』,這類沒有建設性、不應該從 RD 嘴裡說出來的話,而我也是不以為然。坦白講,以前每次只要聽到某SW嘴砲經理(暫且以H君稱之),沒事就把『 黑科技 』三個字掛在嘴上,當做無知的遮羞布,我就會感到倒胃口!同樣身為RD,我只覺得  Shame on you!(打嘴炮、作秀搶風頭、噁心帶風向、搞政治操作、把別人做事的成果搶去幫自己抬轎、有鍋直接推給下屬扛、散佈同事私生活謠言,還有職場霸凌,這些你他媽都頂級專業戶,除此之外沒啥洨用了!) 一件理論上可以做到的事情,外行人的認知被信息差,不懂加上沒實作能力去驗證,就什麼都變成黑科技了(多黑?比巴西黑鮑魚還黑嗎?)。反重力技術說不定也非啥黑科技,只是政府不讓你普通老百姓了解罷了。 Ray-ban Meta 的黑科技,講白了就是人家拉個百人團隊在搞那支眼鏡,然後把軟體技能和硬體規格點滿,再加上極致優化後的成果罷了! 當時知道 Ray-Ban Meta 的智慧眼鏡有塞入一個強大的 WiFi 6 晶片在裡面,一開始我猜測會不會有可能是透過 WiFi P2P 或 WiFi SoftAP 的方式去做串流(確實 Meta 的智能眼鏡,在同步媒體時,會強制要求開啟手機的 WiFi 開關,所以媒體同步應該是靠 WiFi 通道做的),而去年初我也快速做了一個WiFi Direct 架構來做 POC,確實傳輸效率非常快,幾百 MB 的大檔幾乎秒級傳完,從眼鏡端將媒體串流到手機端更是不用說的順暢,而且當時我們的媒體串流還是以未經編碼的方式傳透過 Socket 直接傳輸的(這表示傳輸時所需的頻寬會更大,功耗據說也較大)。 後來因為 ...

2D & 3D Mobile Game Engines for iOS and Android Platform

If you want to jump into making killer game for a mobile device, then you don’t want to spend time writing your own engine. Here are a few top picks for 2D and 3D mobile game engines for Apple iOS and Android platform. (include open source and commercial license):



Cocos2D
Cocos2D is an development framework for building 2D games and other graphical applications in Python. Cocos2D-iPhone offers more of the same, but focused at the iPhone and Objective C! It’s open source and makes it really easy to develop 2D games for the iPhone. There’s built-in support for physics (using Chipmunk), sprites, parallax scrolling, iPhone touch and accelerator support, texture compression, and, of course, a lot more. As you can tell from the name, Cocos2D is designed for 2D games, that being said, although the engine is in a 2D world, the engine includes a growing collection of high quality 3D special effects.

Cocos2D has been used in many games on the iPhone app store, you can visit the official site here, where many are listed.

Cocos2D is the first engine to check out, while many may be turned off by the engine not supporting a 3D world, if you look at most of the top iPhone games the gameplay is 2D, in fact the iPhone's touch screen controls can make it difficult to operate in a 3D world. More information is available on their site: http://www.cocos2d-iphone.org/ or http://code.google.com/p/cocos2d-android/.
Cost: free, MIT license
Dev. Platform: Mac or Windows





Corona SDK by Ansca Mobile
The Corona SDK is a development platform using LUA that has been used in many different iPhone and iPad games and apps.  It features high performance, and has really come a long way, and now has a very strong community.  There are numerous examples and tutorials available from Corona and other developers.  Ease of use and strong 2D performance have made Corona very popular.
http://anscamobile.com/
Cost: $99/year
Dev. Platform: Mac/Windows



Sparrow Framework
The Sparrow Framework is a very lightweight 2D game engine created in Objective-C.  Sparrow makes it possible to write fast OpenGL applications without having to touch OpenGL or pure C (but easily allowing to do so, for those who wish). It uses a tried and tested API that is easy to use and hard to misuse. The game framework includes all the necessary features you'd require for creating a basic 2D game such as easy animation, and a sound engine.
Cost: free
Dev. Platform: Mac



iTorque: Torque 2D for iPhone
This is from the makers of the famous Torque engine, and is essentially the Torque Game Builder ported to the iPhone platform.  This means that you can use the same tools as the Torque Game Builder in creating your game.  iTorque is $750 for indie developers (first $100,000).  It currently only supports 2D, but a 3D version is in development.
http://www.torquepowered.com/products/torque-2d/iphone
Cost: $750
Dev. Platform: Linux/Mac/Windows



Game Salad by GameSalad Inc.
GameSalad is a game creation software platform that lets you publish to iOS, the Mac or the Web. The software doesn’t require prior programming knowledge to work, and has already been used to make a number of hit games already available in the App Store, such as Stunt Squirrels, Bumps, Doodle Destroy and more.

This is probably the easiest game creator available on iOS if you are new to programming.  This is potentially a purely drag and drop solution, and Game Salad users are out there cranking out games like crazy which is proof of it’s ease of use.

GameSalad Basic will let you publish to Mac OS X, a Web page or iOS; the company also offers an enhanced Pro package for $499 which adds support for iAds, promotional links and “priority” technical support. Publishing to iOS devices is now free at the base level.
http://gamesalad.com/
Cost: free
Dev. Platform: Mac OS X






* Engines With 3D Game Support


Cocos3D
cocos3d is a significant extension to cocos2d, a popular, well-designed framework for building iOS games and applications that play out in 2D (or 2.5D isometric projection). Although on the one hand it is possible to start with the cocos3d Application template and develop a 3D application without knowing too much about the workings of cocos2d, to get the most out of this document, you should familiarize yourself with cocos2d.

s3d adds to this a full 3D modelling space, including 3D mesh models, perspective projection cameras, materials, and lighting. With cocos3d, you can populate your world with 3D models exported from 3D editors such as Blender, Cheetah3D, Maya, 3ds Max, and Cinema 4D, combined with models you create dynamically in your Objective-C code.

Both cocos3d and cocos2d are built on top of the OpenGL ES frameworks that runs on all iOS devices, and both are written in the native Objective-C familiar to all iOS developers. With cocos3d, you can effortlessly create a full 3D game or application without getting into the nitty-gritty needs of the OpenGL ES state machine, and without having to switch over to C or C++, as required by most other 3D frameworks. You can read the cocos3d Programming Guide for more details.

Cost: free
Dev. Platform: Mac or Windows



ShiVa by Stonetrip
ShiVa is a 3D game development platform for developing for Linux, Mac, Windows or mobile devices such as the Android, iPhone,  iPad, and Windows Phone.  ShiVa uses a player to run the game developed on the appropriate platform.  There is a Personal Learning Edition available for free to develop for Windows or Mac.  It will run on Windows or a Mac with Parallels. Scripting is done in Lua.  Stonetrip is working on a solution to the whole iOS4 issue that could keep deployment happening to the new iPhone/iPads that will put everything into compliant C/C++ code and make Apple happy.
http://www.stonetrip.com/
Cost: €169
Dev. Platform: Windows (or Mac with Parallels/VMWare Fusion).



Unity 3D by Unity
Unity 3D is the most popular commercial 3D iPhone game engine, and has been used in many games.  Initially the iPhone version had some performance complaints, but it appears as though those issues were alleviated.  Unity allows you to use an extensive 3D editor with many scripts available and there is considerable community support available.  Another nice feature recently added to unity is that it allows you to use your Objective-C code, and it is the only one of these engines that appears to do so (so you can utilize libraries of your choosing within the iPhone SDK).  Following a popular licensing scheme for game engines, you do not have to purchase the pro version ($1200) until you have over $100,000 revenue in a year (VERY attractive to those who are getting started).  If you want to port your game to the iPhone, it is currently only $300.  Again, if your company makes over $100,000, you are expected to purchase the pro version of the Unity iPhone engine for $1200.
Cost: $300
Dev. Platform: Mac or Windows


Unity3D Video Tutorial:


Airplay SDK
The Airplay SDK is a high quality 2D and 3D game framework including tools that run on both Windows and Mac OS X.  Airplay can compile to many different platforms, but most importantly for us allows you to compile and release games on the iPhone for free if the annual turnover of your business is less than $100k.  Airplay utilizes C++ and integrates with Visual Studio on Windows and Xcode on the Mac.  The feature list is extensive and Airplay updates frequently to cover new features when Apple updates their SDK.  I really can’t say anything bad about Airplay other than that the learning curve can be higher than some of the other options listed.
Cost: from $99 to $2500
Dev. Platform: Mac or Windows



Unreal Development Kit (UDK)
The Unreal Engine is legendary in the gaming industry, and their Infinity Blade game has been tremendously successful in the app store. Starting at $99 for indies the 3D engine is highly accessible to anyone. The only caveat for development on iOS is that the tools require Windows platform, so if you're a Mac OS X purist you're going to have to look elsewhere. If you want cutting edge features, want to use the same brilliant tools used in creating hits like Unreal Tournament, and Gears of War then this is it.
Cost: $300
Dev. Platform: Windows only




SIO2 Engine by SIO Interactive
The SIO2 mobile game engine is a universal OpenGL ES 1.X/2.X mobile game development platform designed for light commercial and small consumer use. It is more specifically designed to compliment single, or small teams of, developers who wish to create and sell mobile applications. SIO2 game engine supports universal iOS and iPhone development (Windows, Mac, Linux) as well as Android, webOS, and bada.

SIO2 is coded in C and C++ which allows complete manipulation and scripting options for advanced game developers. It also offers full platform support for graphics, scene management, scripting, animation, physics, audio and video, lighting and shadow and of course various platform languages.

The SIO2 game engine SDK and legacy versions of the software are available for download on the official site for free. However, full commercial licenses for game and application distribution starts at $365. It is worth noting that the SIO2 source code is available alongside additional programming options which can be purchased with or without commercial licenses.

The official SIO Interactive site offers full tutorial coding and development options for use with the actual SIO2 platform. Beginner and novice developers can also browse the getting started manual here at TheTechLabs to start coding simple games.
Cost: $365
Dev. Platform: Linux/Mac/Windows



GLBasic
The GLBasic is a suprisingly cool development tool that I found in relative obscurity.  It has been used in a number of 2D  games already, and I have seen some fairly impressive 3D work being done on this but it does not appear as though any 3D games have been released using GLBasic.
Cost: €80 for the premium version
Dev. Platform: Linux/Mac/Windows

Bork 3D Game Engine
Do you have an iPhone game project that you want to get off the ground quickly? Get a substantial leg-up by building your project on a proven foundation, the game engine that drives Anytime Golf.

The Bork3D Game Engine is touted by the developer as an engine for programmers. It does not include a wysiwig content editor or scripting langue with pre-built scripts like the Stonetrip, and Unity engines, but does support 3DSMax, Maya and Collada. The excellent Anytime Golf was created with Bork 3D which has terrific graphics.
Cost: $49 per developer Indy License / $199 for Professional License.
Dev. Platform: Linux/Mac/Windows





* Note On The Following Engines

The following engines are currently more for educational purposes than anything unless you want to do a lot of tinkering.  They are all either works in progress or not actively being worked on by their initial developers and have somewhat fallen to the wayside.  Unfortunately if you’re developing a 3D engine this is what you have to choose from as far as open source goes now.

Galaxy Game Engine
The Galaxy Game Engine is a very promising engine with an extensive feature set. From what I understand no apps have been released with this, but the project deserves some mention because of the feature set boasted by this engine, and it appears as though the developers are committed to the project.

This is a BSD licensed 3D engine that includes some very useful tools such as a level editor, terrain editor, model viewer, particle editor, and shader IDE.

Oolong Engine
The Oolong game engine is a 3D engine written in C++, and provides excellent performance. The downside of the Oolong engine is that it is difficult to use for those that are not familiar with OpenGL ES.

Oolong provides support for a wide variety of features, and very good performance, as I said my only problem with Oolong is that it is difficult to use. This is a low-level engine designed for programmers so if you’re just getting into game development I would stay away.

You will find the latest version on google code, there is very little documentation for Oolong, but the community is very active, and you can get answers to many of your questions there. I would recommend Oolong to those looking to create their own game engine looking for something to start with.
Uses the MIT license.

Irrlicht Engine
I mention Irrlicht here only because I received a message from someone stating that it was available on the iPhone. I know that it has been used in the creation of apps already available on the iPhone.

The Irrlicht game engine is a 3D game engine written in C++. While there is no official port available on the Irrlicht website for the iPhone with some tinkering I was able to get the OpenGL ES version running on the iPhone — somewhat. You will find the OpenGL ES version hidden away in the repository.

Irrlicht is an excellent open source engine that has support for an extremely wide variety of file formats, and has the best support for the “classic” BSP format that I've seen in an open source game engine. There are also numerous other tools that have been created for the engine.

All this being said, I can't recommend Irrlicht because there is no official port, and if you check out the forums there really is no one willing to provide help to those looking to get it running on the iPhone although some have created apps running on the iPhone.
The Irrlicht engine uses the Zlib license.

Haxe
Haxe is a multi-platform language that most notably compiles to SWF and has been used in many Flash games. Because of this ability to compile to SWF you can use Adobe's Flash builder for iOS tool to get your games on iOS devices. If you do things this way it suffers the same performance limitations that Flash CS5 iOS games currently suffer from. You can also compile straight to iOS devices, but you’ll need to hit up their mailing list to figure out exactly how to get things done, and do some figuring yourself.

Flixel
This is the port of a popular 2D Flixel Flash game framework to iOS Objective-C. So if you have developed a flash game using that framework this should be very helpful to you.

Flixel has not officially been released as an open source project however if you take a look at the release of the open source game MIT-licensed Canabalt you will find their first major attempt at porting the framework to iOS and could be potentially used in your code. There will likely be an open source release soon.



Together These Make One Excellent iPhone Game Tutorial

These tutorials are from 71 squared. They run through the steps to creating a game on the iPhone in tremendous detail, and include source code. Included are in-depth videos.

iPhone Game Programming – Tutorial 1

iPhone Game Programming – Tutorial 2: Image Class

iPhone Game Programming – Tutorial 3: SpriteSheet Class

iPhone Game Programming – Tutorial 4: Bitmap Font Class

iPhone Game Programming – Tutorial 5: Animation Class

iPhone Game Programming – Tutorial 6: Tiled Map Class

iPhone Game Programming – Tutorial 7: Singleton Class

iPhone Game Programming – Tutorial 8: Particle Emitter

iPhone Game Programming – Tutorial 9: Sound Manager

iPhone Game Programming – Tutorial 10: Game Structure

iPhone Game Programming – Tutorial 11: Joypad

In summary, I'd have to say Unity would be the best choice for 3D game engines, the community is unparalleled, and upgrades are frequent.  If you're looking for a free 2D game engine, it appears as though Cocos2D or Sparrow Framework is currently the ideal choice.

熱門文章

Aug 2026【新北三峽】鳶尾山、鳶山、鳶山彩壁、五十分山環狀健行(環台北天際線第九段)

2019, July 7~8【中國山東】老司機帶你攀登72位古代帝王曾登臨朝拜,以五嶽獨尊名揚天下的泰山(歷史典故+遊覽路線+遊記+照片)

Jul 2026【新北林口】觀音山小北插路線上鷹仔尖、東明山、潮音洞&一個關於被噁心的故事

台中【馨苑小料理】西區店|巷弄裡的人氣台菜店|米其林必比登推薦美食|提供合菜、個人套餐

日本の登山の歷史

Mar 2026【隨筆】Clone a Meta Ray-ban Display glasses application|藍芽 L2CAP CoC 極致低延遲架構優化:實現 720p 智慧眼鏡流暢串流 👓(LIVE DEMO)

【美國加州】此生必去超美風景!加州一號公路自駕遊~Half Moon Bay、17 Mile Drive、Bixby Greek Bridge、Big Sur、McWay Falls、Elephant Seal Rookery

Dec 2024【苗栗泰安】水雲餐廳溫泉民宿♨️🥢⛰️|水雲三星之橫龍山~騰龍山健行|台中西嶼龍新鮮海鮮古早味餐廳

Jun 2025【彰化員林】月光山舍土雞料理景觀餐廳(寵物友善餐廳)|員林藤山步道散步

July 2024【台北士林】帕米爾公園出發,接雙溪溝古道至梅花山北峰、梅花山西峰、雙溪山O型走(順訪藍海藝園用餐)

文章列表

Contact

名稱

以電子郵件傳送 *

訊息 *