Defold roadmap H1-2019

This roadmap outlines our plans for the first half of 2019. The list of planned new features and improvements are in no particular order and based on the previous roadmap for H2-2018.

ENGINE FEATURES

RESOURCE PROPERTIES

Resource properties will allow developers to define new property types referencing component resources such as atlases, sounds, models and many other things. This opens up a whole set of new possibilities for dynamic content creation. This task remains from the H2-2018 roadmap.

MULTI-TEXTURING

Multi-texturing will greatly simplify the way additional textures are fed into shaders for various effects that are currently very hard or impossible to do in Defold. This task remains from the H2-2018 roadmap.

MODULARIZATION

During H2-2018 we brought our system for native extensions into a stable state. During H1-2019 we will use this system to extract non-vital parts of the engine core into native extensions, thus giving users even better control of what to include in the engine core, as well as opening up for community collaboration and improvements. We will start by extracting the webview into a native extension and then move on to also extract push, iap, iac and the Facebook SDK.

AUDIO

Our ambition was to make major improvements to the audio support in Defold, but due to shifting priorities we need to reduce the scope of this work in H1-2019 and instead ship a number of smaller improvements.

BUG FIXES and IMPROVEMENTS

We will continue our ambition of delivering a stable and bug free editor and engine with the clear goal of no hard crashes. We will continue to work together with the community to identify, prioritize and fix bugs and crashes. At the end of 2018 we made several improvements to engine stability and weā€™ve managed to reduce ANRs on Android. During H2-2018 we fixed 188 reported engine bugs and 253 editor bugs, not to mention all of the new features and improvements. If youā€™ve found a bug or have a feature suggestion please get in touch!

PERFORMANCE

We constantly work to improve the performance of the Defold engine and editor. For the engine we focus on maintaining a low runtime memory footprint as well as a small binary size. During H2-2018 we upgraded Emscripten and released Webassembly support for HTML5 builds. During H1-2019 we will continue to improve engine performance in key areas that we identified during 2018. Examples of areas that we will improve are optimization of transform updates (which will help in games with a large number of game objects) and url resolution.

PLATFORM COMPLIANCE

During H1-2019 we will make several changes to comply with new platform requirements. On Android we will add 64-bit support before the August 2019 deadline. On iOS we will add iOS SDK 12 support before the March 2019 deadline. And finally we will also migrate from GCM to Firebase for Android push before the April 11 2019 deadline.

RENDERING & 3D

METAL and VULKAN

With the upcoming deprecation of OpenGL in iOS 12 and MacOS we started working on the new rendering pipeline in H2-2018. For iOS this will mean the transition to Metal, most likely via Vulkan and Molten-VK. We will continue with this work during H1-2019.

IMPROVED 3D SUPPORT

The Defold engine operates fully in 3D, although tools and APIs are geared towards 2D games. Our plan during H2-2018 was to make several larger improvements to the 3D support in the engine. We have decided to reduce the scope due to a shift in priorities and instead focus on a few smaller but still important improvements in H1-2019.

PLATFORMS & SERVICES

NEW PLATFORMS

Our current set of supported platforms have remained the same since the introduction of Amazon support almost three years ago and the more recent additions of sub-platforms such as Facebook Game Room and Facebook Instant Games. The stance which weā€™ve taken regarding the addition of new platforms has been to explore new platforms when thereā€™s been enough requests from our community. During H2-2018 we started reevaluating this decision and we made some steps in the direction of porting the engine to one of the current gen game consoles. We will continue with this work during H1-2019.

During H2-2018 we started working on support for running Defold iOS builds on the iOS simulator. Even though this wonā€™t replace testing on actual hardware it will be of help to developers with limited access to iOS devices. We will finish this work during Q1-2019.

GOOGLE PLAY GAME SERVICES

Google Play Game Services support has been a long requested feature of Defold. Support for this feature will be added as a native extension during H1-2019.

EDITOR & TOOLS

UNIFIED BUILD PIPELINE

While the migration to the new editor can be considered almost fully completed (some very minor differences still exist) we still only provide the old build pipeline (bob.jar) for users building from the command line. The new build pipeline in the new editor is better and faster than bob.jar thanks to some really great work from the editor team with optimizations and parallelization of tasks. We want command line builds to benefit from these improvements as well and will extract the build system into a standalone tool suitable for command line use. This task remains from the H2-2018 roadmap.

IMPROVED UNDO WORKFLOW

