fireblade-engine / ecs-demo Goto Github PK
View Code? Open in Web Editor NEWMinimal demo App for the Fireblade Entity-Component System (ECS)
License: MIT License
Minimal demo App for the Fireblade Entity-Component System (ECS)
License: MIT License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/ci-linux.yml
actions/cache v3
actions/cache v3
.github/workflows/ci-macos.yml
actions/checkout v3.5.2
actions/cache v3
actions/cache v3
actions/upload-artifact v3.1.2
.github/workflows/markdown-link-check.yml
Package.swift
ctreffs/SwiftSDL2 from: "1.3.2"
fireblade-engine/ecs from: "0.17.5"
fireblade-engine/math from: "0.13.0"
I'm newish to both swift and SDL2 so could be a dumb thing. When I run Particles for the second time the window closes immediately. Digging into it, I basically see a queued-up ESC in the events list even though hasn't been pressed for THIS run -- but one was pressed to end the previous run.
I'm unsure how to flush the event queue, so I've just disabled it for now and rely on CTRL-C which is fine for me messing around. But it seems to imply something fishy going on under the hood.
I'm running Ubuntu via WSLg on Windows 11 so there are additional complexities going on here.
Happy to poke around more with some guidance. Thanks!
Just a heads up for anybody wondering why the canvas is blank/black on app start on Mac OS Mojave; it's basically a bug in the underlying SDL2 and is being tracked here: https://bugzilla.libsdl.org/show_bug.cgi?id=4272
system info:
Building generates the following error error: 'ecs-demo': product 'SDL2' required by package 'ecs-demo' target 'SDLKit' not found.
even though sdl2-2.30.1-1
is present on the system.
OS Manjaro Linux 23.1.3
Swift v5.9.2
❯ swift run Asteroids
Building for debugging...
/home/arckex/ecs-demo/Sources/Asteroids/EntityCreator.swift:94:14: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
.addInstance(Display(renderable: SpaceshipView()))
Particles runs and looks great! I can get about 1500 particles on WSLg and stay at 60fps. I think that's pretty awesome. Thanks for the code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.