[SOLVED] Help with image side - lint reporting error

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
misterunix
Newbie
Posts: 13
Joined: Sun Jun 27, 2010 11:06 pm
Projects: Zombie's
Contact:

[SOLVED] Help with image side - lint reporting error

#1 Post by misterunix » Sun Feb 19, 2012 1:25 am

Even the
I needed to double create images....

I added to the base code

Code: Select all

    image mackside angry = "mackangry.png"
    image mackside happy = "mackhappy.png"
    image mackside normal = "macknormal.png"
    image mackside sleepy = "macksleepy.png"
and now no lint errors.

-EDIT- cleaned up post and shorten code and fix stupid stupid grammar issues.

Howdy All!
In the process of learning this wonderful beast I have run across a bit of a conundrum. Please keep in mind this is all testing and nothing here is production. I'm learning to roll over before I crawl!

Summary: lint reports a problem - but yet the code executes just fine.

Thought: Now that I am looking at it here on the forum, could it be that the character files are no longer being loaded in the init block?

Anyone have any ideas?

Code: Select all

init:
    define m = Character("Mack", color="#A6DEEE", window_left_padding=168, image = "mackside")
    image side mackside angry = "mackangry.png"
    image side mackside happy = "mackhappy.png"
    image side mackside normal = "macknormal.png"
    image side mackside sleepy = "macksleepy.png"

    image bg black = "#000000"
    image bg murder1 = "a1b.png"
    image title = "atf-s1.jpg"

label start:
#    scene title
#    play music "WhatYouWantVer2.ogg" fadeout 1.0
#    $ renpy.music.set_volume(0.5, 6, channel="music")
#    pause 30.0
#    stop music
    
    scene bg murder1 with fade
    
    m angry "Damn, didn't need to walk in on this."
    m happy "Well, back child support is not a concern now."
    m normal "I'll just go ahead and take a look around."
    m sleepy "Man, I need a nap."
    return

Lint Reports

Code: Select all


Ren'Py 6.13.8.1675 lint report, generated at: Sun Feb 19 09:23:31 2012

game/script.rpy:21 Could not find image (mackside angry) corresponding to attributes on say statement.

game/script.rpy:22 Could not find image (mackside happy) corresponding to attributes on say statement.

game/script.rpy:23 Could not find image (mackside normal) corresponding to attributes on say statement.

game/script.rpy:24 Could not find image (mackside sleepy) corresponding to attributes on say statement.


Statistics:

The game contains 4 screens of dialogue.
These screens contain a total of 31 words,
for an average of 7.8 words per screen.
The game contains 0 menus.

Remember to set config.developer to False before releasing.

Lint is not a substitute for thorough testing. Remember to update Ren'Py
before releasing. New releases fix bugs and improve compatibility.

Post Reply

Who is online

Users browsing this forum: Google [Bot]