Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Changing battler sprite z

wlzza

Sponsor

Well I'm trying to change the battler sprite's z and also animations. I have permanent pictures on the screen and what i want to do is have the enemy battler sprites on top of these pictures when in battle. What should i do?

Thanks in advance
 
The problem are viewports, you should create your images inside the @viewport1 from Spriteset_Battle. How are you creating these images? With scripts or they are event images?
 

wlzza

Sponsor

I've created my images using scripts: @wimage = Sprite.new, @wimage.bitmap = Cache.picture("blank"), etc. I tried changing the z positions of the viewports in Spriteset_Battle but doesn't work either.

RESOLVED: I manage to find out what the problem was. Silly me. I had another script that was also modifying the z position. Simply removed it and perfect.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top