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.

Tibuda Small Scripts

I really like the idea of the bird scrip but I keep getting this error

Script 'bird' line 124: NoMethodError occured.
Underfined method 'move_frequency' for nil:Nilclass

line in script:
@move_frequency = @page.move_frequency
 
You can replace that line and the two below with:
Code:
      unless @page.nil?
        @move_frequency = @page.move_frequency
        @through = @page.through
        @always_on_top = @page.always_on_top
      end
I'm rewriting this script by now, and adding the bat feature. I'll make a specific thread for Birds script due to its popularity. Thanks you all for the feedback.
 

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