RPG Maker Forums

Hey there! I'm using Galv's Invader script and I want change the y position of the ship. But, if I change it, collisions don't work anymore. It's probably a simple problem... but I know Ruby for only 2 weeks ^^" so, I probably missed something simple. Could you help me please? Where could be the problem?


 


The script is it: https://galvs-scripts.com/galvs-invader-mini-game/


 


I edit this method:


Code:
def setup_player_image
    @cell = 1
    self.bitmap = Cache.space("player")
    @cw = bitmap.width / 3
    self.src_rect.set(@cell * @cw, 0, @cw, height)
    self.ox = @cw / 2
    self.oy = height
    self.x = Graphics.width / 2 
    self.y = Graphics.height - height / 4  #I changed it with "(Graphics.height - 100) - height / 4"
  end

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,545
Members
137,834
Latest member
EverNoir
Top