[COLOR="royalblue"]while[/COLOR] animplayer.playing?
animplayer.update
pbGraphicsUpdate
pbInputUpdate
[COLOR="royalblue"]end[/COLOR]
sorry,but im a Newbie in this.I dont understand the Scripting Language and i need a teacher for that.Can anybody tell me easily how i make this.Sorry for that
That's my view of Essentials, yes. You could be able to make a game without once going into the Script Editor. That's not to say you can avoid using scripts, though (you must use things like pbChangePlayer and Kernel.pbSetPokemonCenter and pbAddPokemon), but you can (barely) just get away with some copying of existing scripts. You'll still need to learn how things actually work, though, at least on a conceptual level.I partially disagree with IceGod. Essentials was made to isn't necessary for knowing scripting to make a Pokémon simple game. Not everyone is good at scripting, some people is good at Pixel Art, others at music, etc... But, I think that is necessary to know very basic things like "if/else" and "while".
If you like customized things (unlike some basic ones), so or you find some scripter to team up, or learn by yourself.
So long as someone tells me what to do (either here or in a PM), okay.Anyway, I suggest to Maruno add this Luka S.J. script to default Essentials.
You never simply replace the old sprites with newer, and expect everything to be automagically done. While Pokemon Essentials itself supports GIF images, the battle system wasn't designed to be using them. The reason why at some parts the GIFs animate, and at some they don't: is that some parts of the PokeBattle_ActualScene code contain the @sprites["pokemon#{i}"].update function and others don't. You'd need to find the right places within the Battle System itself where you'd put these updates.
Using the function pbFrameUpdate(nil) is what you're looking for. This function updates the sprites and the battle boxes of the various Pokemon, now you just have to insert them in the right place. Some are more obvious than others. Just do a quick search for general updates in the battle system, and you'll know where to put them. One of the updates that you were looking for is within def pbAnimationCore. There you'll see a chunk of code which looks like
In there, with all the other updates, you just stick in pbFrameUpdate(nil), and the sprites will animate during attack animations.Code:[COLOR=royalblue]while[/COLOR] animplayer.playing? animplayer.update pbGraphicsUpdate pbInputUpdate [COLOR=royalblue]end[/COLOR]
With all this said, again, I will refer you to a post I made a while back.