Posts

Showing posts with the label RTS

[Unity][RTS Project] Android compatibility - WIP version

Making a RTS playable on a mobile device play a lot with controller work. For this challenge, I used TouchScript , a free multi touch library for Unity, to deal with gesture logic without reinventing the wheel. Controls - One finger drag: multi selection rectangle - Two finger drag: move camera - Simple tap: select a selectable element - Double tap: cancel current selection - Long tap: order attack unit to move touched point - Pinch / Spread: zoom / unzoom Download - Android APK - WIP version

[Unity][RTS Project] RTS AI - WIP version

Image
Introduction During 2 months, my exercise was to make a RTS AI. The AI had to based on a decision making logic, so it analyzes world state, generating needs, to make objectives to finally have a plan to satisfy the given needs able to lead it to the victory. The main analysis are: - Economy (importance of gold recolt) - Military army composition (which unit type produce to defeat enemy units) - Military situation (which army is the stronger, attack decision importance , defense decision importance) How army is managed Army can be composed by 3 unit type, with a relation as the Rock-Paper-Scissors  principle. How building is managed Each team own some building slots, that are emplacements where Peons can build a new building. Screenshots Video Controls - Mouse scroll: zoom / unzoom - Mouse scroll click: move camera (drag) - ZSQD / arrow keys: move camera, shift to move faster - Left click: drag = multi selec...