The current undo functionality in the Defold editor works on a global level, meaning that thereā€™s a single list of changes. When an undo is performed the most recent change in the history will be reverted, regardless of which editor tab that is open. This has caused some confusion in the community and because of this we have decided to revise the undo workflow. Work on this started late 2018 and will be finished during Q1-2019.

EDITOR EXTENSIONS

The ability to extend the editor with custom tools will be one of the next really major milestones for Defold during 2019. Editor extensions will open up many new possibilities for developers to improve their workflow and integrate custom tools to speed up content creation. This task remains from the H2-2018 roadmap.

35 Likes

Will that allow setting different textures for game objectā€™s models from the same factory? Can you please elaborate what is it.

6 Likes

Quite excited about this. Do you guys have any information if you will give a MVP/Alpha release similar that you did with NEs? What is the intended scope of the feature?

7 Likes

Also super excited about editor extensions. Hopefully weā€™ll not have to learn Clojure to to them :wink:

PS: Godotā€™s editor is fully scriptable in GDscript the same language used to codeā€¦hint hint

4 Likes

If the trade-off is ā€œYou have to learn Clojure but it is as extendable as for instance Mayaā€ then I say - sign me up any day.

5 Likes

Itā€™s an extension of the existing property system where you will be able to do things like:

go.property("my_atlas", resource.atlas("/atlas.atlas"))

function init(self)
    go.set("#sprite", "image", self.my_atlas)
end

In the properties view of the editor you would get a file browser button next to the ā€œMy Atlasā€ property. There will be a number of different resource types that you can set as a property: material, font, atlas, texture, tile source etc

7 Likes

We will start small and release an alpha. We would initially aim for a system where you can hook in your custom scripts for various kinds of triggers within the editor: on file change, on menu interaction, on right clicking an item in the asset view, pre/post build and bundle and so on. You will get some context specific input, run your code and produce some output. For certain hooks youā€™ll be able to generate menu items. It is very likely that the scripting would be done using Lua (with possibility to run other processes using os.execute()).

11 Likes

So setting the texture property at runtime (go.set() and properties list in factory.create()) would allow changing the texture resource (different resource path) and not just copy from the property texture into the current texture pixel data?

3 Likes

Great, really excited about a roadmap :smiley: few questions ofc: What platform did you mean? :smiley: Would it be Switch? Or PS4/XBO? :smiley: How the iOS simulator will work? Will it be a standalone program? Windows/Linux support? Will resource properties be applied to particlefxs too?

2 Likes

We have looked at two different consoles but we have not decided on anything. We would really like to add a console to our range of target platforms, but it all depends on our other priorities for the Defold product as a whole. No promises can be made so please consider it a great bonus if it will happen, do not count on it!

It will be a separate bundle target. @sven knows more.

What do you mean by this? For the iOS simulator?

Not sure. Iā€™d have to check that on Monday and get back to you.

2 Likes

Yes, you would be able to update the resource path of a sprite with a new texture, defined as a script property.

3 Likes

I will! :smiley:

Yes, as I was imagining it as a separated program, but it will come with editor then, right? I would like to thank you in advance for it, because it allows many people, like me, to try to test a project like on Appleā€™s devices before investing :wink: Very noble :smiley:

Love love love!!!

1 Like

No this is referring to the Xcode iOS simulator. You will still need an osx machine to use it.

This is still super useful for example to test your app at different resolution if you donā€™t have the physical device.

8 Likes

Is the possibility for localized UV space for sprites on the radar? Currently if I apply a gradient effect based on UV space it goes over the entire area of the atlas and not just the area of the sprite.

1 Like

@sven and @jhonny.goransson?

We would need to expose atlas size and Sprite texture size via vertex attributes due to batching. individual Atlas images can be rotated so i guess that information is needed aswell. Is this a common feature that people would find useful?

3 Likes

+1

1 Like

Yes, it would be extremely useful for all kinds of shading effects. There are a variety of common shader effects that are possible in Godot or Unity but not so easily in Defold. You should ask your technical artists about itā€¦

Consider too the problem of applying normal map to sprites to light them like with http://www.snakehillgames.com/spritelamp/ Iā€™ve tried hacky ways of doing it but nothing good enough especially with rotation of sprites.

1 Like

Alright, case and point :slight_smile: Not sure if we can allocate time for it soon, but thereā€™s an exploration friday next week so maybe Iā€™ll dig into it then!

2 Likes