Search found 11 matches

by ryanzec
Sat May 12, 2018 2:09 am
Forum: Libraries and Tools
Topic: Concord - A feature-complete ECS
Replies: 6
Views: 2546

Re: Concord - A feature-complete ECS

Well I was able to convert my tiny.ecs prototype to this relatively easily (it did take a bit more code than when converting from no ECS to tiny.ecs as there is a bit more "boilerplate" code). Speed tests seemed comparable with tiny.ecs running at ~48FPS and Concord running at ~45FPS when I have 15K...
by ryanzec
Sat May 12, 2018 1:46 am
Forum: Libraries and Tools
Topic: [Library] tiny-ecs - Fast Simple Entity Component System
Replies: 49
Views: 18143

Re: [Library] tiny-ecs - Fast Simple Entity Component System

Another that I have noticed is that, in the examples `world:update()` is called in `love.update` and `love.draw` doesn't that means all the logic for the entities is being executed twice which seem highly inefficient. Am I understanding this correct or am I missing something?
by ryanzec
Fri May 11, 2018 11:45 pm
Forum: Libraries and Tools
Topic: Concord - A feature-complete ECS
Replies: 6
Views: 2546

Re: Concord - A feature-complete ECS

So I am currently exploring different ECS options for a game I am prototype with Love2D / Lua so many you can help me here. My main concern, as with almost everything with game development, is performance overhead. For my game, I am going to be rendering a lot of sprites (20k - 30K) however probably...
by ryanzec
Fri May 11, 2018 10:01 pm
Forum: Libraries and Tools
Topic: [Library] tiny-ecs - Fast Simple Entity Component System
Replies: 49
Views: 18143

Re: [Library] tiny-ecs - Fast Simple Entity Component System

@bakpakin So I was looking into ECS for a game I am trying to prototype and was wondering how performant tiny.ecs would be for my game. For my game, I am going to be rendering a lot of sprites (20k - 30K) however probably about 90 - 95%% of those can be grouped into 2-3 sprite batches and don't need...
by ryanzec
Thu May 10, 2018 1:29 am
Forum: Support and Development
Topic: Any Recommended ECS Tutorials
Replies: 1
Views: 418

Any Recommended ECS Tutorials

So something that I am interested in learning more about is using the Entity Component System pattern for structuring my code and was wondering if anyone had any recommendations on tutorials on this subject? Any kind of tutorial would be good but ideally I prefer video as I generally learn better th...
by ryanzec
Wed May 09, 2018 10:12 pm
Forum: Support and Development
Topic: Trying to understand why text rendering differently with a background in a canvas
Replies: 6
Views: 809

Re: Trying to understand why text rendering differently with a background in a canvas

Actually, if I don't clear the viewport canvas, then the old text never goes away, which make sense, which means I am left with to thin text. Also when I try to use just one canvas, I get 2 issues: Screen Shot 2018-05-09 at 6.08.59 PM.png 1. when it is scrolled, it over with the content above (not s...
by ryanzec
Wed May 09, 2018 9:59 pm
Forum: Support and Development
Topic: Trying to understand why text rendering differently with a background in a canvas
Replies: 6
Views: 809

Re: Trying to understand why text rendering differently a background in a canvas

At first glance, you're not clearing the canvases, which is probably your issue; if you don't do that each frame, you'll accumulate the text color near the edges of the text where the font rasterizer anti-aliases the text needed to be drawn. 0.1+0.1+0.1+ ... will tend towards infinity, or if clampe...
by ryanzec
Wed May 09, 2018 8:35 pm
Forum: Support and Development
Topic: Trying to understand why text rendering differently with a background in a canvas
Replies: 6
Views: 809

Trying to understand why text rendering differently with a background in a canvas

So I have this code (bear in mind this is just something I threw together as I am evaluating Love2D as an alternative to Unity3d for my current project so the structure is probably not great): local inventoryCanvasVertices = {} local inventoryScreenVertices = {} local inventoryWidth = 340 local cont...
by ryanzec
Sat May 05, 2018 10:03 pm
Forum: General
Topic: Is Love2d Suitable For My Project?
Replies: 9
Views: 1587

Re: Is Love2d Suitable For My Project?

However... Render / Simulate Large Chunk Of World At A Time: I want to be able to display and simulate a large chunk of the world at any given time, ideally I would want to shoot for what CDDA does with i think is 132 x 132 (17424 tiles) which could be 100s / 1000s of enemies and other entities tha...
by ryanzec
Sat May 05, 2018 8:18 pm
Forum: General
Topic: Is Love2d Suitable For My Project?
Replies: 9
Views: 1587

Re: Is Love2d Suitable For My Project?

Render / Simulate Large Chunk Of World At A Time: I want to be able to display and simulate a large chunk of the world at any given time, ideally I would want to shoot for what CDDA does with i think is 132 x 132 (17424 tiles) which could be 100s / 1000s of enemies and other entities that would nee...