I Wanna Community

Fangames => Game Design => Programming Questions => Topic started by: N3ON on July 10, 2016, 03:55:17 AM

Title: Area name display (Like I Dun wanna be anything 2)
Post by: N3ON on July 10, 2016, 03:55:17 AM
In "I Dun Wanna Be Anything 2" whenever you move from one area to a different area, the area's name is displayed on screen in a nice effect (like this):
(httpss://i.gyazo.com/98969fa5c1b0318e0de81c6237f80791.gif)

how would i recreate this effect and get it to activate when moving from one room to another (but not when dying) ??

(Note: I am using the Gm:S version of the KS engine
 :BloodTrail:
Title: Re: Area name display (Like I Dun wanna be anything 2)
Post by: Sudnep on July 10, 2016, 12:34:40 PM
This should work but isn't exactly pretty. You could narrow down the name displays if you only label specific rooms that allow transition into new areas.
https://klazen.com/gm/Kdv

objRoomNameEffect needs to use the text and display it in whatever fashion you want. You can do this in the same object as well but you'd have to add a bit of extra coding.

Edit: Fixed what klazen pointed out.
Title: Re: Area name display (Like I Dun wanna be anything 2)
Post by: klazen108 on July 10, 2016, 02:33:46 PM
I'd put the check code in a room start event instead of a step event since you only need to check when you actually change rooms (and the room start event will fire when you do that) but otherwise what Sudnep suggested should work perfectly!