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: 19

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
35,802
Reaction score
9,465
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
958
Reaction score
5,837
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
958
Reaction score
5,837
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

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,715
Reaction score
15,838
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

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,715
Reaction score
15,838
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

Going to try my luck with Rust programming language. C++ is just way too gosh darn frustrating.
Phew. Finally fixed all of the tileset and event issues in this demo. And now, it's time to release another, finished game. Stay tuned!
you know, since learning C [;)] I've grown to love VC and OpenGL :D
Welp. Just updated the biplane sprite-sheet with the missing "North" and "South" positions. Really digging the old 1920's aircraft designs as of late. Shame they're not in "vogue" anymore. They had style. I wasn't planning on making an Air Mail-centric game but now it is getting awful tempting.
animation-example.gif
ScreenShot_5_15_2022_4_23_30.png

found out the names of all the window's used in Yanfly's Victory Aftermath plugin and came up with some designs for them.

Forum statistics

Threads
121,879
Messages
1,144,868
Members
160,135
Latest member
bet365samcom
Top