Comment Dofus Unity POURRAIT être fluide
Summary
TLDRIn this video, the creator addresses criticism about their approach to game development, particularly concerning inventory optimization in 'Dofus.' They demonstrate a realistic inventory system with 10,000 unique items, explaining technical solutions like 'lazy scrolling' to manage large datasets efficiently. The video also showcases server-client interactions, emphasizing the importance of modern development practices for better performance, even under real-world internet conditions.
Takeaways
- 📹 The creator felt compelled to make a second video to address criticism and misunderstandings about their work.
- 🎨 They clarified that they are critiquing optimization issues in a game development context, not the overall game design.
- 🛠️ The video includes a demonstration of a more realistic scenario to showcase the efficiency of their approach to object handling in game development.
- 🌟 The creator has generated low-definition sprites for thousands of different objects to avoid manual downloading and to illustrate the point about optimization.
- 📈 They explained the concept of 'less scrolling', a technique to create the illusion of a large number of items being scrolled through while only instantiating a manageable amount.
- 💡 The video demonstrates how to efficiently handle a large inventory of items in a game, such as in an auction house scenario.
- 🔍 The creator implemented a system to filter and display the cheapest items in each category, simulating a real-time auction house experience.
- 📊 They showed how to handle a large number of simultaneous sales and maintain performance by keeping the data in RAM.
- 🌐 The video includes a live demonstration of making HTTP requests to a server, filtering items, and updating the inventory in real-time.
- 🛑 The creator emphasized the importance of server optimization, suggesting that Dofus's servers could benefit from modern development practices.
- 🔧 The script concludes with a call for server-side improvements rather than just client-side updates, to ensure a smooth and efficient gaming experience.
Q & A
What was the main reason for creating a second video?
-The main reason for creating a second video was to clarify and demonstrate more realistically the points made in response to debates and criticisms in the comments and on the Kama post, where people claimed that the creator's actions were nonsensical and that they didn't understand the subject matter.
What is the purpose of creating numerous sprites for objects?
-The purpose of creating numerous sprites for objects is to have a variety of images for an inventory system without having to manually download each object, allowing for the display of 10,000 different objects with varying quantities.
What technique is used to make the inventory scrollable with a large number of items?
-The technique used to make the inventory scrollable with a large number of items is called 'less scrolling', where only the number of items needed to fill the screen are instantiated, and as the user scrolls, the first items are removed and new ones are added, creating the illusion of a large, scrollable list.
How does the 'less scrolling' technique work when scrolling through items?
-The 'less scrolling' technique works by updating the displayed items as the user scrolls, without actually instantiating new objects. It renames the existing objects to give the impression of scrolling through a large number of items, while in reality, a limited number of objects are being reused.
What is the significance of filtering the cheapest items for each category in the inventory system?
-Filtering the cheapest items for each category is significant because it allows the system to quickly select and display the most affordable options to the user, enhancing the user experience by providing relevant and cost-effective choices.
How does the system handle a large number of sales transactions simultaneously?
-The system handles a large number of sales transactions simultaneously by keeping the objects in RAM and filtering them as needed. This approach allows for quick access and manipulation of the data, even with a large volume of transactions.
What is the purpose of making a HTTP request to filter items based on user input?
-The purpose of making an HTTP request to filter items based on user input is to dynamically retrieve and display items that match the user's criteria from the server, providing a personalized and responsive user experience.
What is the latency experienced when making a request to a real server and how does it affect the system?
-The latency experienced when making a request to a real server is 22 milliseconds, which is considered good, especially considering the public Wi-Fi connection. This latency affects the system by adding a delay to the response time, but it remains acceptable for the operation of the inventory system.
How does the system ensure a smooth scrolling experience for the user?
-The system ensures a smooth scrolling experience by instantiating only a small number of objects and updating their properties as the user scrolls, rather than creating and destroying objects, which makes the scrolling appear fluid and responsive.
What is the main criticism of the Dofus server code in the context of the video?
-The main criticism of the Dofus server code is that it has not been updated with modern development methods and remains outdated, similar to a server from the Flash era, which could be improved by adopting more current practices.
What is the goal of the video in terms of technical demonstration?
-The goal of the video is to demonstrate the technical aspects of creating a responsive and efficient inventory system, showcasing the capabilities of handling a large number of objects and transactions with minimal latency and resource usage.
Outlines
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowMindmap
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowKeywords
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowHighlights
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowTranscripts
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowBrowse More Related Video
Comment Dofus Unity aurait DU être codé
Bí Quyết Tối Ưu Website Chuyên Nghiệp - Load Web với tốc độ tên lửa!
When Python is too Slow for my Steam Game
Game Dev Tutorials Are LYING To You
What Retailers Like Amazon Do With Unsold Inventory
Managing Your Inventory with ShipHero's Warehouse Management Software
5.0 / 5 (0 votes)