Unity

Unity

Application and Data / Languages & Frameworks / Game Development
Needs advice
on
FlutterFlutter
and
flameflame

Hello everyone, I am a junior developer I got hands-on with a project where I should develop a mobile app containing multiple 2d games my initial UI stack was React Native for the UI and Unity for the games, the app is UI heavy so unity alone wasn't enough, but I recently found that I could develop everything with Flutter from the app to the game ... my question is, do you think it's a good idea or am I shooting myself in the foot?

READ MORE
13 upvotes·35.2K views
Replies (4)
Senior Software Architect at Seleon Gmbh·
Recommends
on
Flutter
flame

if you are already expert on technologies you mentioned and know exactly how to work with them you might see investition to flutter as burden. Otherwise: Just go on with flutter & flame and see if it fullfills your requirements and could fit to your exact requirements.

Generally, flutter is already solid, and usable in context you mentioned. There's also plenty of resources to test if it would be ok to you before investing a lot. Just pick a demo project, get it running, and see results.

https://flutter.dev/games

If you decide to invest you can take a working seed project generated to you

https://cli.vgv.dev/docs/templates/flame_game

Note: Flutter + Flame expect you to learn dart - it's easy, as the language is close to js / c / .. so: algol style syntax - it also expects you to understand reactive ui's - well: concept is insipired by React, so no suprises here, except that the whole concept needs some discipline.

Still to mention: For 3d games you still should see unity as solid option. And, as also with react native, you would find integration to flutter possible and supported by 3rd parties. Don't expect this to work always out of the box as a dream, but see it as a doable thing if you need to step to this road.

https://pub.dev/packages/flutter_unity_widget

As an inspiration I give you idea what kind of extensions Flutter offers, if you decide to invest on it.. This is more fun thing, but as a junior developer learning stuff and doing things out of interest this might be something to you.

https://www.youtube.com/watch?v=0CCVB31feO0

READ MORE
13 upvotes·2 comments·17.3K views
Abdulatif Abdella Mohammed
Abdulatif Abdella Mohammed
·
April 20th 2024 at 6:26PM

Good Chance for business

·
Reply
KS ABBAS
KS ABBAS
·
August 25th 2024 at 11:17AM

what is going on

·
Reply
Application Developer at UW Foundation·
Recommends
on
Flutter

Disclaimer: never heard of flame before

Without knowing more details about what kind of gameplay elements you're looking to feature in your application, it's a bit tricky to offer a transparent answer. I would feel more comfortable making my decision once I flesh out what I need the UI to do, (which will depend on how much you have drafted out)

If you go down the flutter route, you'll need to be prepared to learn about flutter's state management system more found here. On top of that, if you're used to working with tree diagrams and archiectures, you might feel quite at home as you go about building the UI. If you're familiar with design patterns, the typical AppState that's offered is not the same as the standard state design. All in all, It's a very flexible framework, so it can be easy to get distracted seeing all the different avenues you can take to the myriad of problems you'll come to face (in this case, building the foundation and/or an overhaul of your game). If you do end up going with Flutter, I would recommend sticking with Provider, Bloc, or standard AppState to get the hang of things.

Overall, I think I can offer one more damning question to ask yourself that I think might help establish a sense of direction:

How much of the gameplay happens in the UI? - E.g, incremental games like cookie clicker take place "in the UI" itself If there's a fair amount of UI changes and moving parts to what you have planned, I think flutter's a pretty good choice. Just keep in mind that the more complex the project, the less you may be able to lean on flutter's innate speed and functionality.

  • If you for whatever reason develop during periods of time in which you lack internet connectivity, I would stay away from flutter because you need to be able to run dart pub get whenever you want to compile your project (if memory serves)
READ MORE
6 upvotes·1.1K views
View all (4)
Needs advice
on
React NativeReact NativeUnityUnity
and
ViroReactViroReact

Need help with suggestions to use either Unity or ViroReact. I need to develop an AR mobile application that is responsive and supports 3d animation. At the same time, I need to create a mini game and use a geofence to make my application fully function.

READ MORE
3 upvotes·7.1K views
Replies (1)

Hi Wafiqah, echo3D could help you with this. Unity is a dynamic game engine with a lot of flexibility and echo3D is a great use for the 3D backend. echo3D can store your assets on the cloud and make your Unity game small. It supports animation and has a geography feature to it as well.

Unity plugin: https://docs.echo3d.com/web-console/manage-pages/content-page/holograms-and-targets Location target feature: https://docs.echo3d.com/web-console/manage-pages/content-page/holograms-and-targets

READ MORE
2 upvotes·94 views
Needs advice
on
BabylonJSBabylonJSthree.jsthree.js
and
UnityUnity

We already have an existing 3d interactive application for windows, mac, and iOS devices and have planned to move that app to the web for high availability to different types of users. I have been searching for different options for it. Our existing application is made in Unity so we prefer to work on unity webgl but it also has its drawbacks. Other than that we are also thinking to change the tech stack to three.js or BabylonJS due to their high compatibility with the web ecosystem. I want to know which engine/library/framework we should use for the development of our 3d web application. Also with unity webgl, we want to develop all UI parts in web technologies only and will use the unity3d for 3d part only.

Points that are very important to consider - 1. Memory optimization and allocation 2. Quality 3. Shaders 4. Materials 5. Lighting 6. Mesh editing, mesh creation at runtime 7. Ar 8. Vr 10. Support on different browsers including mobile browsers 11. Physics(gravity, collision, cloth simulation, etc.) 12. Initial load time 13. Speed and performance 14. Max vertices count. What happens when we load models exceeding max vertex count? 15. Development time 16. Learning curve (Unity3d we already working on) 17. Ease of use. What artists can do using any platform eg. in unity3d, artists can edit materials, set up lighting etc? 18. Future scope 19. Scalability 20. Integration with web ecosystem

