Codea
Creative coding
Бесплатно · Встроенные покупки · Предназначено для iPad. Не проверялось для macOS.
"Это что-то вроде Garage Band для программирования". — Wired
"[Codea] для iPad — это отличный способ писать и запускать программы на вашем iPad." — Gizmodo
Самая инновационная программа и Лучшая программа для творчества — 2011 Best App Ever Awards
Codea позволяет создавать игры и симуляции, а так же визуализировать любую Вашу идею. Превратите ваши мысли в интерактивные творения с использованием функций вашего iPad, таких как мультитач и акселерометр.
По нашему мнению, Codea - это самый красивый и удобный редактор кода. Codea предназначена для взаимодействия с вашим кодом касаниями. Хотите изменить число? Нажмите и проведите по нему. Как насчет цвета, или изображения? Нажатие вызовет визуальные редакторы, которые помогут вам выбрать то, что вы хотите.
Codea построена на языке программирования Lua. Простой и элегантный язык, с простым синтаксисом — идеальное решение для iPad.
Всё, что нужно для использования: напечатайте свой код. Готово? Нажмите «play» и наслаждайтесь проделанной работой. Взаимодействуете с вашим проектом. Проявляйте творческий подход.
Видео
Смотрите на twolivesleft.com/Codea
ОСОБЕННОСТИ
• Полноценный визуализатор векторной графики и растровых изображений позволит создать все, что вы можете себе представить.
• Множество фантастических примеров для обучения, включая игры и симуляции.
• Создавайте рандомные звуковые эффекты в стиле ретро-игр для ваших творений.
• Прикоснитесь к коду: взаимодействуйте с числами, цветами и изображениями для их корректировки.
• Полноценная документация, доступная с клавиатуры.
• Развитая система авто-заполнения предлагает ключевые слова и функции.
• Импортируйте ваши собственные изображения из Dropbox, фотографий и прочего.
• Полноценный физический движок для сложный движений.
• Добавляйте параметры к вашей симуляции или игре для изменения переменных в реальном времени.
• Взаимодействуйте с акселерометром или функцией мульти-тач на вашем устройстве.
• Видеозапись: записывайте видео ваших проектов и делитесь ими!
• Редактор Codea обладает красивой подстветкой синтаксиса.
• Codea умеет визуализировать 3D графику.
• Поддержка языка шейдеров GLSL во встроенном редакторе.
ВАЖНАЯ ИНФОРМАЦИЯ
• Если вам нужна помощь или вы хотели бы связаться с нами, пожалуйста, используйте ссылку поддержки на этой странице.
• Политика конфиденциальности: https://codea.io/privacy
• Условия использования: https://www.apple.com/legal/internet-services/itunes/dev/stdeula/
ПОДПИСКА
• Codea можно бесплатно использовать для проектов до 500 строк. После этого вы можете оформить подписку на Codea Pro, чтобы получить доступ к расширенным функциям и неограниченному размеру проекта
• Доступны ежемесячные и годовые планы
• Также доступна пожизненная покупка
• Цены могут различаться в зависимости от региона. Подписка будет автоматически продлена, если автоматическое продление не будет отключено как минимум за 24 часа до окончания текущего периода. Управлять подпиской можно в настройках аккаунта App Store.
еще After update many bugs appeared! 1. Resources open incorrectly - text overlays text.2. Shaders editor crash the app. Doesn't open. Can't work with shaders.3. All shader examples don't run - return errors of shader version. 4. Menu text comes out from behind the screen being closed. Before all these bugs were out.
Ответ разработчика Thank you for letting us know.Can you please get in touch via the forums or by email so we can fix these bugs? I would love to make sure Codea works well for you
After update many bugs appeared! 1. Resources open incorrectly - text overlays text.2. Shaders editor crash the app. Doesn't open. Can't work with shaders.3. All shader examples don't run - return errors of shader version. 4. Menu text comes out from behind the screen being closed. Before all these bugs were out.
Thank you for letting us know.Can you please get in touch via the forums or by email so we can fix these bugs? I would love to make sure Codea works well for you
Великолепная программа! Очень удобная, имеет много крутых возможностей, есть offline документация и есть возможность создавать 2d, 3d и AR игры! Свои деньги оправдывает на 1000%Единственный минус, по крайней мере для меня: слабо развита работа с 3d. Мне не хватает анимаций, state machine и немного другого.
Великолепная программа! Очень удобная, имеет много крутых возможностей, есть offline документация и есть возможность создавать 2d, 3d и AR игры! Свои деньги оправдывает на 1000%Единственный минус, по крайней мере для меня: слабо развита работа с 3d. Мне не хватает анимаций, state machine и немного другого.
Force, azimuth and altitude of touch with Apple pencil
Ответ разработчика We definitely have Apple Pencil support in mind. Maybe not the next update, but soon!
Force, azimuth and altitude of touch with Apple pencil
We definitely have Apple Pencil support in mind. Maybe not the next update, but soon!
It is wonderful program for students, but there bugs like:after tapping on random sound it breaks your ears,after “enter” text can lag and messing,sometimes after closing your program Cdea just crash,and in “help menu” when create new variable it show up after ~minuteBut without this problems it is very good program.P.S. sorry for my English :(
Ответ разработчика Thank you for reporting those problems. We are always looking to make Codea more stable and your feedback is really valuable.
It is wonderful program for students, but there bugs like:after tapping on random sound it breaks your ears,after “enter” text can lag and messing,sometimes after closing your program Cdea just crash,and in “help menu” when create new variable it show up after ~minuteBut without this problems it is very good program.P.S. sorry for my English :(
Thank you for reporting those problems. We are always looking to make Codea more stable and your feedback is really valuable.
Новый стиль автодополнения
- При использовании аппаратной клавиатуры на iPadOS вы увидите более традиционный стиль автодополнения в виде плавающего меню
- Это можно настроить в параметрах редактора
УЛУЧШЕНИЯ
- Современный рендерер стал функциональнее и лучше совместим со старыми проектами. Попробуйте его в своих проектах и расскажите нам, как всё прошло
ИСПРАВЛЕНИЯ
- Исправлена проблема, из-за которой использование require для зависимостей в iCloud могло замедлять запуск проекта
- Экспорт в Xcode для проектов с зависимостями
- `require` не всегда сохранял порядок буферов зависимых проектов
- Исправлены потенциальные сбои в runtime
3.17 5 мая
Встроенный сервер MCP и поддержка ИИ-агентов
- Codea теперь включает встроенный сервер MCP, благодаря чему ИИ-агенты для программирования можно проще подключать напрямую к вашим проектам
- Чтобы начать, откройте Air Code и ознакомьтесь с обновлёнными меню и документацией
Жест прокрутки редактора к началу
- В настройках редактора добавлен новый параметр для управления жестом прокрутки к началу
Улучшения экспорта в Xcode
- Улучшен экспорт в Xcode
- Экспорт в Xcode теперь использует тот же стиль упаковки, что и экспорт в ZIP, с включёнными в экспортируемый проект зависимостями
УЛУЧШЕНИЯ
Улучшения производительности
- Улучшена скорость запуска Codea
- Улучшена производительность загрузки сетки проектов
Поддержка пошаговых событий Game Center
- Добавлена поддержка GKTurnBasedEventHandlerDelegate
Улучшения макета окна просмотра
- Исправлена проблема, из-за которой разделённая панель окна просмотра могла перекрываться кнопками в горизонтальной ориентации iPhone
ИСПРАВЛЕНИЯ
- Исправлена проблема, из-за которой список зависимостей мог отображать элементы в неверном состоянии
- Исправлена проблема, из-за которой при нажатии Return мог ошибочно добавляться оператор `end`
- Исправлена работа `require` при импорте проектов, использующих современный синтаксис порядка буферов
- Исправлено поведение доступа к пикселям изображения: ось Y больше не инвертирована в рендерере Modern
- Небольшие исправления интерфейса
3.16 5 апр.
File API
- This lets you copy, move, rename and delete files using asset keys. See the Storage chapter for documentation and examples
Multi-Window Mode
- iPad power users: you can now switch Codea into multi-window mode from the settings pane to open and run projects in new windows by default. Great for external displays
iPad Menu Bar Support
- Codea now supports the iPad menu bar
IMPROVEMENTS
Liquid Glass
- Codea now supports the new UI. Edges more opinionated
Documentation Sharing
- Adds a share button to documentation pages to share markdown-formatted snippets. Share what you know, perhaps with an LLM?
Project Reordering While Searching
- You can now reorder projects even while a search is active
Carbide Rendering & Canvas Improvements
- Adds canvas.position and canvas.size
- UI canvas position is no longer influenced by UI scale
- Fixes an issue where camera viewport affected canvas rendering
- Camera and matrix state handling is more robust when using render textures and matrix.push
Carbide Shader Improvements
- Adds a new sprite() mode to Shader Builder for improved sprite render order control
- Improves handling of sampler flags in shaders. Textures behave themselves
Editor Improvements
- Autocomplete is now suppressed inside multi-line strings and comments
FIXES
- Fixed crashes when displaying PDFs
- Documentation example views now display correctly
- Fixed crashes related to camera state when mixing viewports, matrices, and render textures
- Fixed issues with iCloud assets that could cause hangs
- Fixed an issue where the Find view didn’t automatically search for selected text sometimes
3.15 16.12.2025
Screen sizes: you can now choose from a variety of screen sizes when running your projects. This includes iPhone, TV, and Square. Great for testing your layouts — use `layout.safeArea` to ensure your project is not obscured by device features
3.14.3 24.06.2025
NEW
- Dependencies list is now searchable, supports iCloud and other project locations. Very dependable
FIXED
- Improved support for hot reload
- Exposed tween target to Lua for more control in animations. You are the puppet master
- Modern renderer: Fixed sprite rendering breaking some scene rendering
- Modern renderer: Improved rendering by resetting view state when changing projection or view matrix. We don't know what it means either
- Improves performance of the project grid to address lag and freeze issues with large projects. The grid no longer buckles under the weight of your creations
3.14.2 18.06.2025
NEW
Better project export. Codea now includes all your dependencies when you export your project as a zip. They'll appear neatly packed in a /Dependencies folder, so anyone you share with has everything they need to run your code. No more incomplete offerings
FIXED
Fixed some editor UI bugs on iPhone. We've quashed the small screen rebellion
Carbide: Fixed crash when using certain callback parameters that weren't functions
Carbide: Resolved crash caused by nil sprite references. The void sprites can't hurt you anymore
Carbide: Fixed issue causing an infinite loop when using text without arguments
Carbide: Fixed bug where entity duplication could cause errors
3.14.1 04.06.2025
Codea is now free
Are you upgrading from a previous version? You’ll get Codea Pro for free. If you’re not upgraded automatically, please contact us and we’ll make sure you are!
Improvements
- Fixed an issue causing an infinite loop when duplicating an entity twice. The cycle of creation is broken
- Fixed issue with slice atlas by returning the correct image atlas
- Resolved crash when closing Carbide. Endings are no longer violent
- Improved error messages by better handling of optional .lua files in runtime errors
- Quaternions now display member values in a more predictable order in debug output. Mathematical order has been imposed
- Minor UI improvement: adjusted error marker width for better visibility. The marks of failure are now easier to see
3.14 25.05.2025
Improvements
• Adds the classic FixedSys monospace font to Codea. The past reaches forward through time, one pixel at a time
3.13.5 07.04.2025
Fixes
- We made some adjustments to the code editor last version, but those adjustments came with bugs! Crashes are mitigated in this version. The editor's rebellious phase has been quelled
3.13.4 02.04.2025
Improvements
• Adds viewer.paused so you can pause the viewer. Can you unpause it? No. Because it's paused
• Updates our modern renderer backend to the latest version. The shadows deepen
Fixes
• Fixes a bug where having very large projects in Codea could cause random hangs in the editor. The behemoths no longer freeze time
• Fixes an issue with marked text entry which could cause the cursor to disappear. We found the cursor
• Fixes undo in Shader Lab. History is no longer immutable
3.13.3 27.03.2025
Dependencies
• Dependencies chosen in the sidebar now summon their `require()` statements into your code. Unselect them, and the code cleanses itself. No manual intervention required
Modern Runtime
• When creating new classes in the modern runtime, the class name is added as a parameter in the default template. Identity is bestowed at creation
• Your custom components are now included in the returned components list from an entity. Nothing hides from the census
• Adds camera.viewport and camera.aspect to Carbide. Narrow your world view
Improvements
• Replaces key.return with key.enter. The renaming will continue until morale improves
• Added a "What's New" button in the settings pane. Discover the changes we've made while you weren't looking
Fixes
• Fixes Code Notes on iPad mini 6th generation. We thought you were using a phone, our bad
• Fixes Xcode export for legacy projects. The old ways are preserved
• Fixes an issue with worldToScreen in Carbide when used with viewports. Coordinates now translate correctly across dimensions
3.13.2 24.03.2025
FIXED
• Example projects were not appearing occasionally on new installs. They were hiding in the shadows
• If your example projects did not appear, please tap the settings icon in the top right, scroll down, and choose "Restore All Examples"
• The missing shall be summoned at your command
3.13.1 11.03.2025
Introducing Code Notes
Bring your Apple Pencil to your screen to write, scribble or draw on your code. Annotate, highlight, circle, underline. Make your intentions clear. Or obscure them completely
And if you want to see what madness looks like, we’ve scribbled all over our example projects
3.13 08.03.2025
Motion Sensing
• New motion API for Carbide. Track your device's accelerometer and more. It knows when you move
File Picking
• Introducing the pick() API family. Summon the iOS file picker directly from your running project. Choose wisely
Type Introspection
• New typeof() function reveals the true nature of Carbide types. Knowledge is power. Power corrupts
Utilities
• color.fromHSV lets you create colors from the void between hue, saturation, and value
• table.flatten collapses your multi-dimensional data into a single plane of existence
• Entity visible property can now hide elements from view. Just because something is invisible doesn't mean it isn't there
Improvements
• Editor UI polish. Sharper. Sleeker. More efficient at extracting your thoughts
• Improved animations and keyboard behavior in collection creation. Empty names are rejected. All things must be named
Fixes
• Fixed autocomplete on the first blank lines. Emptiness yields to your commands
• Resolved Air Code issues. Your remote coding sessions shall proceed unhindered
• Fixed a crash in World Generator example project. World creation is a delicate process
• Fixed occasional failures to load local projects. Your creations were hiding, but we found them
Modern Renderer
• Image smoothing can now be controlled. Blocky or smooth, you choose
• Style is no longer reset when rendering empty text. Even nothingness deserves style
• Entities now remain valid until their scene is destroyed. No more premature deaths
• Fixed issues with child entity binding. Parent-child relationships were... complicated
• Fixed load order issues. Everything must happen in the correct order
3.12.5 27.02.2025
- Pasteboard API: Your clipboard's thoughts are now accessible to both Carbide and Legacy
- Vector Swizzling: Your vectors can now contort themselves into new forms. myVec.zzz or myVec.zx = vec2(5, 6)? The possibilities are... unsettling
- Image Slices: slice.image and slice.atlas reveal the truth behind the fragments
- Color Arithmetic: Colors can now add, subtract, multiply, and divide. The boundaries between hues blur ever more
- Vector Evolution: cross, rotate, rotate90, and angleBetween have emerged for vec2 in Carbide
FIXED
- Key Recognition: Left and right modifiers have gained individual consciousness through proper keyCode values
- Identity Crisis: leftCtrl and rightCtrl were masquerading as alt keys. Their true nature has been restored
- Modifier Detection: key.modifiersPressed(modifiers) now sees all, regardless of left or right alignment. Nothing escapes its gaze
- Collider Persistence: Deleting a collider no longer tears holes in the fabric of reality. The list remains intact
- Project Creation: The creation screen stands firmer against accidental dismissal. Some things shouldn't be interrupted
- Name Recognition: The name field has broken free from autocorrect's grip. Your projects deserve their true names
- Icon Integrity: Custom tinted project icons have emerged from the shadows. Their tops are no longer haunted by transparency
3.12.4 21.01.2025
FIXED
• Last update we introduced dark mode icons. Perhaps things got a little too dark. The renderer had a tendency to greet you with an ominous black screen. We’ve convinced it to show up properly now.
• Sharing an iCloud project was causing the app to crash. Projects should be shared, not crash your hopes and dreams. This has been fixed.
3.12.3 30.09.2024
NEW
• Dark Mode Icon: A new icon has emerged from the shadows. Embrace the darkness.
RENDERER
• Scene Naming: Scenes can now have names, courtesy of scene.name. It’s about time they got some recognition.
• Entity IDs: You can now directly access entity.id. Every entity has an identity, after all.
• Overridable Methods: The update and touched methods for scenes can now be overridden. You’re in control.
• Renderer Backend Improvements: We’ve tinkered with the renderer backend. It’s smoother now, though you might not notice… until you do.
ENHANCEMENTS
• Syntax Highlighting (Modern Renderer): Syntax highlighting has made its way to the modern renderer. It’s still a work in progress, but the colors are coming together nicely.
• viewer.safeArea Support: The modern renderer now respects viewer.safeArea. Your content will no longer collide with the edges of the screen. You’re welcome.
FIXED
• Objective-C Image Bridging: UIImages were wandering off. They’re back where they belong.
• Lua Error Handling: The error function now actually triggers a Lua error, as it always should have. No more silent failures.
• Memory Leaks in Code Editor: Memory was leaking in the code editor. The flood has been contained.
• Air Code Crash on Save: Fixed an issue in Air Code that could cause a crash when saving. No more sudden exits.
• Fullscreen Touch Input: Viewer controls were getting in the way of touch input in fullscreen mode. They’ve been told to step aside.
3.12.2 27.09.2024
FIXED
Parameters were experiencing an identity crisis. Instead of being themselves, parameter.color() fancied itself an action button, and most parameters couldn’t quite figure out who they were meant to be, save for the number parameters, which stayed true to form. This existential confusion stemmed from a misconfigured switch statement. Order has now been restored; parameters can now confidently be themselves.
3.12.1 01.08.2024
NEW
• Collection Management: Swipe to the left sidebar to manage your collections, create new ones, reorder them, and drag projects between them. It’s all under your control… for now.
• textSize() Implementation: Carbide has gained a new trick. You can now use textSize() for more precise text handling. Everything must be precise.
ENHANCEMENTS
• Autocomplete: Continuously improving. Enjoy smoother, more accurate suggestions. The machine knows what you want.
• Objective-C Initialization: objc classes now respond to the call operator. A minor tweak for a better experience. Everything should respond when called.
• Xcode Export: Modernized and streamlined. Objectively better. Change is inevitable.
• Runtime Type Detection: Check viewer.runtime to know if you’re running Carbide or Legacy. You should always know where you stand.
FIXED
• iCloud Projects: iCloud projects that hadn’t been downloaded now show in the Project Grid. They were hiding, but not anymore.
• Collision Handling: Fixed the onCollisionEnded2d event issues when Began wasn’t defined. Peace has been restored. Or has it?
3.12 30.07.2024
IMPROVEMENTS
- Added a "Play" option for projects on the project grid when you long-press them
- Removed 2048x2048 image size restriction for imported assets
- Import plain text files via the document picker in the assets pane
- Modern renderer now has UIImage image bridging in objc - JF
- Errors occurring during `willClose` (legacy) or `shutdown` (modern) get reported back to you - JF
- Discrete slider behaviour is now used for Modern renderer parameter.integer - JF
- Autocompletion for objc enums when their type is specified - JF
FIXES
- Renderer was able to deadlock under certain circumstances (particularly objc callbacks) - JF
- Modern renderer asset caching no longer caches between runs
- entity.worldPosition fixed for canvas entities (UI)
- Modern renderer physics update now occurs before scene transform update
- color:mix arguments inverted to match documentation - JF
- Fixes a crash in the plain text editor
- Fixes errors when renaming files in Air Code - JF
- iOS 15: Shader Lab could crash on load
- iOS 15: Asset picker could crash on load
ACCESSIBILITY
- Asset picker cells are much more accessible - Ari
NOTE
- This will be the last iOS 15-compatible update for Codea
3.11.2 27.05.2024
Fixes a crash that could occur on startup when running on iOS 15
3.11.1 10.05.2024
iCloud Drive
• Store your projects on iCloud Drive, thanks to Unsung's amazing work. You can select a location when creating a new project or move existing projects to iCloud with a long press and select "Move to iCloud." Now you can have all your projects on all your devices, wherever you are
Air Code
• Devices running Codea will appear directly in VS Code, making Air Code easier than ever to use. Plus, we've introduced log points for evaluating expressions during debugging. All thanks to the tireless efforts of Jean-François
Accessibility
• Thanks to our newest team member, Ari, the main project browser is now more accessible, and is now navigatable via VoiceOver
Collaboration via iCloud
• Work on projects with friends by sharing through iCloud. Simply long-press a project in iCloud, choose "Share Project" and select "Collaboration" to get started
UI Enhancements
• The create project screen has been completely re-written. Set custom tint colors for your projects to personalize your workspace
Editor
• We've made code editing smoother with improvements in tokenization and keyboard navigation
Modern Renderer
• The modern renderer has received a host of improvements and fixes. Now, you can set colorspace, utilize clipping, and more. We're actively working on this, so let us know what you think
Fixes
• Numerous bug fixes and minor improvements, including performance issues when using asset keys
Thank You
• A big thank you to everyone who contributed to this release, especially our new team members!
3.11 18.04.2024
Air Code
Fix desync issue between Codea and Air Code
Assets are now available under an Assets folder
Ability to read, save, copy and rename binary files from VSCode
Made it possible to modify values of variables and watches while debugging
Better expose some custom types in VSCode debugger (tables, colors, etc.)
Fix soft lock when saving a file while the debugger is paused
Fix breakpoints not working in newly created files
Asset Keys
Fixed issues with using external assets
Improves Asset Key support in Modern renderer (to match Legacy)
Asset Picker
Fixed issue where all sections would be displayed for sub-folders
Allow picking assets from other projects
Add picker support to require()
Refreshes the UI of the Sound Generator tool in the sound() picker
Require
Load files in buffer order when importing a project with require()
Modern Renderer
Fix issue where reading the red component of a color would return it as a float
Legacy Renderer
spriteSize now correctly returns the page count of PDFs
Adds supported sound and music file formats to documentation
readImage returns nil when the requested page is out-of-bounds
ObjC
Remove deprecated enums and values
Add unnamed enums under objc.enum
Add objc.async to run code async on the main thread
3.10 09.03.2024
FIXES
- A bug where `sound` could stop working when re-running a project
- Appearance issues with the font picker UI in editor
- Initial scroll position in editor
3.9.7 05.02.2024
- Removes status bar when playing projects
- Changes text truncation mode on project icons
3.9.6 24.01.2024
Новый стиль автодополнения
- При использовании аппаратной клавиатуры на iPadOS вы увидите более традиционный стиль автодополнения в виде плавающего меню
- Это можно настроить в параметрах редактора
УЛУЧШЕНИЯ
- Современный рендерер стал функциональнее и лучше совместим со старыми проектами. Попробуйте его в своих проектах и расскажите нам, как всё прошло
ИСПРАВЛЕНИЯ
- Исправлена проблема, из-за которой использование require для зависимостей в iCloud могло замедлять запуск проекта
- Экспорт в Xcode для проектов с зависимостями
- `require` не всегда сохранял порядок буферов зависимых проектов
- Исправлены потенциальные сбои в runtime
еще Версия 3.17 5 мая
Не связанные
с пользователем данные Может вестись сбор следующих данных, которые не связаны с личностью пользователя: