Git Product home page Git Product logo

genus's Introduction

Genus

2d MMO Engine WIP

Programed using C# and Visual Studio, OpenGL rendering using OpenTK and the game editor uses WinForms. Project currently configured against .net 4.5, when built all build files go to a root folder called 'GenusBuild'.

1: build all 4 projects:

   Genus2D - Engine shared code
   RpgEditor - Game editor
   RpgGame - Game client
   RpgServer - Server executable

2: use the editor to make some data.

   * Maps
   * Tilesets
   * Events
   * Sprites
   * Items & Projectiles
   * Crafting / Particles
   * Classes / Enemies / Drop Tables
   * Quests / Shops
   * System Data
  (more to come)

3: the build folder (GenusBuild) you have a file called /Data/ServerSettings.xml for server config

   For the database you need to host an SQL database using cloud based services such as amazon aws / Azure or on the host 
   computer, configure the SqlConnectionString for connection to your SQL database:
       
       <SqlConnectionString> CONNECTION_STRING </SqlConnectionString>
  1. run the server and client

    IP address and port settings can also be configured in /Data/ServerSettings.xml for remote 
    connections, make sure ports are opened on the firewall / network for that chosen (TCP):
        
        <ExternalIpAddress>127.0.0.1</ExternalIpAddress>
        <Port>55998</Port>
        
        (External IP is for the client to find the server, the server launches with 'LocalHost')
    
  2. create an account and login for testing. You can run all the .exe's from the same project folder however later it would be desirable to remove the editor and server .exe's when sending out the client, also some data files are only used by the server but the client does also use some so that all data doesn't have to be sent over the network. To confirm the full list later, but for example the server sends map data over the network (as events / map enemies change) and the client has no interaction with raw event data/commands.

  3. Some misc controller information (will be refined as the project develops):

    * WASD is movement
    * Space is action trigger (triggers events first, if no event can be triggered then it initiates the combat trigger)
    * Enter key to close a message box shown from an event (will change this at somepoint when the UI is better)
    * Escape key to return to logon screen
    * Left mouse interaction with some UI's, such as inventory, trade panel ect
    * Right mouse interaction with some UI's, such as inventory/trade panel, map entities (players/enemies/items)
    
    * In the game editor with the Event map tool selected: left mouse creates / edits an event, right click removes it 
    

genus's People

Contributors

jikoriko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.