READ MORE
7 upvotes·210.5K views
Replies (1)

Hi there, if you're still seeking a solution, you can look into echo3D. This would help mostly with optimization and scaling as it's a cloud backend for 3D assets. It integrates with Unity by way of query or SDK and all your assets are called at runtime which helps a lot of course. None of the other features of the game would be affected by storing it on the cloud. If you want to learn more feel free to check out the documentation: https://docs.echo3d.com/

READ MORE
2 upvotes·200 views
Needs advice
on
JavaScriptJavaScriptreact-isreact-is
and
Vue.jsVue.js

I want to create an application in Unity in which all my UI parts will be created using web technologies (Html, CSS, JavaScript, React, etc). This Means the whole UI will be handled in web technologies and the 3D rendering (shaders, lighting, materials, etc everything) will be handled in unity3d.

I have the following questions - 1. Is this possible?

  1. If yes, then what tools/frameworks/technologies should we use? Please share some useful links.

  2. Should we use react or vue for UI or the basic Html, CSS, JavaScript with a Bootstrap theme?

READ MORE
6 upvotes·27.4K views
Replies (2)

I don't recommend that you use Vue but that is just my biased opinion for react against vue. If you want a better user experience, use Next.js server side rendering. You will need to use Web Assembly to compile your unity 3d game on the web. DO NOT use html, css and js for your game. I recommend you use a tailwind UI kit, Chakra UI or material UI.

READ MORE
8 upvotes·16.1K views
Frontend Developer ·
Recommends
on
JavaScript

It's possible by using the webview plugin.

I wouldn't recommend you to use Vue.js nor React.js as it would be too overblown if what you want to do is a videogame, if that's not the case then use React native for mobiles or NWjs/Electron with whatever frontend framework (maybe give it a try with Vue?) but do not use Unity 3D.

I imagine you know how to do frontend by the questions you asked, so for videogames vanilla CSS is the best. And if you aren't handy with CSS you can always use Bootstrap or Tailwind.

READ MORE
GitHub - gree/unity-webview (github.com)
6 upvotes·1 comment·15.2K views
Paul Whittemore
Paul Whittemore
·
December 6th 2021 at 10:48PM

It sounds possible with a webview applied on top of the Unity display, and I am a Vue fan, although React would be lighter for a case like this, still I agree with Luan that if you just want to render buttons etc, then you probably should skip the framework as that would just add weight to the project. You could probably have static HTML "pages" as overlays without any components, just some JS for interaction and CSS for styling. There are several webview plugins that provide HTML on top of Unity (e.g. https://uniwebview.com/ ) and also some that provide webviews within Unity (e.g. https://developer.vuplex.com/webview/overview ) but it sounds like you're looking for the ability to overlay UI on top of the Unity render (so the former not the latter). Good luck, this sounds like an interesting project.

·
Reply
Needs advice
on
ElectronElectronUnityUnity
and
WebGLWebGL

We want to create a 3D web and desktop(Windows and macOS) application with a lot of functionalities. This is a 3D furniture customization application in which we give options to add, delete, scale, move, rotate objects. Something like a floor planner. We are also going to add AR and VR.

I am thinking about using Electron or Unity. Please recommend what should I choose for this purpose. Please consider that we have to develop for web and desktop (windows and mac) all platforms.

READ MORE
10 upvotes·196.1K views
Replies (1)
Recommends
on
Unity
WebAssembly

Take Unity for development as it is a full engine, with better tools to develop UI, use 3D assets, develop the integration with the API endpoints and deployment not only for Web (w/ WebAssembly) and Desktop, but also Mobile platforms (Android and iOS)

READ MORE
3 upvotes·434 views
Senior Embedded Engineer at GreyOrange·
Needs advice
on
FlutterFlutterReact NativeReact Native
and
UnityUnity

Hi Friends, I am new to #MobileAppDevelopment and I need to make a #CrossPlatformMobileApp. I want guidance regarding which tools should I use to build a mobile app. Main requirements: integrate Unity game engine and provide a platform for social chats.

Past experience - C++ and Python

I have tagged Flutter and React Native but if anything better than both please suggest them.

READ MORE
5 upvotes·499.3K views
Replies (3)
Product Manager at AutoVRse·
Recommends
on
Unity

Hey, If you are using Unity you are going to have to do the end to end development on Unity, you can directly build for android and iOS on Unity. I dont see how Flutter or React Native fit into this equation. Unity is a standalone engine. As for Social Chats, you could use Firebase or your own API and integrate that in Unity in C#

READ MORE
10 upvotes·453.6K views
Recommends
on
Unity

I agree with Sahil. If Unity is a requirement, best way is to use just that to create your app.

If you really want, it should be possible to use Flutter and Unity together. Using Flutter Unity Widget. Although I wouldn't recommend it just yet. It's too early days.

If you do end up using it, I would be very interested in reading about your experiences.

READ MORE
6 upvotes·1 comment·452.8K views
Pierre Canthelou
Pierre Canthelou
·
February 15th 2021 at 8:14AM

Ru_Co and Sahil are totally right and nothing else to be said. But with your past experience, if you had to choose between RN and Flutter, who should definitely learn Dart and Flutter. (I insist this advice has nothing to do with Unity and your current project...)

·
Reply
View all (3)