Code Monkey home page Code Monkey logo

titan's People

Contributors

golle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

titan's Issues

Create a GUI renderer

Create a Immediate mode GUI renderer, this should contain a queue where all items are stored and batched for rendering.
Even if it's "immediate" we should cache everything before submitting it for rendering so we can have multiple systems rendering these UIs.

gui.Button|Text|Etc -> Pushed on a frame-allocated arena -> sorted and batched at the end of the frame -> submitted to the GPU.

Add a button

The button should be extremely simple to implement, and the size should be defined either by the length of the text on the button or specified size.
The return value of the button is either a bool or a button state.

if(_gui.Button("Click me"))
{
    ... do the stuff
}

List all created entities

List the entities in the world
Keep it simple, just a regular list no tree structure or anything fancy

Crash when closing the App

Fails to read memory of allocated resources when the device is disposed.
it doens't happen every time, so my guess is that something is deallocated in the wrong order

Render to Texture

The sprite renderer will render directly to the backbuffer today. This was a simple solution to get it up and running without a complex render architecture.
It's time to separate this from the backbuffer and create a full pipeline. To support this we must be able to render to textures/framebuffers and have a fullscreen shader.

Create project

Create a Titan game project from the Asset editor

  • Create the folders needed
  • Define the properties needed for a .titan project file
  • Generate a sln and csproj file with everything linked and ready to use

Look at different types of layouts

If we look at frameworks like WPF and Avalonia they support different layouts like Grid, StackLayout, etc.
They are a bit more complex than what we need, but we should have some automagic support for it.

Add support for BC7 texture compression

The current implementation will convert all textures to 32bpp, the DXGI format R8G8B8A8_UNORM.
This will scale up all textures and they'll use more memory.

Create a Bundle system for preloading assets

  • Add a json file that describes the bundle with names and files
  • Add a compilation step to the AssetsConverter that will read this file and pack them into a big binary and create a metadata file with file offsets and names

GUI Scaling

How should the GUI scale when the Window is resized?

Possible options

  • Scale everything and keep the "viewport" size intact. making the buttons, text etc smaller.
  • Resize all elements so they stay the same size but the layout changes.
  • Something else? mix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.