Factory Demo error

● ARCHIVED · READ-ONLY
Started by Rose Guardian 10 posts View original ↗
  1. I don't know if this error was reported but there is an error with the Factory Demo when I go to end game.

    This is the error:

    Error.png

    Is there any way I can fix this all I know is it has something to d with Lunatic Backgrounds.
  2. Up here :)

    I purchased the Luna Engine, very nice for custom the skin, but i have the same problem with Factory (i love him !).

    If i quit by the menu in game i have this :



    Is there a new version of Lunatic Background for this problem ?

    this is annoying for a paid engine.
  3. Hey everyone, this was not ignored and I was trying to figure out why it was erroring. Thanks Neonblack for the solution! On Line 418, replace def create_background with this version:

      def create_background    super     if @background_sprite.is_a?(Array)      for sprite in @background_sprite        sprite.tone.set(0, 0, 0, 128)      end    else      @background_sprite.tone.set(0, 0, 0, 128) if @background_sprite    end  endEDIT:As it turns out it was already fixed by Yami a long time ago and we forgot about it. In the Complete Script List, just copy the very end code, this one specifically.

    #-------------------------------------------------------------------------- # overwrite method: create_background #-------------------------------------------------------------------------- def create_background super return unless @background_sprite if @background_sprite.is_a?(Sprite) @background_sprite.tone.set(0, 0, 0, 128) end if @background_sprite.is_a?(Array) @background_sprite.each do |sprite| if sprite.is_a?(Array) sprite.each do |s| s.tone.set(0, 0, 0, 128) end else sprite.tone.set(0, 0, 0, 128) end end end endAlso btw Revanne,
    Revanne said:
    this is annoying for a paid engine.
    As is with all software and code there are of course bound to be errors. We have worked tirelessly and will continue to do so to fix them, but please understand that we do not offer this product with a 100% guarateed that there will no bugs in the code. We do, however, promise to fix any bugs or problems as they reported to us.
  4. I found this code under Lunatic Backgrounds, but where in the demo exactly should I insert it? As a new script at the bottom of the other scripts?
  5. As is with all software and code there are of course bound to be errors. We have worked tirelessly and will continue to do so to fix them, but please understand that we do not offer this product with a 100% guarateed that there will no bugs in the code. We do, however, promise to fix any bugs or problems as they reported to us.
    Sorry Archeia, I did not want to be sarcastic, but I struggled to find remedies to this problem.

    Thank you for your quick response.

    But the two codes do not work, apply directly on factory for the test.

    The first :





    Second :

  6. replace def create_background with any of those two code. Don't use both!


    Reference the other demo's lunatic backgrounds for clarification.
  7. i don't test with both :D

    first error for first code, and second error for second code...

    Not in same time.
  8. From what I can saw from your screenshot you erased the last end. Again, I tested it in here and it works fine, so it's the way you're applying it. Just open complete script list and check how the fix was applied.


    UP2KZ4V.jpg

    Candacis said:
    I found this code under Lunatic Backgrounds, but where in the demo exactly should I insert it? As a new script at the bottom of the other scripts?
     
    Archeia said:
    On Line 418, replace def create_background with this version:
  9. Good !
    indeed missing the last end, now it's perfect.

    Thank you :)

    I have another question but not in this thread.
  10. Thank you and sorry for the late reply. It works now. :)