Ruby/RGSSx questions that don't deserve their own thread

BoluBolu

Veteran
Veteran
Joined
Apr 24, 2014
Messages
452
Reaction score
117
Primarily Uses
Well the problem is,I put that string in a variable, so for example that "BLIZZARD ADVENTURE" iti s stored in variable, then I want to display it vertically in window, it's not a message text, just display it in a window, and yes I need to find something like you said miko, and I have frantically search it and no clue I got.
But don't worry I have solve this problem :) .
Thanks all for the helps . Peace..
Perhaps if you want to see the result(but I do this with a code that I think not very efficient and look bad). But it's fine.

 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
No, I'm not saying to change it. I'm saying to look and see how it does it, and then write a new script to do the same, but vertically instead, for any windows where you want the text shown vertically.
 

BoluBolu

Veteran
Veteran
Joined
Apr 24, 2014
Messages
452
Reaction score
117
Primarily Uses
No, I'm not saying to change it. I'm saying to look and see how it does it, and then write a new script to do the same, but vertically instead, for any windows where you want the text shown vertically.
Oh my goodness, so that's what you meant, Yeah.. why I didn't figure that.. sigh stupid of me.. Thanks shaz,

Well while i figure out how to make that method, may I ask another question? This one also get me frustrated. Well the window have method self.openness, Then how can I make it open up but animated, err.. I mean at first I set the self.openness at 25, then I want it to fully open at the moment it shown, BUT not in a flash, open like it stretch slowly until fully opened, perhaps need 3 or 4 seconds. Sorry if this a lot more silly than the earlier question, but my curiousity instinct is to high and I can't resist it.

Thanks again everyone .Peace.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
That would be a new script request, not a question that doesn't deserve its own thread.


I'm sure there are scripts out there that do similar things.
 

BoluBolu

Veteran
Veteran
Joined
Apr 24, 2014
Messages
452
Reaction score
117
Primarily Uses
Is that so? I don't ask any script, I just ask how I can make it open slowly, isn't there a simple code to do this(but I can't figure it out).. That's probably something to troublesome if just making a certain window to fully opened slowly, then a full script is needed right? I know it got something to do with the self.openness method.

But it's okay forget about it, I know this gonna be a silly question, sorry shaz.
Thanks anyway. Peace..
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I do think it entails modifying the initialize/update method of the window or the start/update method of the scene...
 

BoluBolu

Veteran
Veteran
Joined
Apr 24, 2014
Messages
452
Reaction score
117
Primarily Uses
Thanks miko I don't know if shaz will continue scold me if I keep discussing this matter :p
But here some code I use and doesn't work, I place it in scene  method start and also I tried it in initialize Window class both no work.. 

@window_type3.openness += 0.0001 until @window_type3.openness = 255I think it got something to do with the calculation or the system is to fast to do the += 0.0001, because when I tried this code
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I do think the game will still process that almost instantaneously... you'd probably need to add a wait of some sorts... that or it's possible that the openness is already 255
 

BoluBolu

Veteran
Veteran
Joined
Apr 24, 2014
Messages
452
Reaction score
117
Primarily Uses
Ah I have solve this matter, thanks for the advice miko, Haha i've got to run from here before shaz get here *run*
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
No, that won't work. Because you're telling it to keep updating the openness until it reaches a certain amount, but you're not telling it to draw or update anything else. So it's just going to go from whatever it currently is to 255 in .0001 increments (how long did that take before it let you do anything?) and then just do what it would have done anyway.


I'm telling you to start a new thread asking about it BECAUSE it's not a simple question with a simple answer. The number of posts you've already taken up without getting any closer to a solution should be enough proof for you. So if you want help, start a new thread please.
 

BoluBolu

Veteran
Veteran
Joined
Apr 24, 2014
Messages
452
Reaction score
117
Primarily Uses
Ah! shaz gonna eat me! I've got to run now.. Haha just kidding.
Alright2 shaz, I'm sorry don't be mad, I don't know in the first place that my question will be a complicated question, besides I have said sorry.. 
So please forgive me okay? :)
Anyway I have already solved that issue, so we can all forget about that question..
 
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
Hey there.
Been having some problems with my attempt at a script - I can't even test it.

I get an error message, "NoMethodError". it claims that it can't find method `extra_turn?' on "Scene_Battle:Class".
The problem is, I made this method. In fact, I made it just because I got the same eror when calling for the extra_turn variable instead.

Is it related to my changes being in the Game_Party class? Am I calling the variable/method wrong?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
you should add the method extra_turn inside scene_battle because that's where it's trying to find it...
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
Yeah, the problem is, it's already there...
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
can you post the actual code? coz there surely is a problem somewhere... without the script itself, we cannot really tell you what's wrong... either you placed it wrong, called it wrong or written it wrong

though better put it in a new thread.  It is a new script that ur trying to make so it's definitely not a question that doesn't deserve it's own thread...
 
Last edited by a moderator:

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
class Game_Troop < Game_Unit def agi_max members.each do |enemy| next unless enemy.alive? agi = enemy.agi if (enemy.agi >= agi) end return agi endendclass Game_Party < Game_Unit def battle_members all_members[0, max_battle_members].select {|actor| (actor.exist? && (!Scene_Battle.extra_turn? || actor.agi >= Game_Troop.agi_max*2)) } endendclass Scene_Battle < Scene_Base attr_accessor :extra_turn def extra_turn? @extra_turn endendthere is more to the code, but I made a topic about it.

Pretty sure many of my problems may be related to this one, really...
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,517
Reaction score
3,221
First Language
Binary
Primarily Uses
RMMZ
probably best to make a topic :)
 

Masochistic-Bipper

Wheat Dreams are made of these...
Member
Joined
May 18, 2014
Messages
26
Reaction score
2
First Language
English
Primarily Uses
Hey, well, I guess it's no harm in putting this here...

Is it possible to have a word-input? Like... not a name input, but an input area such as... a journal area where a player could jot down important notes? The only thing I saw was an RGSS2 script.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
Xexkra, your question goes in the RGSS3 Script Requests forum. Waterguy, your question belongs in its own thread. If you're writing a script, stick with a single thread rather than posting questions about it in other locations.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 3)

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,034
Messages
1,018,447
Members
137,820
Latest member
georg09byron
Top