Event Touch problem with "Free Movement v0.87" Script by GaryCXJk ( VX ACE )

DerKIAS

Demon Lord
Veteran
Joined
Sep 19, 2016
Messages
57
Reaction score
40
First Language
German
Primarily Uses
RMVXA
Hey, guys!

As the title suggests, Im having a problem with the "Event Touch" function when using the "Free Movement v0.87" Script by GaryCXJk which can be found here (You can't try the demo cause the file is corrupted for some reason):

https://area91.multiverseworks.com/rmvxa/scripts/gameplay/free_movement

No matter if I set an Event on "Approach" or "Custom: Move towards Player" the Event trigger doesnt activates.

It looks like this:

The Event just wanders around the Player but it doesnt get activated unless I move towards it OR if I set the Event on "through" which isnt a good option since I want enemy encounters on event touch and with "through" they can run accross water,walls and so on. BTW: When I disable/remove the Script it works just fine, so it really is a problem with this Script.

I know Victors PixelMovement doesnt have this issue but for compatibillity and some other reasons I need to use GaryCXJk's Free Movement Script.

I hope you guys can help me out :)

Greetings,

DerKIAS
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
Just to make sure that it isnt a simple obstacle.
Is the Event on "Event Touch" or on "Player Touch" ?
Because it needs to be on Event Touch if the Event shall activate when it runs into the Player.

Edit: My fault, your Script has its own Collision Boxes, iam not a Scripter, maybe someone else knows something?
 
Last edited:

DerKIAS

Demon Lord
Veteran
Joined
Sep 19, 2016
Messages
57
Reaction score
40
First Language
German
Primarily Uses
RMVXA
Hey! :)

Yeah the events are on "Event Touch"^^ Here is a screenshot of two events where one is set on "Approach" and the other one is set on "Custom: Move towards Player"

And here is also a screenshot where you can see the collisionboxes:


Maybe im doing something wrong or I have to do something with those collisionboxes to make it work but I've tried everything without success. I've made a fresh project and it works as it should but as soon as I put the "Free Movement" script in there it doesnt work anymore.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
Your screen size is bigger than the map size. That WILL mess up many scripts which rely on the screen co-ordinate of character objects.
You can see how the collision boxes are not in their correct place, right? That is because the map is smaller than the screen size.

Increase the map size for all of your maps which are smaller than the screen to avoid future problems caused by this.

I don't know if this is the cause of your collision issue, but you will run into many display issues if you don't re-size your maps later.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,660
Reaction score
563
First Language
English
Primarily Uses
RMVXA
I couldn't figure this out myself since the demo file was corrupt.
 

DerKIAS

Demon Lord
Veteran
Joined
Sep 19, 2016
Messages
57
Reaction score
40
First Language
German
Primarily Uses
RMVXA
Your screen size is bigger than the map size. That WILL mess up many scripts which rely on the screen co-ordinate of character objects.
You can see how the collision boxes are not in their correct place, right? That is because the map is smaller than the screen size.
Yeah you are right but that was just for testing purposes. I usually use correct sized maps ;) But thanks, now I know why the collisionboxes are so weird on that map. ^^

I also figured it out myself by looking a bit more on the instructions of the script itself and testing, testing, testing...
Somehow the solution was to decrease the collisionbox size of the "Event Touch" events. I dont know exactly why, but it works now :)
My best guess is, that with bigger collisionboxes the events are being prevented from "touching" each other.. because when I increase the collisionbox size the "Event Touch" event just wanders around the player like it cant reach him.

Anyways, thanks for your help guys!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,863
Messages
1,017,053
Members
137,571
Latest member
grr
Top