Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Tue May 21, 2013 2:51 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
PostPosted: Tue Sep 13, 2011 3:20 pm 
Regular
User avatar

Joined: Thu Sep 08, 2011 11:22 pm
Posts: 42
Completed: Pink Carnations (GXB Otome)
Aleema wrote:
Instead, include the spaces around the edge (up to the top of the box) so that you don't have to alter margins within Ren'Py. This means that your resulting image should be as wide as your game (default: 800px).


I understand that the image has to be wide as game o.o but does it have to be same height as game too?
>.< please help me asap. D:

_________________
My DeviantArt
Pink Carnations (GXB Otome) Completed


Top
 Profile Send private message  
 
PostPosted: Tue Sep 13, 2011 3:49 pm 
Lemma-Class Veteran
User avatar

Joined: Fri May 23, 2008 2:11 pm
Posts: 2545
Location: USA
Projects: RockRobin
Nope. I said "up to the top of the box," meaning the top of your dialogue box. You don't need all that empty space above it. :)

_________________
I apologize in advance for being extremely opinionated.
[Tutorial] How to Customize the Textbox
[Tutorial] How to Customize Game Menus
Icon art by Mocha07734


Top
 Profile Send private message  
 
PostPosted: Sat Sep 17, 2011 8:25 am 
Newbie
User avatar

Joined: Sat Sep 17, 2011 7:27 am
Posts: 14
Location: Empire
Projects: 60000 Thou
Hi guys. I have a problem with positioning "click to continiue" image:

Image

I use this code:

Image

I don't know how to fix it.
And in options.rpy I used this setting:

Image

Anyone can help with this? I tried to change settings, but is only worse.

If I change this
Code:
...("images/arrow.png", (9, 21)...
to this
Code:
...("images/arrow.png", (20, 20)...
, as it says in guide, when I received this error:

Code:
  File "game/script.rpy", line 28, in script
        m "test"
ValueError: subsurface rectangle outside surface area


Traceback attached ._.

Attachment:
traceback.txt [3.31 KiB]
Downloaded 34 times


Top
 Profile Send private message  
 
PostPosted: Sat Sep 17, 2011 9:58 pm 
Lemma-Class Veteran
User avatar

Joined: Fri May 23, 2008 2:11 pm
Posts: 2545
Location: USA
Projects: RockRobin
That's interesting. It probably has everything to do with the size of your image. That error occurs when the size of the image + code don't match up. If you post your image, and I can check that for you.

Also: Those are some trippy colors. I like. :)

_________________
I apologize in advance for being extremely opinionated.
[Tutorial] How to Customize the Textbox
[Tutorial] How to Customize Game Menus
Icon art by Mocha07734


Top
 Profile Send private message  
 
PostPosted: Sun Sep 18, 2011 3:50 am 
Newbie
User avatar

Joined: Sat Sep 17, 2011 7:27 am
Posts: 14
Location: Empire
Projects: 60000 Thou
Aleema wrote:
That's interesting. It probably has everything to do with the size of your image. That error occurs when the size of the image + code don't match up. If you post your image, and I can check that for you.


Most likely I'm wrong use style parameters.

Text box:
Attachment:
text_box.png [5.84 KiB]
Not downloaded yet


And the arrow:
Attachment:
arrow.png
arrow.png [ 505 Bytes | Viewed 550 times ]

if you mean it.

Aleema wrote:
Also: Those are some trippy colors. I like. :)


Yes yes, I like it too Image


Top
 Profile Send private message  
 
PostPosted: Sun Sep 18, 2011 3:59 am 
Lemma-Class Veteran
User avatar

Joined: Fri May 23, 2008 2:11 pm
Posts: 2545
Location: USA
Projects: RockRobin
Okay, you definitely have a problem in that you're using something that you're not supposed to. XD That's why it's an error. "Filmstrip" is only for animations that are in a single image. Your CTC icon is not animation. Please say this instead and see if it works:
Code:
ctc=Image("images/arrow.png", xpos=755, ypos=545),

_________________
I apologize in advance for being extremely opinionated.
[Tutorial] How to Customize the Textbox
[Tutorial] How to Customize Game Menus
Icon art by Mocha07734


Top
 Profile Send private message  
 
PostPosted: Sun Sep 18, 2011 4:23 am 
Newbie
User avatar

