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.

adapting message

i'm real close to getting a window which adapts it's self.height to the number of y entries.

the problem?

i don't know what the code is for y entries!

Code:
   # = ?
    if # > 2
      self.height +=  16 * (# - 2)
    end
this is the script lines i made to modify self.height according to y entries (#)

it says if there are more than two rpws of text, (y entries?) which is the size my current message system supports, than the message box's height is increased by 16 for every extra entry, but i don't know what # is!

EDIT: this ain't THAT hard is it? or was i not specific or sumthin?

Wait 72 hours before bumping
~Trickster
 

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