public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

(RGSS3 doubts) Problem - My First Script

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: (RGSS3 doubts) Problem - My First Script
  • Original author: tiagoms
  • Original date: April 17, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/rgss3-doubts-problem-my-first-script.38946/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

Hello, I'm doing a "Jump" script, but I have a problem. Spoiler class Game_Player < Game_Character  alias tiagoms_jump update   def update    tiagoms_jump    if Input.trigger?C)      if stopping?        jump      end    end  end   def jump      case @direction      when 4 # Left                if passable?(@x-5,@y,@direction)          print "-5 pass \n"        end        if passable?(@x-4,@y,@direction)          print "-4 pass \n"        end                if passable?(@x-3,@y,@direction)          print "-3 pass \n"        end                if passable?(@x-2,@y,@direction)            print "-2 pass \n"          end                  if passable?(@x-1,@y,@direction)              print "-1 pass \n"            end                    if passable?(@x,@y,@direction)            print "0 pass \n"        end                  if passable?(@x-5,@y,@direction) or passable?(@x-4,@y,@direction)...

Archived First Post

Hello, I'm doing a "Jump" script, but I have a problem.


class Game_Player < Game_Character  alias tiagoms_jump update   def update    tiagoms_jump    if Input.trigger?C)      if stopping?        jump      end    end  end   def jump      case @direction      when 4 # Left                if passable?(@x-5,@y,@direction)          print "-5 pass \n"        end        if passable?(@x-4,@y,@direction)          print "-4 pass \n"        end                if passable?(@x-3,@y,@direction)          print "-3 pass \n"        end                if passable?(@x-2,@y,@direction)            print "-2 pass \n"          end                  if passable?(@x-1,@y,@direction)              print "-1 pass \n"            end                    if passable?(@x,@y,@direction)            print "0 pass \n"        end                  if passable?(@x-5,@y,@direction) or passable?(@x-4,@y,@direction) or passable?(@x-3,@y,@direction) or passable?(@x-2,@y,@direction) or passable?(@x-1,@y,@direction) or passable?(@x,@y,@direction)        else          print "Not Work \n"          end      end   endend
Following the script (situation)

==aligned==

1 stone: (-5, -4, -3, -2)

2 stones: (-5, -4, -3)

3 stones: (-5, -4)

4 stones: (-5)

5 stones: (Not Work)

==with spaces==

stone, space, stone: (-5, -4)

stone, space, stone, space, stone.... (not work)

 

 

Could anyone help me?

Download Demo: https://drive.google.com/file/d/0B3d2YApCS0RxczllMmcyRndHVDA/view?usp=sharing

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar