New account registration is temporarily disabled.

PATCCMOI'S PROFILE

Search

Filter

Slip into Ruby part 3: Making a Scene continued.

Thanks for the fast and detailed explanation, really appreciated! It's quite clear now.

Slip into Ruby part 3: Making a Scene continued.

First of all, just want to say that this is great. I've been working as a programmer for over 10 years so I have no issues with the basics or the coding logic, but having never worked in game programming or with Ruby (and my C was rusty too, mostly worked with Perl/JS/PHP) this is really helpful at figuring out what I need lack to script efficiently in RPG Maker.

There is one missing part in this tutorial though, which after trying to figure it out for a while and finally looking at your Part 4 I found out. You're missing this bit of code :

def update
super
refresh
end

Otherwise your battler window never updates and so no matter how much I went through different enemies, I stayed with the image of the first one in the battler window. It's in your full code in the Part 4, but it could be helpful for people reading this in order and actually doing the tutorials in game to have it here not to look too long for the bug it creates.

I'd also have a quick question about when "update" is called if you know. Is the "update" method of all active windows called whenever you move in one of them? Or is there something I might not notice in the code linking the battler window to the main list in a way that would tell it to call this specific window's update method when you move in the list?

Thanks!
Pages: 1