Forum

> > CS2D > General > CS2D Shadows & Lights Released
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch CS2D Shadows & Lights Released

242 Antworten
Seite
Zum Anfang Vorherige 1 211 12 13 Nächste Zum Anfang

alt Re: CS2D Shadows & Lights Released

VaiN
User Off Offline

Zitieren
Hey, I'm really enjoying this program, and I personally haven't had any issues with lag. But I thought I'd mention something. I was working on an external map editor a while back and had run into performance issues when loading the full map at once. The reason is, well, you shouldn't. It's far better to use a display buffer to display only the portion of the map that is currently viewable.

I don't know how a buffered display would work with the additional light & shadow layers, But it is still the typical approach that most tile-based engines use for performance reasons.

Happy Coding,
VaiN

Edit: Oh and not sure if anyone else had asked this, but any chance of enabling W,A,S,D to scroll the map?

alt Re: CS2D Shadows & Lights Released

DannyDeth
User Off Offline

Zitieren
I think the buffering idea is great, it would reduce lag for those people who do get it. And controlling the map's view via the W, A, S and D keys would probably be a good addition too.

However we are going to have to wait a bit for the next version because Blazz has other projects that are of a higher priority right now.

alt Re: CS2D Shadows & Lights Released

SQ
Moderator Off Offline

Zitieren
VaiN hat geschrieben
It's far better to use a display buffer to display only the portion of the map that is currently viewable.

Yeah, I'm already using that method in Shadows & Lights tool.
It gets troublesome when you're using zoom out function.
Because in that case it draws ~2000*3 (Texture, Shadows & Lights) tiles in the screen.

VaiN hat geschrieben
Oh and not sure if anyone else had asked this, but any chance of enabling W,A,S,D to scroll the map?

Though, you can move camera with arrow keys.
Sure, I'll add WASD too.

Also I've written real-time shadows & lights system, but I'm not sure to use it in shadows & lights tool.

alt thanks for the excellent program

Pagyra
User Off Offline

Zitieren
if you can add features to program
for transport light using drag & drop
and add сrop© light with the parameters

"Focus" light if you can also designate when creating a it

in the options to add the ability to disable rendering shadows of obstacles.
add more modes of screen resolution (and a full-screen opening)
straighten grammar directx,
and save the settings of the program seems not to occur.

in the description describe the standard light modes -
- such as a standard light color to incandescent, fluorescent surfaces, natural light, the glow of plants, ...
as rather difficult for beginners to pick up the real right light and shades ...

is it possible to implement your program in some way in the game editor?

alt Re: CS2D Shadows & Lights Released

Apache uwu
User Off Offline

Zitieren
user DC hat geschrieben
the next version of CS2D will have a built-in version of his light engine as optional feature (default off though)


Oh epic!! Does this mean we can add env_light into the editor?

alt Re: CS2D Shadows & Lights Released

Apache uwu
User Off Offline

Zitieren
user DannyDeth hat geschrieben
user Apache uwu hat geschrieben
Oh epic!! Does this mean we can add env_light into the editor?

And torches, it's rather amazing isn't it?


Hmm a

1
2
3
4
5
6
7
8
light(id,x,y,intensity)

--id is the identifier for the specific light element
--x is the position of light in pixels
--y is the position of light in pixels
--intensity is the percentage of alpha (0-100) or potentially specifying the transformation of x/y

removelight(id)

alt Re: CS2D Shadows & Lights Released

SQ
Moderator Off Offline

Zitieren
Yup, this was supposed to be a surprise, but yeah.
I'll tell more details myself later on.

At the moment, I concentrate on stability, it is build in real-time method.
I don't really know until what extend DC's planning to use it.

@user Apache uwu:
Light has X, Y, RADIUS, COLOR(R,G,B)
Could have Alpha/Beta angles too.
2× editiert, zuletzt 30.11.11 13:22:24

alt Re: CS2D Shadows & Lights Released

SQ
Moderator Off Offline

Zitieren
He already did, there are 3 options.
Low/Medium/High detail lighting.
There are two different lighting types, room and daylighting.

Actually, medium quality could have flashlights, since it's fast enough.

alt Re: CS2D Shadows & Lights Released

DannyDeth
User Off Offline

Zitieren
user Apache uwu hat geschrieben
I'm sure DC will add a section in the menu to lower or disable lighting if lag does become an issue.

Running at ~700FPS on my PC, so it should run fine on pretty much any other. It's supa awesome.

EDIT: This was just an example btw, it isn't some sort of CS2D-PreRelease thing, don't want to confuse anyone here.
Zum Anfang Vorherige 1 211 12 13 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht