Pixelmovement Script: v1.52 released!

Hi again.. first of all.. the Light Version is out!

You can find it on my homepage (*klick*) in the scripts section..

It contains the following features:
Collision Maps
8Dir Movement & Graphics
More Frames
Variable Event Sizes
(and Pixelmovement of course.. :D)

Please tell me if you have problems with it or find any bugs.. thanks ^^

BlueScope: this script but Sephiroth Spawn has one big problem.. if you have big bitmaps (320x240 and more) it can take a very LONG time, until the bitmap is saved.. for complete maps it would take several minutes I think :P
There's no need to save the bitmaps anyway.. they can be reloaded very easy and fast.. but tanks.. ^^

rey meustrus: exactly.. Marshal doesnt know what to do with bitmaps (and sprites I think, too)
and the bitmaps / waypoints are stored into other files.. so no need to save them into the save file..

Jardin: you just need to delete the "5" in the direction_order.. there is no direction "5" ^^ (Take a look at your numpad.. the 5 is in the middle and so it cannot be a direction..)
Hello,

First I tried your script on a new project, it works well but when I tried on our project the character get stuck on the top left corner :sad:
Which other scripts do you use?
The light version.
f0tz!baerchen wrote:
Which other scripts do you use?

...

So you only use the Pixelmovement Light Script, no other scripts? Or Both the Pixelmovement and The Pixelmovement Light? (Both scripts together wont work..)

When do you exactly get those problems? You just go normally to the top left corner and then you cant move anymore?
Quote:
When do you exactly get those problems? You just go normally to the top left corner and then you cant move anymore?

Yes right after I log in the game my character appear on the top left corner even if my party position is set in the midddle.

Maybe I got the bug because I change the setting of the game, you know for panorma so they don't bug. I changed in : sprite_set map.

I changed this :
  1. @panorama.ox = $game_map.display_x / 4
  2. @panorama.oy = $game_map.display_y / 4
Expand to see the code.


I do not have scripts that alter the map.
Is there some way I can add only the caterpillar to the Light version? It's nice to have a lot of the optional features gone, but at the same time, It'd still be nice to have the caterpillar (at least for my game). Can I add that in myself or is it more complicated than that?
Walina: this is strange.. I dont get those problems.. can you send me a test project with this? thanks

Link in Pink: I'll check that next week.. it's possibly not that difficult..
Ok seriously, I have one problem and a question...

When the pixelmovement script is in my game everything works EXCEPT when I try to activate an event that's on a tile I can't reach. If I put an event on a rock and press enter on the rock in the game the event doesn't start up! I've tried changing the even size, the thing that adds pixels to event sizes, the player size, nothing works!

And secondly, is it possible to make some change to the script so that jumping is disabled whenever an event is playing? Because it's kind of tedious to start every single event with "$pixelmovement.jump_key = nil" and ending it with "$pixelmovement.jump_key = Input::X"... Can't you make it do that automatically?

Oh and speaking of jumping, you can jump over guards that you set to block the player, that's not so good. Is there any way of making an event un-jump-overable?

I hope for answers on those problems and I'm sure other people do to. :S
Adkit: mh.. I didnt really get, what you mean with the event activation problem exactly.. can you make a screenshot of this maybe?

