RPG LiteNetLib

From TRCCompSci - AQA Computer Science
Revision as of 13:41, 24 May 2019 by Admin (talk | contribs) (Created page with "=Requirements= You must follow the previous tutorial first: Example LiteNetLib. From this you will get a working client and server connection, you should be able to start...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Requirements

You must follow the previous tutorial first: Example LiteNetLib.

From this you will get a working client and server connection, you should be able to start one instance of the game as the client and one instance of the game as the server.

Making it into a game

Getting Squared.Tiled

This example will use a Tiled map for all of the visuals.

Extra Variables

Add the following extra variables:

        Map map;
        Layer collision;
        Vector2 viewportPosition;
        Squared.Tiled.Object sprite;
        string playerobject, other;