Status
Not open for further replies.

Sandwalker

Warper
Member
Joined
Aug 23, 2020
Messages
4
Reaction score
1
First Language
Swiss German
Primarily Uses
RMMZ
Hello everybody. It would be awesome, if someone could help me. I would like to have 3 different types of Sprites for my Character (96x96 / Child, 144x96/Adult / 144x144 for Creatures). While i was Parallax Mapping and testing the Map, i found some Issues. I) the Follower are to close II) the Collision is different (Reg ID /block) After researching i found out that it has something to do with Hit Box or Bounding Box. But i couldn't found a solution for RPG MZ. Do someone know how i could fix that? (No js. experience) Thanks for every help.
 

Attachments

  • 1617994126708.png
    1617994126708.png
    373.8 KB · Views: 24

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,468
Reaction score
10,891
First Language
German
Primarily Uses
RMMV
by default there is no "Bounding box" in any RPG-Maker.
All collision is handled by grid coordinates of the map - that only looks like a hitbox because the grid is fixed to a single size (48x48 pixel for MV/MZ).

to change that you'll need a plugin, and while there are some plugins for that most work by using multiple grid coordinates, which means you can only increase collision size in multiples of 48 pixel.
and the only such plugin I would have a link for is limited to static events, it cannot handle moving events.
 

Sandwalker

Warper
Member
Joined
Aug 23, 2020
Messages
4
Reaction score
1
First Language
Swiss German
Primarily Uses
RMMZ
Yes, this with the 48 x 48 px I was aware of, so I decided for the largest CharSprite for 144x144, that this should be divisible by 48.
I have already tried the most common plugins (follower plugins).
Example: The Cyclone plug-in, but limited to 1 tile and only referred to the followers. This plug-in had no effect on events or blocked tiles.

1617999669111.png
 

Sandwalker

Warper
Member
Joined
Aug 23, 2020
Messages
4
Reaction score
1
First Language
Swiss German
Primarily Uses
RMMZ
The wonderful people of Luna Tech have ported QMovement (along with some other QPlugins) to MZ.
https://github.com/LunaTechsDev/Luna-QPlugins/releases Then you can just set the hit detection to whatever you want, and completely ignore the grid.

https://quxios.github.io/plugins/QMovement explains how to use it.
Thanks for the quick help.
I saw this plugin once but thought it was only for MV.
I will test it now for sure.
By the way: Your video looks really great.
There are really almost limitless possibilities.
 

ImaginaryVillain

High Cultist of the Sporkle
Veteran
Joined
Jun 22, 2019
Messages
1,014
Reaction score
6,153
First Language
Absurdism
Primarily Uses
RMMZ
It's amazing what can be done with QM-Collision Map, and QMap. I should make a video or something showing people they can literally do their hit detection with an art program and an eraser. Then again I'm so busy.... I'm not sure I'll ever find the time to make that video. :kaoswt:
 
  • Like
Reactions: J-G

Sandwalker

Warper
Member
Joined
Aug 23, 2020
Messages
4
Reaction score
1
First Language
Swiss German
Primarily Uses
RMMZ
It's amazing what can be done with QM-Collision Map, and QMap. I should make a video or something showing people they can literally do their hit detection with an art program and an eraser. Then again I'm so busy.... I'm not sure I'll ever find the time to make that video. :kaoswt:
Hello again,
Maybe you should do that iwould watch it.
I noticed that the plugin does not support followers. Do you know another solution? Followers would be important as I would need them for Pets. Thanks already.
 

ImaginaryVillain

High Cultist of the Sporkle
Veteran
Joined
Jun 22, 2019
Messages
1,014
Reaction score
6,153
First Language
Absurdism
Primarily Uses
RMMZ
You could try Cyclone Map Editor. I don't have any experience with it, but I hear it allows for maps not using the grid 48x48.
Personally I don't actually use "party members" in my game... I do however use events who have behaviors based on distance to the player or other events.

So putting....
JavaScript:
$gameMap.distance($gamePlayer.x, $gamePlayer.y, $gameMap.event(this._eventId).x, $gameMap.event(this._eventId).y) > 2
....as a condition for an If statement would trigger if the event is greater two grid spaces from the player. You could simply put a moveroute in there telling it to move towards the player. And it would proceed to chase the player until it reaches two spaces away.

Or if you wish to get snazzy, QMovement/Luna_QMovement adds in .px and .py which are pixel coordinates all characters/events have, so you can trigger stuff based on pixel distances. :LZSwink:
 

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,023
Reaction score
16,833
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Requests. Thank you.

 

Kraus2189

Villager
Member
Joined
Oct 2, 2021
Messages
13
Reaction score
1
First Language
english
Primarily Uses
RMMZ
I wonder if any of this is realitive to my current situation. I use PVGames assets for my game. and im currently using MZ. i just started making my game about a week ago. and I've been using Gimp to create some characters. the only problem ive been having is that my characters will not load properly in testing. i just have the base map. but i wonder if it has something to do with the grid limitations. Ive made my sheets 48 X 48 and the characters seem scrunched together on the map. and the game will not load, if i decide to play test it. Anyone have any ideas that can help?
 

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,023
Reaction score
16,833
First Language
English
Primarily Uses
RMMV

@Kraus2189 , please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

oneOfUs.jpg
Streaming more Poppet Quest game even in about 12 minutes.
Some dog owners really impress me. I'm pushing 2-3 metric tons of garbage containers that destroy everything they hit. What do you think is going to happen to your tiny dog when I run it over? And why are you crossing my path to argue with me? Have you never been hit by 200kgs of garbage?

Lesson for you folks. Never mess with an angry garbage container. Or its driver.
I didn't dispose of a file properly and now my whole game won't start: I get a script error in the Scene Manager stage of game launch. What to do? Transfer it all to a new project? That's going to be tedious. Fortunately I am only nine workdays into it.
>< IMGUR!!!! *clenches fist*
I swear it looked better in my head. But this ain't bad. Had to experiment to make the characters stand out and not blend too much with the background.

Also, before anyone say this. Yes, she is holding a winrar.

Forum statistics

Threads
131,680
Messages
1,222,156
Members
173,424
Latest member
filfes
Top