Need suggestions for a 2D game engine.

Started by
4 comments, last by Deviant Coder 11 years, 4 months ago

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.

Advertisement

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?

- Jason Astle-Adams

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?

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

Thanks for the reply. I'll do more research on pathfinding since I will need to add a system that handles free-roaming monsters.

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.

This topic is closed to new replies.

Advertisement