https://rollerozxa.itch.io/principia-luascript-api-cheatsheet
Printable overview reference of the Principia Lua API
https://principia-web.se/contest/1
Hello and welcome to the first Principia building contest on the new community site. This contest's theme is **Destruction**. While all Principia connections are unbreakable by default, you can adjust them to anything below 1.0 for destructibility. Your mission, should you choose to accept it, is to construct a level that has a focus on destruction. Is it a car crash test site, or a building that needs to be demolished? You have two weeks from the publication of this contest page, and the deadline is on the 15th of August at exactly 10:00 GMT. You can see a countdown below. ## Tips and tricks - Adjusting the strengths of connections are crucial if you aren't going connectionless for this contest! To modify joint strengths in bulk you should select something in the Multi-select mode, then go to the configuration dialog and apply a new strength value in the Joint strength tab. - Explosions are fun! Put some Bombs and Land Mines sprinkled throughout the level, or emit them through Mini emitters for ultimate destruction. - If you want to play on hard mode, don't attach your planks at all! Simply build them with enough support underneath and you can create perfectly fragile buildings that would collapse even by a small gust of wind. ## Scoring Once the contest is over, a winner and a runner-up will be decided by the contest judge (ROllerozxa). Both will get their levels featured on the front page as well as a stylish trophy (gold and silver respectively) on their user page. Unfortunately there is no prize pool for top entries right now, but there may be some special extra rewards that can be arranged to be given out to the winners (if you have something you'd like to contribute, please reach out!). Depending on the amount of entries, there may be some other level entries that will be highlighted for things that are interesting but didn't make it to the top. ## Submitting a level Simply upload your level to the community site, and on the level's page you can see an "Add to contest" dropdown that has now appeared.
https://principia-web.se/news/16
Hello, Principia 2024.07.12 has been released. It fixes some bugs and regressions found in the previous version. As usual, you can find downloads on the **[Download](/download)** page. F-Droid and various Linux distribution packages should receive the update within due time. This release is a relatively minor one for fixing issues that were uncovered in the previous release. Most notably it fixes VSync being accidentally disabled on Android in the last release as a result of the SDL2 upgrade, which likely caused significant battery drain if you push enough frames. <figure> <img src="images/16/fps.webp" alt="FPS graph showing a lot of frames being pushed (way above the phone's refresh rate)"> <figcaption>That's a lot of frames!</figcaption> </figure> The Android build available for download on the download page was hotfixed a couple hours later when this was discovered, but the unfixed version of 2024.06.28 had already made its way to F-Droid and was already in their build pipeline. So for people using the F-Droid version, this issue should finally be fixed once this version is live on F-Droid. In addition to that there are other fixes for different platforms, such as Principia now working with SDL2's Wayland video driver on Linux (try passing `SDL_VIDEODRIVER=wayland` when running the AppImage!) and fixing an issue for compiling the full game on Alpine Linux. Latter was discovered by kittynunu when trying to compile the game on the Alpine-based postmarketOS distribution mainly targetting mobile devices. With the fix applied and when building the game with OpenGL ES enabled (`USE_GLES=1`) Principia now runs on postmarketOS! The full story about getting Principia to run on kittynunu's postmarketOS phone can be read on [Mastodon](https://fosstodon.org/@principia/112740806183744360) but here is an image showing Principia running on it: <figure> <img src="images/16/kittynunu_principia_pmos.webp" alt="Picture of a phone lying on the table, the screen shows Principia's adventure mode"> <figcaption>Principia on a Samsung Galaxy S3 running postmarketOS (kittynunu)</figcaption> </figure> For a full list of changes in this release see [the Changelog](/wiki/Changelog). --- Cover image: [Bee Smasher Mini Game](https://archive.principia-web.se/level/6389) by rom1k
@ROllerozxa
@sopuli.xyz