This is probably newb, but I've never tried it so I wanna ask if its possible before I try.
Can you make a...transition on the view area?
For example, an RPG: When you go into a turn-based battle, in the old NES games, the screen would have some semi-fancy effects, like the screen going black outwards from the middle, or the fancy turning blackness, like in DW4. Can we do this on DS?
EDIT: I forgot to add, I'd rather not use HUD icons unless I have it, it would probably cause major lag creating them like crazy and changing them.
ID:165351
Jan 9 2007, 4:13 pm (Edited on Jan 9 2007, 4:27 pm)
|
|
Jan 9 2007, 8:43 pm
|
|
The sight variable has a constant value called BLIND. Just do mob.sight|=BLIND to create blindness and mob.sight&=~BLIND to turn it off.
|
In response to Android Data
|
|
Android Data wrote:
The sight variable has a constant value called BLIND. Just do mob.sight|=BLIND to create blindness and mob.sight&=~BLIND to turn it off. Polantaris says he wants to do a fancy effect. That just makes the screen black, so it's not very helpful. Anyways, you probably will have to do it using a HUD, but it shouldn't lag at all if done well. |
In response to Jon88
|
|
Alright, I'll have to see how I could do it with a HUD then efficiently. Thanks for the replies.
|
In response to Polantaris
|
|
If you use a HUD object with screen_loc = "SOUTHWEST to NORTHEAST" there should be no appreciable lag, since it only sends one icon and/or icon_state change per transition.
It's hardy library worthy, but since this sort of thing is requested often and I commonly use it in my own projects I posted a short library: http://developer.byond.com/hub/Shadowdarke/ screen_transitions Besides, I can't show you funky shaped transitions without sending you some dmis. ;) |
In response to Shadowdarke
|
|
alright, ill check that out. Thanks.
|