Sign in to follow this  
Deviant Coder

Need suggestions for a 2D game engine.

Recommended Posts

I'm building a 2D rpg game engine from scratch using Allegro Game Library as the core. After 3 days of coding, I manage to get working camera, and a organized way to keep track of objects in the world. The camera draws the screen depending on the player's x and y coordinate. I need some suggestions on what else I should add. Thanks for reading.

Share this post


Link to post
Share on other sites

Following the advice from "write games, not engines", you should probably be sure you have an actual game in mind and then proceed by adding whatever you need for that game.  Without quite a bit of experience you can't really know what you need for an engine unless you have a specific game to build.

 

So, what else do you need to create your 2d role-playing game?  Can you load a map?  Do you have a character that can walk around on that map?  Path-finding?  Collision detection?  Can you play sounds and music?

Share this post


Link to post
Share on other sites

Thanks for the reply. For some time I've been thinking about a rpg game. I took consideration in basing the engine around that game idea. I have collision detection and player movement coded in. I haven't added sound support, map creation/loading, and path finding. Can you explain the importance of path finding?

Share this post


Link to post
Share on other sites

importance of pathfinding:

in a game where you only run into turn-based combats: little to none

in a game with free-roaming monsters: small to medium

in a game with AI controlled allies: high

this is why you first need to know what you want to make

Share this post


Link to post
Share on other sites

I want to add multiplayer to my game using TCP/IP. I have little to no knowledge on how to create a server/client, make the server bind to a port and public ip, make the client connect that public ip, make the server listen for connections, and lastly have objects sent through the server to all clients. If anybody have any suggestions to any of these, please fill me in.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this