在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:m3diaLib-Team/m3diaLib-CTR开源软件地址:https://github.com/m3diaLib-Team/m3diaLib-CTR开源编程语言:C++ 98.2%开源软件介绍:m3diaLibA fast, extensive and powerful allround media and game library for the Nintendo 3DS, written in C++. This library is deprecated. I will still merge PRs and fix critical bugs, but I'm not planning on adding any new features or doing major changes. You should use libctru and citro3d/2d directly, if possible.here to get to the installation instructions.ClickThis library is still in beta! If you have any issues or find any bugs, please report them!FeaturesThe m3diaLib (spelled media-lib) is split into multiple modules, which can then be split into smaller parts: CoreThe core module contains all functionality for interacting with the system. Its features range from running and handling the app itself to displaying errors and running system applets. Its main features are:
InputThe input module does what its name says: It handles each and every input for interacting with the user. Its main features are:
GraphicsThe graphics module is by far the biggest module. It handles anything graphic-wise, from rendering simple shapes to rendering and animating high-quality textures. Its main features are:
AudioThe audio module can be used for both music and sound effects. Its main features are:
UtilsThe utils module contains all kind of useful utilities. Some of its functionalities are the following:
All features are well documented here. Examples can be viewed here. How to use itThe barebones of a homebrew app using the m3diaLib would look like this: #include <m3dia.hpp>
int main() {
m3d::Applet app;
while (app.isRunning()) {
if (m3d::buttons::buttonPressed(m3d::buttons::Button::Start)) {
app.exit(); // exit if start is pressed
}
}
} Easy, isn't it? Planned features:Audio:
Core:
Graphics:
Networking:This module isn't availiable at the moment. However, it's planned features are:
Utils:
...and anything that strikes my mind in the future. InstallationTo install the library, download the latest build and then execute the command If you want to build it from the source, download the latest release and then execute the following commands:
Note: Make sure, to have the latest version of the devkitPro-toolchain installed, before building the lib or any examples. DependenciesTo compile a m3diaLib-app, you need the following dependencies installed (install via devkitPro-pacman):
Use this command to automatically install all necessary dependencies:
Credits
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论