Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ophelia User friendly Network Multi-player game engine Albert Öhrling.

Similar presentations


Presentation on theme: "Ophelia User friendly Network Multi-player game engine Albert Öhrling."— Presentation transcript:

1 Ophelia User friendly Network Multi-player game engine Albert Öhrling

2 Project Goals It will be possible to program games as if they were local multiplayer titles.

3 Project Goals A set of basic systems to create games from.

4 Project Goals Testing on a local host

5 Tools JavaScript Node.js Express Socket.io Pixi.js

6 Design Clients handle the game logic. Server is an Express app that distributes messages between clients.

7 Design Game modules communicate with events and callbacks. All custom scripts are invoked on events.

8 Design Game Objects are modular and malleable Make your own!

9 Design Invisible game state synchronization Achieved with custom setters Only update state in response to sync

10 Design An easy to use interface from which developers can access everything they need from the engine.

11 Results All design goals were met.

12 Results The dependancies were very powerful Integrating them was easy.

13 Results Most importantly; making games with the engine is easy.

14 Results No testing in real environment

15 Results But some changes had to be made to fullfill the goals!

16 Problem Developers have to pay attention to on which machines their scripts execute.

17 Solution New network model. The server handles the logic. Games are run on the server. Clients are shell applications that send input and receive data about what they should render.

18 Problem Sending messages at the same time does not guarantee that they arrive simultaneously.

19 Solution Batch state changes that occur in the same update tick. Distribute them to the clients as a single message when the next tick begins.

20 Evaluation When problems arose I was able to solve them with good tools.

21 Evaluation Testing in a real environment would have been nice.

22 Further work Developing for a real environment

23 Further Work More engine features.

24 Questions?


Download ppt "Ophelia User friendly Network Multi-player game engine Albert Öhrling."

Similar presentations


Ads by Google