It's WW2. You're a general, sitting in a tent. You have a radio, a map, some markers and unit figurines in front of you. Win the battle. Unlike other WW2 real-time strategy games (Company of Heroes, Men of War, etc.), you are not some omniscient being floating above the battlefield. You have units to control, but you can't see them. There are enemies out there, but you can't see them. Your only link to the battlefield and your units is the radio. Your units will make periodic status reports to you over the radio, and you'll give commands over the radio. Unfortunately, units can be a little... unreliable. Sometimes you'll lose contact with them, other times they'll exaggerate how much danger they're in, and sometimes they'll get lost. It's up to you to sift through the available information and make the correct decisions to win the battle.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Add media Report RSS Radio General - Devlog 5: Camera \u0026 Unit Piece
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

This week I made bounds for my camera movement so it can't move off into the black void of being off-screen. This involved creating two empty objects, placing one in the top left corner, and one in the top right. By comparing the current camera position to these two 'anchor' positions, we can ensure the camera never leaves the bounds I set.

The second (and longer) task was being able to drag pieces around the holding left click whilst moving the mouse. This in itself is pretty simple, but doing it the simple way made the object always center itself on the cursor, making it 'leap' around. This is distracting, so I calculate an offset from the mouse position, and the center of the object we're dragging.