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
==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, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator 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.
Replies (0)
No replies yet.
Topic Summary
Loading summary...