• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

deadcast2/UltraEd: A WIP level editor/game engine for the Nintendo 64.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

deadcast2/UltraEd

开源软件地址:

https://github.com/deadcast2/UltraEd

开源编程语言:

C 78.3%

开源软件介绍:

A WIP level editor/game engine for the Nintendo 64

Codacy Badge

Setup

Due to the project using Git LFS the zipped version from GitHub won't contain all necessary files. Clone the project using Git and then run git lfs pull to hydrate all of the pointer files. After that make sure that the Windows 10 SDK is installed and then open the editor solution file in Visual Studio 2022. Set the solution to build as a x64 application and then all should build fine. Make sure to also install OpenAL so you can test your rom out in the cen64 emulator included. I've included it in Editor/Vendor. Also if you so happen to have the excellent 64drive you can test on that too.

Notes

UltraEd isn't finished and is not a fully polished tool yet. It has enough functionality to throw a few models in a scene, texture them, script them and have some fun. I have many ideas and things I'm excited to implement in the future. I have a full-time job and other life commitments so I work on this tool in my free time. I love the N64! :0)

Quick Start

UltraEd is now project based so a new project must be created before creating a scene with assets. Click File > New Project. Enter a name and select where the project should live on your drive. After your project folder has been created you can add assets to your project by dropping them in the newly created folder. Everything placed in the folder is accessible from the editor and is tracked. So when a model or texture is changed the scene will auto-update with the changes.

Programming API

The feature set is currently very small but it will expand over time. Here is the current set of methods available:

  1. Actor *FindActorByName(const char *name) Pass the name of an actor and the first matching one will be returned.

  2. void SetActiveCamera(Actor *camera) Pass a camera actor to become the new focused camera.

  3. Actor *Clone(Actor *actor) Allows "copying" of an actor.

  4. void Destroy(Actor *actor) Marks the actors to be removed along with any children at the end of the current frame.

Each actor includes a default script that contains empty function implementations. Here's the template:

void $Start(Actor *self)
{
    // Called upon startup
}

void $Update(Actor *self)
{
    // Called once every frame
}

void $Input(Actor *self, NUContData gamepads[4])
{
    // Called when any input from the controller is detected
}

void $Collide(Actor *self, Actor *other)
{
    // Called when a collision is detected only if both actors have a collider added.
}

void $Destroy(Actor *self)
{
    // Called when actor is being destroyed.
}

The dollar signs are necessary to allow correct namespacing of all defined functions.

Dependencies

The included Assimp library was compiled from source using version 5.0.1 and was built as a static library with the option BUILD_SHARED_LIBS set to false. https://github.com/assimp/assimp/releases/tag/v5.0.1

Donations

If you would like... you can donate to UltraEd's development! ^_^

bc1qxev0tlhhxuug6f4qhe0xh0u5u7su6hqdjsp30y

paypal

License

UltraEd is MIT licensed and was previously GPL v3. The decision to change was due to no longer using Qt for the GUI. ImGui was chosen instead due to its immediate-mode style rendering and more flexible license.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap