Forum

> > CS2D > General > CS2D Shadows & Lights Released
Forums overviewCS2D overviewGeneral overviewLog in to reply

English CS2D Shadows & Lights Released

242 replies
Page
To the start Previous 1 211 12 13 Next To the start

old Re: CS2D Shadows & Lights Released

VaiN
User Off Offline

Quote
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?

old Re: CS2D Shadows & Lights Released

DannyDeth
User Off Offline

Quote
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.

old Re: CS2D Shadows & Lights Released

SQ
Moderator Off Offline

Quote
VaiN has written
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 has written
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.

old thanks for the excellent program

Pagyra
User Off Offline

Quote
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?

old Re: CS2D Shadows & Lights Released

Apache uwu
User Off Offline

Quote
user DC has written
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?

old Re: CS2D Shadows & Lights Released

Apache uwu
User Off Offline

Quote
user DannyDeth has written
user Apache uwu has written
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)

old Re: CS2D Shadows & Lights Released

SQ
Moderator Off Offline

Quote
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.
edited 2×, last 30.11.11 01:22:24 pm

old Re: CS2D Shadows & Lights Released

SQ
Moderator Off Offline

Quote
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.

old Re: CS2D Shadows & Lights Released

DannyDeth
User Off Offline

Quote
user Apache uwu has written
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.
To the start Previous 1 211 12 13 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview