All Projects → AndyQ → MetalCity

AndyQ / MetalCity

Licence: other
MetalCity - a procedural night city landscape generator

Programming Languages

swift
15916 projects
Metal
113 projects

Projects that are alternatives of or similar to MetalCity

city-tour
A procedurally generated city built with WebGL and three.js
Stars: ✭ 57 (+96.55%)
Mutual labels:  procedural-generation, city
GuneyOzsanOutThereMusicVideo
Procedurally generated, real-time, demoscene style, open source music video made with Unity 3D for Out There by Guney Ozsan.
Stars: ✭ 26 (-10.34%)
Mutual labels:  procedural-generation
GeoLite2-City
GeoLite2-City.mmdb.gz CDN files based on Free Open Source CDN jsDelivr!
Stars: ✭ 170 (+486.21%)
Mutual labels:  city
cityPicker
jQuery 城市模拟下拉插件
Stars: ✭ 26 (-10.34%)
Mutual labels:  city
Texture-KR-Wiki
Texture (AsyncDisplayKit) Wiki - 한국어
Stars: ✭ 42 (+44.83%)
Mutual labels:  texture
CityScoreToolkit
Open-source version of Boston's CityScore performance dashboard
Stars: ✭ 42 (+44.83%)
Mutual labels:  city
Koi
Koi Farm, a koi breeding game
Stars: ✭ 343 (+1082.76%)
Mutual labels:  procedural-generation
wfc
Wave Function Collapse library in C, plus a command-line tool
Stars: ✭ 317 (+993.1%)
Mutual labels:  procedural-generation
fly
Flight simulator in OpenGL
Stars: ✭ 76 (+162.07%)
Mutual labels:  procedural-generation
administrative-divisions-of-China-on-Python
中华人民共和国行政区划爬虫,分为省级、地级、县级、乡级、村级,最多五级连动,可通过本项目自行爬取数据也可使用本项目在线接口直接调用。
Stars: ✭ 91 (+213.79%)
Mutual labels:  city
IntroToComputerGraphics-CityGenerator
A Procedural City Generator built in Three.js
Stars: ✭ 34 (+17.24%)
Mutual labels:  procedural-generation
multiclass-semantic-segmentation
Experiments with UNET/FPN models and cityscapes/kitti datasets [Pytorch]
Stars: ✭ 96 (+231.03%)
Mutual labels:  cityscapes
opendata-milano
Open Data distributed by the city of Milan in an easy to use format (GeoJSON) and some experiments
Stars: ✭ 17 (-41.38%)
Mutual labels:  city
ObHack
A random map generator for Doom engine games
Stars: ✭ 29 (+0%)
Mutual labels:  procedural-generation
Explosion
💥 A modern cross-platform game engine (WIP)
Stars: ✭ 102 (+251.72%)
Mutual labels:  metal
Blacksmith
Blacksmith is a tool for viewing, extracting, and converting textures, 3D models, and sounds from Assassin's Creed: Odyssey/Origins/Valhalla and Steep.
Stars: ✭ 104 (+258.62%)
Mutual labels:  texture
waveFunctionCollapse
C implementation of Maxim Gumin's wave function algorithm done as a part of our C project at Imperial
Stars: ✭ 26 (-10.34%)
Mutual labels:  procedural-generation
threejs-texture-tool
A tool who build, show and update canvas textures who can be used in a three.js project.
Stars: ✭ 22 (-24.14%)
Mutual labels:  texture
Sceelix
A procedural generation software for automating 2D/3D content creation.
Stars: ✭ 98 (+237.93%)
Mutual labels:  procedural-generation
procedural
Procedural generation as a service
Stars: ✭ 81 (+179.31%)
Mutual labels:  procedural-generation

MetalCity

MetalCity is night city scape full procedurally generated, for both iOS and macOS. Its fully written in Swift (4.2) and uses Metal for the rendering engine.

It features:

  • Procedurally generated road and - building plots
  • 4 different styles of buildings (simple, tower, blocky and modern)
  • Procedurally generated textures
  • Traffic
  • Static and Autocam modes
  • Fireworks

Its heavily based off Shamus Young's PixelCity - http://www.shamusyoung.com/twentysidedtale/?p=2940

The fireworks are based on Karl Pickett's Fireworks Graphics Demo (https://github.com/kjpgit/fireworks) - updated for Swift 4.2 and changes in Metal.

The menu was done by Simeon Saëns of TwoLivesLeft - https://github.com/TwoLivesLeft/Menu

This was written as a way for me to get more familiar with Metal and as its my second Metal app, I'm sure that there are many things I'm doing wrong (feedback and comments welcomed!).

iOS Version

Important note:

The app will compile and run on the Simulator BUT the city won't render as Metal currently isn't supported on the iOS Simulator yet.

Controls

Tap on screen to toggle the control menu
From here you can:

  • Toggle the autocam on/off
  • Change to the next autocam mode (if autocam is running)
  • Regenerate the city
  • Regenerate the textures (usually also requires regenerating the city afterwards)

If Autocam is running, the camera switches between different camera angles.

If Autocam is off then you can manually move the camera using:

  • 1 finger:

    • Left of screen - drag up and down will rotate camera up and down
    • Right of screen - drag up and down will move camera up and down
    • Center of screen - drag left and right will rotate camera left and right
  • 2 fingers:

    • Drag up and down will move camera forward and backward
    • Drag left and right will rotate camera left and right
  • 3 fingers:

    • Drag up and down will move camera up and down
    • Drag left and right will strafe camera left and right

macOS Version

Controls

Keyboard

  • c - toggles Autocam on/off
  • [space] - change to next autocam mode
  • r - rebuild city
  • t - Regenerate the textures (usually also requires regenerating the city afterwards)

Mouse

  • Click and drag to look around
  • Hold Command and click and drag up and down to rotate camera up and down
  • Hold Option and click and drag up and down to move camera up and down
  • Hold Option and click and drag left and right to strafe camera up and down

License

The MIT License (MIT) Copyright (c) 2018 Andy Qua

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].