Joined: Sat Sep 17, 2011 7:27 am
Posts: 14
Location: Empire
Projects: 60000 Thou
Aleema wrote:
Okay, you definitely have a problem in that you're using something that you're not supposed to. XD That's why it's an error. "Filmstrip" is only for animations that are in a single image. Your CTC icon is not animation. Please say this instead and see if it works:
Code:
ctc=Image("images/arrow.png", xpos=755, ypos=545),


Yes, it works ._.
But I want the arrow blinked. I saw this in the demo game. How do I do it? @_@


Top
 Profile Send private message  
 
PostPosted: Sun Sep 18, 2011 4:37 am 
Lemma-Class Veteran
User avatar

Joined: Fri May 23, 2008 2:11 pm
Posts: 2545
Location: USA
Projects: RockRobin
Well, you should make an animation! It's not going to just animate itself. :) There are a couple ways to do this. I suggest this way:

Code:
image ctc_blink:
    xpos 755 ypos 545
    alpha 1.0
    "images/arrow.png"
    1.0
    alpha 0
    1.0
    repeat

And in you character code, replace that line once again with:
Code:
ctc="ctc_blink",

The 1.0 in the image code is 1 second of time.

_________________
I apologize in advance for being extremely opinionated.
[Tutorial] How to Customize the Textbox
[Tutorial] How to Customize Game Menus
Icon art by Mocha07734


Top
 Profile Send private message  
 
PostPosted: Sun Sep 18, 2011 4:57 am 
Newbie
User avatar

Joined: Sat Sep 17, 2011 7:27 am
Posts: 14
Location: Empire
Projects: 60000 Thou
Oh, thank you, thats what I want xD
But the arrow is immediately after the text =_=


Top
 Profile Send private message  
 
PostPosted: Sun Sep 18, 2011 4:58 am 
Lemma-Class Veteran
User avatar

Joined: Fri May 23, 2008 2:11 pm
Posts: 2545
Location: USA
Projects: RockRobin
You still need the " ctc_position = "fixed" ". Did you remove it?

_________________
I apologize in advance for being extremely opinionated.
[Tutorial] How to Customize the Textbox
[Tutorial] How to Customize Game Menus
Icon art by Mocha07734


Top
 Profile Send private message  
 
PostPosted: Sun Sep 18, 2011 5:06 am 
Newbie
User avatar

Joined: Sat Sep 17, 2011 7:27 am
Posts: 14
Location: Empire
Projects: 60000 Thou
Aleema wrote:
You still need the " ctc_position = "fixed" ". Did you remove it?


Yes, my bad. Completely works at now. :o
I am suffered with this 4 hours in a row. Thank you again, Aleema x3


Top
 Profile Send private message  
 
PostPosted: Fri Nov 04, 2011 4:43 pm 
Regular
User avatar

Joined: Wed Nov 02, 2011 9:56 pm
Posts: 36
Projects: Imitation Heart(模倣心)-Otome For the Love of Cocoa-Short-Otome VN
This is a great tutorial. I found it very useful. Thanks so much! :)

_________________
"The question that sometimes drives me hazy: Am I, or the others crazy?"

Projects:

Immitation Heart: Script: 40% Characters: 50% CGs: 0%
For the Love of Cocoa: In first draft stages


Top
 Profile Send private message  
 
PostPosted: Fri Nov 04, 2011 6:18 pm 
Regular
User avatar

Joined: Sun Oct 30, 2011 2:40 pm
Posts: 45
Projects: Mermaid Revelation (GxB otome)
for the textbox, does it have to be .png or can it be .gif D: (i was wondering if I could put an animated one :o

_________________
My DeviantArt
Mermaid Revelation (GxB otome) In Progress


Top
 Profile Send private message  
 
PostPosted: Fri Nov 04, 2011 6:42 pm 
Miko-Class Veteran

Joined: Mon Nov 01, 2010 9:10 pm
Posts: 832
ShirakiHime wrote:
for the textbox, does it have to be .png or can it be .gif D: (i was wondering if I could put an animated one :o

It can be .jpg as well, but RenPy dosen't support .gif (Well, it does, but not the animated ones)

_________________
I have moved to a new account. Please contact me here from now on. T/Y~


Top
 Profile Send private message  
 
PostPosted: Sat Nov 05, 2011 3:01 am 
Miko-Class Veteran
User avatar

Joined: Fri Dec 11, 2009 5:25 pm
Posts: 937
Quote:
i was wondering if I could put an animated one
You can make animated textbox using ATL
http://www.renpy.org/doc/html/atl.html#image-statement-with-atl-block


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group