2d mobs always facing player

ph8jPf9M
Member
 
Posts: 70
Joined: Sat Jul 16, 2016 10:29
GitHub: 22i

2d mobs always facing player

by ph8jPf9M » Fri Mar 31, 2017 22:54

are there any mods that already make 2d mobs always face you so that you never see their sides?

Like these https://youtu.be/V9lW0Q43ufY?t=108 in doom?

If not then how is it posible to make these always face you with mobs redo?

the only mod that uses 2dmobs as far as i know is http://cornernote.github.io/minetest-critters/

Image
 

User avatar
toby109tt
Member
 
Posts: 296
Joined: Sun May 29, 2016 23:42
GitHub: tobyplowy
In-game: Toby109tt

Re: 2d mobs always facing player

by toby109tt » Fri Mar 31, 2017 23:32

Hallo 22i XD

Why would you whant 2d mobs if you have 3D?
( ͡° ͜ʖ ͡°) i love pixels and voxels ( ͡° ͜ʖ ͡°)
 

ph8jPf9M
Member
 
Posts: 70
Joined: Sat Jul 16, 2016 10:29
GitHub: 22i

Re: 2d mobs always facing player

by ph8jPf9M » Sat Apr 01, 2017 05:08

there is a certain charm to them also think of all the 2d sprites already made we could use
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: 2d mobs always facing player

by AiTechEye » Sat Apr 01, 2017 13:15

the property is visual = "sprite"

or set from on_step / do_custom
self.object:set_properties({visual="sprite"})

its also used in aliveai / aliveai_massdestruction / walking bomb
https://forum.minetest.net/viewtopic.php?f=11&t=16083
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 7 guests

cron