Medieval themed 2D strategy game

I’ve hit a bit of a roadblock recently. While I’ve set up the cursor, zoom, and movement, the screen isn’t following the world cursor.

I believe the problem is because the mouse to world coords are incorrect, as seen in the Defold help documents. The problem is I’m not sure where to put this code or how it works.

I imagine it will take me at least a week or so to figure out what’s going on here.

I’ve tried the Orthographic and Cursor assets, but those were not easy to figure out and not as “plug and play” as suggested. They also have a lot of things I don’t fully understand yet going on in the code, such as lua modules. I figure if I will take the time to understand and set up an asset, I might as well use that time to create and implement my own solution.

This is frustrating because it’s delaying the fun part of building the game, but it’s a necessary part of the process. Another option is to hire someone to set up the camera how I want and pick back up with creating the actual game.

2 Likes