Angelwolf Posted September 24, 2015 Share Posted September 24, 2015 I'm looking to make my game very similar to first person shooters from the 90s era, such as Doom, Blood and Duke Nukem 3D. I'm wondering if it would be possible to use 2D monster sprites in Leadwerks to help add towards this? If so, how would it be done? Quote My Games: Nightmare Prism:::WolfTale:::Dungeon Creeper:::Despair of Ordinary Men:::Piano Simulator 2016:::House (W.I.P) Link to comment Share on other sites More sharing options...
mdgunn Posted September 24, 2015 Share Posted September 24, 2015 Never tried it but there is a sprite object and you will be able to make it point always at player. Your enemies can probably use a modified version of the monsterAI script (in Assets/Script/AI). You can then use the states it has defined to switch animated textures on your sprite maybe (e.g. idling, attacking,dying). You should be able to control the speed the animation frames are switching using the time commands. This may help you get a test going with animated textures: http://www.leadwerks.com/werkspace/topic/11848-need-help-with-animated-textures/page__hl__animated+textures This is jsut the first things coming to mind. Somones who's actually tried it may have a better idea! Quote Link to comment Share on other sites More sharing options...
Josh Posted September 25, 2015 Share Posted September 25, 2015 There's a command that lets you make the sprite rotate around its Y axis. This can also be set in the editor: http://www.leadwerks.com/werkspace/page/api-reference/_/sprite/spritesetviewmode-r832 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.