The second this with jumping is a bug.. I will fix that.. (;

To make an event impassable for jumping would be difficult and also without the Pixelmovement you can jump over events.. (;
f0tz!baerchen wrote:
Adkit: mh.. I didnt really get, what you mean with the event activation problem exactly.. can you make a screenshot of this maybe?

The second this with jumping is a bug.. I will fix that.. (;

To make an event impassable for jumping would be difficult and also without the Pixelmovement you can jump over events.. (;


Lol, I can't really take a screenshot of it though. Because the problem is that nothing happens. I can't "use" events that are on top of something, like a rock or a table or whatever. When I walk up to it and press enter the event doesn't activate.

I don't know if it's like that for everyone using this script or if it's some other script I have that's making the problem but I don't think so. :S
Anyone? Please? I can't make a game if I can't use events, so it's kind of annoying. x.x
Hey! First off, let me say this is a great script and I'm so glad you made it.

However, I 'm having an issue which I don't know if it's a problem on how I'm using the script or a bug with the script itself, either way let try my best to describe the issue. I'm using your script for isometric movement and utilizing the collision maps and parallaxes for maps, this is all working fine as far as I can tell. The issue comes when I try to load a save game. I get the error 'Script 'pixelmovement line 1130: NoMethodError encountered. undefined method '()' for nil: NilClass' once I try to move. I'm only a novice at scripting but I tracked this issue down to being the in the collision tables. When I get this error, the only ways to fix it is to delete all the tables and start a new game. I also fixed it once by having an event run "$pixelmovement.create_tables" to create the tables. This allowed me to load once or twice before getting the error. Looking at the tables folder I could tell that when it was working I had 3 tables and this error comes when one or more is missing or when one or more have the filesize 1kb, which I assume means they are incomplete. So when it's loading the game sometimes it's creating an incomplete collision database and I'm not sure why or how to stop it. Oh and as an added note, I can play a new game fine without any errors.

Thanks in advance for your help and for creating this script. :D
Adkit wrote:
f0tz!baerchen wrote:
Adkit: mh.. I didnt really get, what you mean with the event activation problem exactly.. can you make a screenshot of this maybe?

The second this with jumping is a bug.. I will fix that.. (;

To make an event impassable for jumping would be difficult and also without the Pixelmovement you can jump over events.. (;


Lol, I can't really take a screenshot of it though. Because the problem is that nothing happens. I can't "use" events that are on top of something, like a rock or a table or whatever. When I walk up to it and press enter the event doesn't activate.

I don't know if it's like that for everyone using this script or if it's some other script I have that's making the problem but I don't think so. :S



I'm haveing that problem too, but I think I have a temporary sollution. Try placeing an event infront of that event that's 'unreachable'. It might clutter up the map with more events but that's all I can think of, since I am still new to scripting myself.
Psionicle wrote:
Adkit wrote:
f0tz!baerchen wrote:
Adkit: mh.. I didnt really get, what you mean with the event activation problem exactly.. can you make a screenshot of this maybe?

The second this with jumping is a bug.. I will fix that.. (;

To make an event impassable for jumping would be difficult and also without the Pixelmovement you can jump over events.. (;


Lol, I can't really take a screenshot of it though. Because the problem is that nothing happens. I can't "use" events that are on top of something, like a rock or a table or whatever. When I walk up to it and press enter the event doesn't activate.

I don't know if it's like that for everyone using this script or if it's some other script I have that's making the problem but I don't think so. :S



I'm haveing that problem too, but I think I have a temporary sollution. Try placeing an event infront of that event that's 'unreachable'. It might clutter up the map with more events but that's all I can think of, since I am still new to scripting myself.


Well, it would work I guess. Only you'd have to put four times as many events on the map for things you need to access from all four directions. :S However it might work unless the game lags from it, I'll see.
Adkit: I thought of a Screenshot of such a situation where nothing happens.. but anyway I got what you meant without..

You could add a comment on the first page of such an event:
event_size: 64,64 (or try smaller values)
This will help..

Changing this one:
$pixelmovement.event_size_add = 0 helps, too.. maybe you took a too small value..

revzanix: yeah a 1kb filesize means an incomplete file.. so the script starts somewhere to rewrite the file but is stopped for some reason.. which version of the script do you use? Do you use any other scripts?

Another important thing.. everytime you change a map you have to delete the collision file for this map.. maybe you changed the map?

btw.. sorry for taking so lang to answer again.. but Im short of time at the moment... (;
f0tz!baerchen wrote:
Adkit: I thought of a Screenshot of such a situation where nothing happens.. but anyway I got what you meant without..

You could add a comment on the first page of such an event:
event_size: 64,64 (or try smaller values)
This will help..

Changing this one:
$pixelmovement.event_size_add = 0 helps, too.. maybe you took a too small value..

revzanix: yeah a 1kb filesize means an incomplete file.. so the script starts somewhere to rewrite the file but is stopped for some reason.. which version of the script do you use? Do you use any other scripts?

Another important thing.. everytime you change a map you have to delete the collision file for this map.. maybe you changed the map?

btw.. sorry for taking so lang to answer again.. but Im short of time at the moment... (;


I've tried that. If I change the event size to 64,64 you can use that event from CERTAIN ANGLES but from the top or bottom it doesn't activate. If I put an event on a treestump I can only "use" the treestump from the left and right side, not the top or bottom, I mean.

It doesn't seem to help to change it to 64,74 or whatever either. :S I'm stumped...treestumped.
No wait, I think I know what the problem is. When I change the event size to 64,64 it seems that it expands the event up and to the right! It doesn't add anything to the left or the bottom. So when I set the event size to 64,64 I can use events from certain angles but not the bottom for example...how can I fix that? "Shift Y" doesn't seem to work on events without graphics or something like that...
yeah.. the size is only added up, left and right.. but not down..
"Shift Y" just shifts the graphic, but not the event itself.. You could try "Teleport x, y"..

But anyway.. there seems to be a problem with event that don't have a graphic or are passable and that are on an impassable tile.. I will check that..
f0tz!baerchen wrote:
Sieg The Angel:
A screenshot of the common event may be enough.. Maybe I can tell you then, what you have to change.. ^^


Hey this is Sieg The Angel, I have the screenshots of the common event of my battle system now.

Image
Just imagine this but with a few more conditional branches for up, left, and right.
Hi there ^.^
i've see a really usefull stuff in your script for my project...
first of all... this script is really awesome... i can't believe that rpgmakerxp have such potenzial *.*

anyway... what i need is the 8dir graphic...
i've look a lot around this forum, and other forums... but i can't find an 8dir-graphics like the one in your project...
cause whit your project you can set which character had 8 directions, and which one had only 4...
i need for my project, that only the Hero had the 8 dir graphics... (like, when i turn upper-left, his graphics change... like the character from ragnarok-online)... all the other events in the maps must be standard... (i don't want to turn every character in my project whit 8dir graphics)

It will be really great if you can export the 8-dir graphic from your pixelmovement script... (i can't use the pixelmovement cause it crash whit the most of my other scripts)... I've tryed to made it by myself... but i've failed... and i can't find in your website this add-on apart...

Thanks in advice for your help ^.^ i hope you could :)
I have encountered another weird problem (v1.6)

When storing the player's terrain_tag the game is getting the tag from the top-left tile of the map instead of where the player actually is located. It works OK for the party_actors but for the player it has this odd behavior. Any ideas?
I love your scripts, but can you please make it a little easier to pick and choose which ones you want?
LEGENDARY!
The cockroaches praises you!
Hi again.. sorry for my long absence.. My studies are really time consuming at the moment..

I also had problems with my account in this forum and I still cannot log in there.. I contacted the administrator but never got an answer from him.. So I had to create this new account.. :(

Anyway.. I now Im here again.. ^^

kiralim: I think the problem is that you only check if the monster's and the player's position are equal.. but.. this means they have to stand on the same tile.. you have to check, wether the monster is one step above (for facing up) the player, etc..
This should work.. btw.. how do you save the coords of player and monsters?

FenriX`: Mh.. sorry you cannot just extract the 8Dir Graphics.. :(

CapnMuffin: I think this is a bug.. I'll check that.. ^^

bojjenclon: How can I make this easier? You only have to change a true into a false in the settings to disable a feature..
When I tried to disable stuff it messed everything up. This required this and so on.
hey fotz! nice to see that you'Re still out there ;)
when I speak with an event on the map.
appears of error
BUG IN Pixelmovement Script Light
in event in mapa

Screen shot ,, erro picture
http://filosofem-rpg.com/Download/hghghghg.PNG
Good to know you're still around fotz!

Here's another interesting thing I noticed that you might want to check out for yourself.

The slide function seems to "lag". What I mean is when the player presses down, left, right, or up against a corner and the script has the actors "slide" around the corner the game appears to lag, the frame rate drops significantly. Hard to tell why. When you press diagonally against a solid wall and slide along it, that function works fine... it's corners that this happens. This phenomenon is more apparent when the player's size is larger, like 32 or more.

EDIT: Your anti-lag script helps a lot, but there's still some. I think this is special to my map so I will investigate other events I have there.

One more observation. When you teleport onto a "Player Touch" event *on the same map* that event will trigger. It's OK to teleport onto such an event when going to a different map, but on the same map it triggers. So when I try to make doors to rooms on the same map the player endlessly teleports between the doors.
BUG IN Pixelmovement Script Light t.t

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=624