Jump to content
  • Advertisement
Sign in to follow this  
esfomeado

Remake and engine

This topic is 1478 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey guys i'm new on this forum and actually i'm making my 2d game engine. I have a base engine and i'm remaking him.

I'm trying to optimize the engine the max as possible so right now the tiles and items are in the same class. So a tile is a item and i'm ok with that but i think that this could be improved because a wall doesn't need an attack value and etc...

So i has think to split this in two class. One for the items and other for the map tiles. Is this a good idea? When generating the map it will have some items too like swords and etc...

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!