Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Script from http://ch4nc3.cloud.prohosting.com/#gameintro

HoRe

Member

Hey Guys,
I'm still kind of a noob when it comes to scripting, and I've tried to put in this code (see below) after (if $game_temp.message_text != nil
@text = $game_temp.message_text
begin
last_text = @text.clone
@text.gsub!(/\\[Vv]\[([0-9]+)\]/) { $game_variables[$1.to_i] }
end until @text == last_text
@text.gsub!(/\\[Nn]\[([0-9]+)\]/) do
$game_actors[$1.to_i] != nil ? $game_actors[$1.to_i].name : ""
end).
Yet the boxes aren't coming up with Event Indicator. What am I doing wrong? I got the website from this site, so if the author happens to be on here I'd love his/her input. (*Crosses fingers*) And by the way if you are, FANTASTIC intro. Thanks again guys!

@text.gsub!(/\\[Ee]\[([0-9]+)\]/) do
self.y = $game_map.events[$1.to_i].screen_y - self.height - 64
self.x = $game_map.events[$1.to_i].screen_x - self.width / 2
""
end
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top