Jump to content

2D Sprites


Angelwolf
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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! :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...