| 3 posts found | |
|---|---|
|
I've been working on an mmo - who isn't huh.
One of the original plans I had was to open up the system to be playable on low-end computers. Instead of drawing objects for everything and lighting them causing lots of computer work, my plan instead was going to be to generate the scenery on a high performance system then screenshot (for lack of a better term) the scenery and export that in a way that I would track each pixel and redraw them onto a screen. Because of the crazy amount of combinations a 3d game would have where you could spin around, I went for the 2d approach for the "rendering".
There would still be objects in the game, the only reason objects in that way exist are if they are something that can be interacted with. So you aren't confused about what I mean here.
I've been using SVG for this because I can generate small blocks but I'm running into problems once I get over around 3k objects. SVG would have offered me scaling which made me lean toward it first.
I know that Canvas also has trouble with large object amounts itself. I did once successfully make a canvas script that could take any image and recreate it in HTML so that you had a duplicate image but that took some time to complete itself. It was nothing in the range of something you would count at a frames per second level.
I suppose what I'm looking for is a programmatically fast method of drawing single pixels repetitively with the ability to control their color in something I recognize like RGB or HTML colors.Can you think of a browser method of doing this that I am not taking into account? Is this idea maybe too ambitious for the tools available today?
Edit: No responses after a few days so no one seems to have any ideas. I think I'm closer to what I want using CSS. Using borders and shadow I can come up with a 4x1 px shape with all colors controlled. Four for one beats 1 for 1, a tiny step closer. http://i50.tinypic.com/2hz4e1l.png
|
|
|
11/30/12 12:37:20 PM#2
Is this game going to be displayed on a web browser? My Projects: Pith Framework (0.5), CactusGUI (0.3) | Planning: Ant Battles |
|
|
11/30/12 12:43:29 PM#3
Voxels
|
|