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.

dubealex's ams question

Rpgx

Member

Well when using dubs ams, i found that the pictures folder would get crowded really fast. I was wondering if it was possible to make it so that his script takes the pictures from a folder in the pictures folder. So it gets them from
\graphics\Pictures\Faces

I tried to PM him about it but he's going to be gone till the 3rd. Can anyone else help me?
 
Sure can. OK - in your script, find this piece of code.
Code:
      @face_file = $1 + ".png"
      @x = @face_indent = 128
     if FileTest.exist?("Graphics/Pictures/" + $1 + ".png")

The 'Graphics/Pictures/' bit is the really important part. Try changing that to 'Graphics/Pictures/Faces/'. Make sure you create the folder in windows explorer, though, or you'll get an error.

Hope this helps.
 

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