Giter VIP home page Giter VIP logo

ltw-client's People

Contributors

aliwoto avatar ammarfaizi2 avatar arthuriadx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

arthuriadx

ltw-client's Issues

Font Language Supporting in SAO

Languages in SAO

-> currently the only languages supported in the game, is English,
but I'm planing to support Japanese as well.

Which is why I added these assemblies in the /references directory:

  1. Cyotek.Drawing.BitmapFont.dll
  2. FontStashSharp.MonoGame.dll
  3. StbImageSharp.dll
  4. StbTrueTypeSharp.dll

That's why we don't need .xnb files in /F_M_G directory anymore.
But, there's a probability that windows platform don't support these texture drawing (I've already tested them in linux-x64, there is no problem here), so we have to test them in another platform as well.

Moving Graphic Elements Algorithm

I believe The algorithm used for MoveManger is not correct.
when you are trying to move the elements, it works fine, but when you try to move them behind another elements, they won't work correctly.
we have to work on it.

Current directory path of the game.

The definition of the static property ThereIsConstants.Path.Here is like this:

public static StrongString Here
{
	//get => Directory.GetCurrentDirectory();
	get => AppContext.BaseDirectory;
}

As you can see, I commented the Directory.GetCurrentDirectory().
We will use AppContext.BaseDirectory from now on, it means that using of the GetCurrentDirectory() in the game is prohibited from now on.
The reason is that the GetCurrentDirectory() won't give you the Actual path of the game.
For example in linux, if you enter following commands in the terminal:
$ cd ~
$ <Path_to_project>/SAO/bin/Debug/net5.0/linux-x64/SAO,
in this case, Directory.GetCurrentDirectory(), won't give you <Path_to_project>/SAO/bin/Debug/net5.0/linux-x64, rather it will give you your home path.

And one another thing:
Directory.GetCurrentDirectory() didn't use slash (or back slash in windows), so we had to attach it to the value.
However AppContext.BaseDirectory will use it in the end of the string, so we all codes like this:
ThereIsConstants.Path.Here + ThereIsConstants.Path.USlash + ...
should be edited.

Changing graphic workshop in LTW

Before not long ago, we used System.Drawing namespace for our graphic works on LTW game.
But now that we decided to make it cross-platform, we found that none of the features in System.Drawing namespace are supported in Linux platform.

So, we have to create one ourselves.

A new graphic workshop of our own.


Start Date: 15 Apr 2021.

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.