Moondust-Project icon indicating copy to clipboard operation
Moondust-Project copied to clipboard

[Engine] NPC`s can drag coins around

Open Alucard648 opened this issue 8 years ago • 9 comments

NPC`s like goombas and, in screenies provided, 1-up mushroom can drag coins placed above them. scr_2015_7_28_19_23_23_30 scr_2015_7_28_19_23_27_193 Test level: https://yadi.sk/d/LiCgBwFXi96Q3

Alucard648 avatar Jul 28 '15 16:07 Alucard648

Yea, I knew about this issue because I wasn't finished debug of collisions. You will get same issue with conveyor belts or even with rinka block. I work to fix this dumb thing [collision solving with a lot of conditions really is not easy]

Wohlstand avatar Jul 28 '15 16:07 Wohlstand

Before I will implement a flag to divide NPC sceneries between statical (block-like) which are can't be moved by impact or can't ride on something, but can be moved in moving layer or even attached to something; and to kinetic NPCd which are a regular items or animals and people which can be moved from side, there are can't be as layer movement part while activated; I was disabled block collisions for all coins, so, there are will don't be grabbed from around by "thieves" ;-)

Wohlstand avatar Aug 06 '15 06:08 Wohlstand

But NPCs can also drag other static NPCs, like vine sections and checkpoints.

Alucard648 avatar Aug 06 '15 06:08 Alucard648

...it's true trollface on that NPC which stolen check point :-D I think at evening or tomorrow I will try to get more time and finally split "scenery" and "shared animation". where "scenery", must make that npc to be not able to ride on heads like it regular block

Wohlstand avatar Sep 07 '15 09:09 Wohlstand

NPC`s can still drag SMB2 coins.

Alucard648 avatar Sep 14 '15 14:09 Alucard648

I wasn't finished fixing of that error. I have a plan to fix that

split "scenery" parameter sense to:

  • body-type - static (coins, roto-disks, boos, conveyors, rinka blocks, bullets, etc.) and dynamic (physical bodies which are able fall, mote like regular physical body in real world) Static NPC are can't be stolen by other NPC (like you described about SMB2 coins)
  • shared-animation - forces NPC's of same ID to have same animation loop (coins, etc.)
  • has-activity - NPC has working physical loop (koopas, goombas, etc.) or has no it (coins, conveyors, key pad, etc.)

but that was workarround and wasn't finished. In next update I will finally finish than and I will have no shit in the parameters and everything will be organized

Wohlstand avatar Sep 14 '15 14:09 Wohlstand

This bug also no more happens (please try)

Wohlstand avatar Sep 11 '16 19:09 Wohlstand

Shy guys can still drag SMB2 coins in this level: https://yadi.sk/d/JPAXkyKOv3V9M

Alucard648 avatar Sep 11 '16 20:09 Alucard648

Since SMBX's source code is opened, I have to look and rework the whole collisions management to make it work correct.

Wohlstand avatar Feb 20 '20 10:02 Wohlstand