I think I’m done with the quickstart
Let’s recap what I have so far:
- You can run the game in two browsers. One player hosts while the other player connects
- This is done through local connection. It should be possible to do multiplayer though I’m not sure about that yet
- Players can move
- Host can switch scenes
What I need to get done:
- Set up multiplayer and finding players online (Hard)
- Create spell logic e.g. pushing and damaging players (Complex but not hard… probably?)
- Ideally, this will be a physics engine kinda thing… basically people creating spells and effects only have to define a spell/push/damage/visuals and the engine will handle the rest
- I think this means that I’ll have a translator between something like:
- Spell: 5 push, 3 damage, 4 speed
- Unity: onHit, increase velocity by 3.25, etc etc
- Set up camera and camera movement to be isometric instead of first person (Should be simple)
- Create extremely basic spell visuals and graphics (Annoying)
- Like “pew” for firing a spell
- Arena and taking damage (Medium?)
Basically, my entire game needs to be worked on
Today:
Let’s… set up the camera and moving the camera.
- Camera should be isometric
- Camera can be moved with arrow keys or by moving the mouse to the edge of the screen
- Camera should be far back enough that players can see… a lot… but doesn’t have to be the entire arena
Work
I’m not going to list all my steps on what I’ve done like I did for the quickstart
- Got basic isometric camera working… well apparently it’s not true isometric but isometric-like
- It’s a top-down camera at an angle
- Can move camera using arrow keys or moving mouse to the edge of screen
- If holding down-right and mouse is on right, it should be identical to moving camera down-right
- If holding right and mouse is on right, it should be identical to moving camera right
- If holding left and mouse is on right, it should be identical to not moving camera
- Camera needs to be adjusted (starting position of camera) but otherwise it’s great! I’m really excited that it works so nicely