Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.
/ JustConveyors Public archive

Mindustry and Factorio-style conveyors/transport system using SDL, OpenGL, and ImGUI on C#

License

Notifications You must be signed in to change notification settings

memmaptensor/JustConveyors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is no longer being actively developed or maintained. See the stated reasons below

JustConveyors (WIP)

Mindustry and Factorio-style conveyors/transport system using SDL, OpenGL, and ImGUI on C#

Basic rendering workflow

  • ImGUI renders to its buffer and writes/draws to the screen
  • Surfaces of individual components are Blit onto the main surface
  • The pixels data in the main surface is used to create an OpenGL texture
  • A seperate OpenGL shader program is attached and the OpenGL texture is loaded into the shader, which is mapped onto a quad and drawn on the screen

This rendering workflow/pipeline isn't particularly fast or memory-efficient-- quite the contrary. It's the only current viable option for mixing SDL_Renderer with ImGUI's OpenGL-bound rendering in .NET as there are no C# bindings for imgui_impl_sdl. It's highly recommended to instead generate the required bindings to use imgui_impl_sdl for any real-world usages.

Bindings (local builds/copied from source):

Native dependencies:

Early versions:

Testing screenshot

Videos

Conveyor loops

loops.mp4

Drawing guides

guides.mp4

Zooming

zooming.mp4

Pause&Play

pause.and.play.mp4

TODO:

  • Add multithreading
  • Add logic for all blocks
  • Add save strings

This project is no longer being actively developed or maintained for the following reasons:

  • I do not have the time and resources to further continue the development of JustConveyors for the being due to school and life in general
  • The project is riddled with performance issues; until multithreading is implemented and the logic optimized, I foresee no active development as the final product will be slow and unusable

About

Mindustry and Factorio-style conveyors/transport system using SDL, OpenGL, and ImGUI on C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published