-
Notifications
You must be signed in to change notification settings - Fork 4
Recreating the classic C&C #61
Copy link
Copy link
Open
Labels
Description
Now that we have what I feel are some good bones for a game engine from which we can do this, there are a lot of things about the classic C&C games that need to be recreated in order to make this work. I've been thinking that I can recreate the sandbox project as a way of trying these out, by developing a very GUI-like UI like the Explorer with several scenes to choose from, each scene focusing on some aspect about the classic C&C feel.
- Create a grid on which units and structures interact
- Be able to pick out units with the mouse cursor, both single unit selection and multi-unit selection by drawing a box over them
- Get the mouse cursor to change by using the cursor assets from the original games
- GLFW cursor docs: https://www.glfw.org/docs/latest/input_guide.html#cursor_object
- Have units, particularly vehicles, move in a way that respects that grid, ie: vehicles never moved in odd angles when going from A to B, they moved from square to square with some rules about where diagonal movements could be made
- In conjunction with this, I'll probably need to learn about path-finding algorithms that can help here, as well as peek at the C&C code to see what they did: https://github.com/electronicarts/CnC_Red_Alert
- Neat resource: https://www.redblobgames.com/pathfinding/a-star/introduction.html
(More to come...)
Reactions are currently unavailable