Sharing your Lunatic code tips!
Hi people I experimented Luna and well I love it! but as a script maker I already played into the lunatic configuration the minute I saw it~
Also I found this really sad to not share a list of useful little lunatic configuration who permit to help people who are not used to or don't how to implemented it so why not make a list ??
so I will open the ball with some status configuration tips!
How to add "big description" without having to use a script!
this fairly easy !
go in Import_status
and modify this line :
import["DESCRIPTION"] = [] actor.description.split(/[\r\n]+/).each_with_index do |line, i| description = [ # text "#{line}", # [offset x, offset y] [0, 24 * i], # [text width, align] [Graphics.width - 28, 0], # [Red, Green, Blue, Alpha] [255, 255, 255, 255], # [Font name, Font size, Bold, Italic] [Font.default_name, Font.default_size, Font.default_bold, Font.default_italic] ]by this !
import["DESCRIPTION"] = [] description = [ # bitmap location and name "$bitmap[System, #{"Description_" + actor.name}]", # [offset x, offset y] [330, 30], # opacity 255, ] This will replace the description text by a sprite!
Screenshot in game
so people don't hesitate to participate!
Disclaimer : Don't ask support on this topics this a place for sharing lunatic code not a place for asking your question!
Last edited by a moderator:



