Pixelmovement Script: v1.52 released!

just try to use

$game_map.events[13].find_event(10,true,false)

or just

$game_map.events[13].find_event(10)

which should have the same effect..

-f0tz!
Ok I will try that...
@Myonosken-lol, the ref was the one who said that not us... but we won, and I must say it was a great game.. I think both of the teams maded a great game. ;)
This type of script is exactly what I was hoping for when I started fiddling around with RMXP... however, I'm still new to all of this and I've been having problem getting the files in the ZPassability folder to work properly.

I'd like to use a collision map based on map ID and not tileset ID, but there were no examples of this in your demo, and my trial and error runs haven't had any luck in getting them to function. Map Properties displays the ID of the one I'm testing on to be 007, but naming the collision file 007.png has no effect.

Example Pictures Spoiler
Note: This is a functionality test to see if it's possible to make a game with hand-drawn backgrounds and Kaizer-like sprites. No tileset is in use, background is set as a Panorama since I couldn't get the Show Picture event to go underneath the characters. The collision should take place along the first hill.

http://i10.photobucket.com/albums/a139/ ... /test1.png[/IMG]
http://i10.photobucket.com/albums/a139/ ... /test2.png[/IMG]
http://i10.photobucket.com/albums/a139/ ... er/007.png[/IMG]
What about just 7.png? I noticed there's a file in the ZPassability in the demo named 2.png.

EDIT: Portugal won England? Does that mean that all of England are now belong to Portugal?
EDIT: Portugal won England? Does that mean that all of England are now belong to Portugal?
^ FIFA World Cup of Soccer.

Aslo the script looks evry itneresting and works well, Syn.
in the demo there is a collision map called "2.png" which is used for the map with the map id "002".. ;)
so just change the name of you collision map from "007.png" to "7.png" and it should work fine your map.. ^^
(btw.. Im also using the same method: 1pic per map and no tilesets)

-f0tz!

edit: for sure, Germany will win this World Cup :P (although I think everybody will go even more crazy then now.. -.-)
That worked but I have one more question... IS there a way to when a event is pathfinding that the command next only occurs when he reachs the end of the path?

@f0tz about germany, i think both of us(portugal germany) will be in the final, at least I hope, but we are gonna win of course lol.;)
we'll see.. ^^

normally the pathfinding should always find an end, doesnt it?

-f0tz!
Thanks for the advice.

It seems using Panoramas requires a different tileset for each image, is there some way to work around this short of slicing the image into bits and turning it into a large tileset with other sliced images? Like a script to change Pans used in an event, maybe.
Ya if finds the end but i was say is that the event only performes the next action after he reachs the end position.
Ex.
event
findpath.....etc
selfswitch A = on
page two
if selfswitch A = on
erase event

when i do something like it, he erases the event right after he stars moving...i want him to activa the switch just when he finishs the path, is that possibel?
mh.. not yet but I'll make it possible soon.. ;)

New To Do List:
- Map Scrolling possible by changing the Map Name
- Jump Part
- Ice floor (including two different forms: moving automatically in the faced direction or in the direction of an arrow, etc.. on the ground)
- Bugfix: Event stands still on a looping map
- Slower diagonal movement
- Passability Bug (quite a difficult and stupid thing, so this has main priority.. ^^ its still because of the bridge thingies ^^)
- Method to check if the event finished pathfinding


-f0tz!
Thanx F0tz... If I think in anymore things to put in here I will tell you.
I can implement an option to prevent sliding, its no problem..

but the priority thing wont be possible, because I dont know at all yet how to manage the priorities.. ;)

disabling 8dirs movement cannot be disabled because its too "deep" inside the script (I had to rewrite many things for this..)

btw.. I'll make an update later which will contain these things:
- Bugfix: Passability Bug (quite a difficult and stupid thing, so this has main priority.. ^^ its still because of the bridge thingies ^^)
- Sliding on/off
- "reached_target?"-method for the Game_Character Class, returns true if the Char has reached its target after pathfining (only once and directly after Pathfinding!)
- the Map name includes "[Loop-Map]" the map is looped


Because Im on holiday then there wont be any updates for about 4 weeks ;)
(but of course you can still post your ideas or found bugs here ^^

-f0tz!
Like the pixel movement you are inspired from?

Thanks a lot
yeah.. this pixel script isnt just an addition like most other (SDK-compatible) scripts, but some main parts of movement/map building are completely rebuild through this script (I you want so its some kind of different engine for the rpg maker ^^)
so its not possible to make the pixel script compatible with SDK or many other scripts..
but often you only need to change few lines in the other scripts (like the Skill Grid Script of Seph) to make them work..

Of course I might be wrong with this estimation.. so just ask one of the SDK people..

*klick*
and here is the last update I'll make before holiday.. ^^

whats new you can read in my last post, except the bugfix of the passability thing.. it was no bug, the same problem exists without the script and I have no solution found how to fix this
(the problem: if you have an passable tile, e.g. a shadow or even an empty tile which tile ID is != 0 and you put this tile over a non-passable tile (wall/water/etc) it will make the whole tile passable. to prevent this the shadow has to have a priority of at least 1..)

-f0tz!
That's more of a "map designer's" problem. I've seen the same thing in RM2K games and 2k3 games... basically by the mis-use of tiles without thinking of a specific tile's priority. Typically, it's a glitch by the designer... not the system itself.

But, it also gives the ability to create logic puzzles and 'easter egg' tricks by making hidden paths where one wouldn't think to look. These I have seen, too.

Seen what you did with the Map-Loop effect. SOMEONE FINALLY GOT IT RIGHT! But, like one of the earlier posts asked... maybe you could set it up (somehow) so you could have left-right exclusive and top/down exclusive wrapping. Old RM2K and 2K3 had those options as well.
hmmm every time i try to use this script i get an error
line 4664 failed to create bitmap.Any thoughts?
@DerVVulfman: I didnt want to implement extra horizontal/vertikal looping.. but I'll see..

@shinasura; are you using any other scripts?

so.. this is my last post before holiday.. see you in four weeks.. ^^

-f0tz!
@shinasura: that's probably caused by minimap. if your game map is too big it would return an error like this. solutions: make a smaller map, disable the minimap or wait for f0tz! to come back :p
only other scripts im using are legacy's 1scene CMS some battle system(which runs fine) and near fantasticas day/night thingy which i didnt have running on the map i used for testing

-read the end of totz last post, all i can say is awww sh*t
hmmm the issue was with the minmap,turned it off and all that wonderfull lag is gone ^_^ it has some serious issues with events though(namely teleport events).
Also discovered it doesnt like tint screen or screen flash events
i give up, this script causes more problems than its worth(disables the day/night/light effects script totally, major lag, move events get messed up, loads more work making those black and white passability things.the list could go on but ill end my rant here.Would be great for games with an ABS though
It is a bit of work to implement with your own scripts, but id say its worth it.
if i was building my game from scratch i would certainly abuse this script but i really dont wanna spend 3-4days going through my game checking what does and doesnt work when i can simply remove the script.Its not exactly essential anyways.As i said before, id use it with any kinda zelda style game
If you dont want to spend a few days checking through your game for errors, or making sure it works, then you shouldnt be making a game, in my opinion. You dont want to give people a bad game with a buttload of errors.
Is there a way to do a conditional branch to see if the characters facing up left, or down right, etc. (not with 8 directional, just with the norm)

Otherwise, it messes with my KH system, which needs to know a direction for various sprite changes.
that would be easy, just check for
@direction
Expand to see the code.
if you use a common event (the apply to player by default), or if you're running this in a map event check for
get_character(-1).direction
Expand to see the code.
it will return the number of a direction the player is currently facing. also I'm planning to make a method like "is player facing event?" :] but later ;)
Wondering if it would be possible to integrate a mouse click movement system with this script?

EDIT: Also, I don't know if this has anything to do with the script in question, or maybe the engine. But would it be possible to move an 8-way sprite around and then give the option to have the sprite stopped on the 3/4 view? Please ask for clarification if I have confused anyone.
asking for clarification :]
I've mixed this script wit Sir Lord Biowulve's mouse, but the pathfinding wasn't implemented yet. I'll fix this soon :)
[QUOTE=Wings]
EDIT: Also, I don't know if this has anything to do with the script in question, or maybe the engine. But would it be possible to move an 8-way sprite around and then give the option to have the sprite stopped on the 3/4 view? Please ask for clarification if I have confused anyone.[/QUOTE]

I was wondering about this too. It just bugs me that it doesnt stay facing in directional view. But i think im just staying to the default type sprites, so any way i do it wont matter, theres no directional sprite ':|

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