最新文章
Cocos2d-x游戏开发实例详解7:对象释放时机
03-25 13:59
Cocos2d-x游戏开发实例详解6:自动释放池
03-25 13:55
Cocos2d-x游戏开发实例详解5:神奇的自动释放
03-25 13:49
Cocos2d-x游戏开发实例详解4:游戏主循环
03-25 13:44
Cocos2d-x游戏开发实例详解3:无限滚动地图
03-25 13:37
Cocos2d-x游戏开发实例详解2:开始菜单续
03-25 13:32
Urban Construction Pack - Released!
Introduction
The Urban Construction Pack is now available, and there's a 30% discount during the Madness Sale! The current version is 1.5, which brings several significant improvements.
Version 1.5 Changes
- New lighting has been added to the demo scenes.
- Normal and specular passes are now included.
- The shaders have been completely rewritten, resulting in a substantial performance increase on mobile devices. You can find the full changelist here.
The Importance of Balance in Urban Space Creation
When creating a large urban space for a game, you'll inevitably face the challenge of balancing performance, art quality, and variety. It's crucial to address this issue from the start because any imbalance can lead to significant costs as the production progresses. You might end up reworking large parts of the art or discarding it altogether if it's too costly to render or of low quality. This challenge becomes even more complex when developing for mobile devices. That's where the Urban Construction Kit comes in.
Art and Design Considerations
Architectural Styles
- There are 5 architectural styles, each with 3 - 5 premade buildings.
- Each style also includes a large set of modular "Wings," "Caps," and "Floors." Most of your time will be spent working with these modular elements. You can find more details about them in the documentation.
Modular Wall Sets
There are 4 modular wall sets, including long, short, and end caps. They range from free - standing walls to lower - level support walls. You can use them to add visual variety or place them at the base of any building for lower - level access.
Sidewalks
There are 5 different sidewalk types. Two of them include curb and drainage, which can be lined up next to the roads.
Modular Road System
The modular road system ranges from single - lane roads to two - lane busy streets. It comes with a custom shader for road lines. There are short turns, long turns, T and + intersection shapes that can be linked to other parts of the road network.
Modular Elevated Highway System
This system includes an exit ramp, on - ramp, long and short turns, and support beams.
Traffic Light Event System
You can place traffic lights near intersections and use the provided script to make them change naturally or blink yellow.
Custom Highway Signs
These signs are for routes, exits, and streets, all with the correct palette and font.
Custom - made Emissive and Non - Emissive Signs
Place these on your buildings for visual variety. Unity Pro users can take advantage of the emissive lighting cast from the illuminated signs.
Traffic Signs
There are various traffic signs such as stop, do not enter, no right turn, and fallout shelter signs.
Other Elements
The pack also includes poles, stairways, overhangs, doors, light fixtures, planters, and more. Everything is designed to snap seamlessly on a grid.
Performance Considerations
Textures and Materials
- All buildings, doors, walls, and many sidewalks use a single texture and a single material, sourced at 4096x4096. Most mobile hardware supports 2048x2048, and the visuals look excellent at this resolution.
- All signs and street props use a single texture and single material, sourced at 1024x1024.
Draw Calls
As a result of the optimized texture and material usage, for a complex scene with hundreds of draw calls, Unity Pro users will notice a reduction to 30 - 40 draw calls. Unity Free users can also benefit from the Custom Mesh Combine EditorScript, which supports various gameobject settings, including generating lightmap uvs on combine, in - editor.
Added Bonuses
- There is 1 photoreal 2048x2048 skybox optimized for mobile devices to 1 draw call.
- You get 2 Free Quantum MetaClouds (you can find the project link in the relevant documentation).
- The pack comes with detailed documentation and full support.
Links
- [Webplayer and Android Demos Link]
- [Online Documentation Link]
- [Asset Store Link]
- [YouTube Tutorial Series]