English image collision

4 replies
Goto Page
To the start Previous 1 Next To the start
18.11.23 11:04:38 am
Up
dxvrxv
User
Offline Off
can anyone help me on how to add collision to my script
Spoiler >

script is work fine, it just horde of zombies will merge into one tile when chasing the player, and the player will die in a single attack
18.11.23 11:15:02 am
Up
Masea
Super User
Offline Off
You can try playing with this: file cs2d [EngiN33R] Player Collision (20)
Shit your pants: file cs2d Outlast II Mod (30) | Create your UI faster: CS2D UI Framework
18.11.23 11:16:33 am
Up
dxvrxv
User
Offline Off
@user Masea: i already try add that to my script but my server cant load (forever loading), i know what is wrong i need other ways
20.11.23 09:51:40 pm
Up
Bowlinghead
User
Offline Off
What behavior do you want the zombies to have? Are they supposed to form a trail ('following' each other forming a line)?
If so then whenever you update your creature position, check if the new position is already occupied by another creature.
Codes >
edited 2×, last 23.11.23 05:13:13 pm
Share time limited free games here
26.11.23 03:33:35 pm
Up
dxvrxv
User
Offline Off
@user Bowlinghead: i just try it now and the zombie is now not moving they stuck each other, i will try to fix it and thanks
To the start Previous 1 Next To the start