FLAPBAT'S PROFILE
Search
Filter
[RMVX] Scripting Trouble: event checking its own passability
[RMVX] Scripting Trouble: event checking its own passability
Thanks Marrend. My bad- I thought I clicked RMMV, not VX.
I'm going to try and use your fix but replace it with MV terms.
*edit*
Sadly, this isn't working either. I've tried simplifying my code, but I'm getting an error stating "unexpected identifier" :
I'm going to try and use your fix but replace it with MV terms.
*edit*
Sadly, this isn't working either. I've tried simplifying my code, but I'm getting an error stating "unexpected identifier" :
event = $gameMap.events[10]
if event == 10 {
$gameMessage.add ("check")}
[RMVX] Scripting Trouble: event checking its own passability
I'm trying to modify this code from the RMMV Script Calls page: "$gameMap.isPassable(x,y,direction)"
The modification that I'm trying to make is to have a parallel process NPC check its "up" directional passability before it moves. I'm using the code in a conditional branch. It looks like this, but doesn't work.
$gameMap.events(this._eventId).isPassable($gameMap.events(this._eventId).x, $gameMap.events(this._eventId).y-1, $gameMap.events(this._eventId).directionUp)
I'm getting a TypeError stating that "undefined is not a function." I know I'm probably going about it laughably wrong, but any help would be quite welcome :)
The modification that I'm trying to make is to have a parallel process NPC check its "up" directional passability before it moves. I'm using the code in a conditional branch. It looks like this, but doesn't work.
$gameMap.events(this._eventId).isPassable($gameMap.events(this._eventId).x, $gameMap.events(this._eventId).y-1, $gameMap.events(this._eventId).directionUp)
I'm getting a TypeError stating that "undefined is not a function." I know I'm probably going about it laughably wrong, but any help would be quite welcome :)
Hero delay when changing direction
Thank you both. I'm using RMMV. LockeZ, I had thought there was still a slight pause when using the Change Graphic command, but I'll double check it (did it, looks great). Thanks for the tip! In the mean time, I developed a little work-around using the Jump feature and Get Location Info.
Hero delay when changing direction
Hello-
Simply Stated:
When using "Set Movement Route," the game forces a delay every time the hero turns a new direction (ex: "Turn Left," "Turn Down," etc). In previous makers, turns were instantaneous. Can anyone help me get rid of the turn delay?
Detailed Reasoning :
I need the hero to be able to spin while moving.
Ex: (directional fix ON/OFF excluded from example)
Move Left
Turn Up
Move Left
Turn Right
Move Left
Turn Left
The RM forces delay between every movement and completely breaks the flow of movement.
Thanks!
-flap
Simply Stated:
When using "Set Movement Route," the game forces a delay every time the hero turns a new direction (ex: "Turn Left," "Turn Down," etc). In previous makers, turns were instantaneous. Can anyone help me get rid of the turn delay?
Detailed Reasoning :
I need the hero to be able to spin while moving.
Ex: (directional fix ON/OFF excluded from example)
Move Left
Turn Up
Move Left
Turn Right
Move Left
Turn Left
The RM forces delay between every movement and completely breaks the flow of movement.
Thanks!
-flap
500 Downloads
Just turned in my GIAW submission. It was more like "Game in Two-and-a-Half Days" since I've been so busy and have family in town. Nevertheless, I programmed in some neat puzzles and abilities. I've decided to expand on those abilities and incorporate them into a full-length game, although it will be a long time before I have anything to release. I'm thinking of getting serious and actually making a lengthy RPG; these competitions are always inspiring!
Picture Text Creator
I've created a font for this that emulates the default RM2K text style exactly. If anyone is interested, pm me and I'll send it your way.
-flap
-flap
How do you promote your WIP on RMN?
Great discussion. I at least feel encouraged to keep making quality games and attempting to promote them! In a few months or so the team and I should have an almost complete first chapter of our game to start hyping. I'll be referring back to this thread at that time ;)
-flap
-flap













