Comments (13)
Can you provide more details? Do you mean that you want the ability to load languages for your application? If so, what sort of external file format did you have in mind to use?
from magicallife.
Supporting multiple languages for the GUI text/other game text was the goal in mind. I'm open to suggestions for the external file format, but off the top of my head I would most likely favor .resx files or json.
from magicallife.
Hehe. I was going to actually suggest using resx files to be quite honest.
from magicallife.
Given that this is a .net game, resx would be very convenient.
from magicallife.
I was looking over the classes and noticed Item durability is not being stored in the MagicalLifeAPI.World.Base namespace under MagicalLifeAPIStandard.
/// <summary> /// /// </summary> /// <param name="name">The display name of the item.</param> /// <param name="durability">The durability of the item.</param> /// <param name="lore">Any text accompanying the item.</param> /// <param name="location">The location of this item.</param> /// <param name="stackableLimit">How many items of this kind can be in one stack.</param> /// <param name="count">How many of this item to create into a stack.</param> /// <param name="itemID">The ID of this item.</param> protected Item(string name, int durability, List<string> lore, int stackableLimit, int count, Type itemType, string textureName, double itemWeight) { this.Name = name; this.Lore = lore; this.StackableLimit = stackableLimit; this.CurrentlyStacked = count; this.ItemID = ItemRegistry.ItemTypeID.First(x => x.Value == itemType).Key;//slow this.TextureIndex = AssetManager.GetTextureIndex(textureName); this.TextureName = textureName; this.Validate(); this.TextureIndex = AssetManager.GetTextureIndex(this.TextureName); this.ItemWeight = itemWeight; }
Was this intentional? If not, should I add a durability property or remove it from the constructor?
from magicallife.
Definitely unintentional. If you'd like, please add a durability property. Durability isn't used right now, but will be someday in the future.
from magicallife.
On the MagicalLifeGuiWindows I have two comments regarding, the NewGameButton GetTexture method. First, it doesn't seem to be used anywhere. Secondly is it possible that it could work better as a constant?
from magicallife.
I'm almost ready to push what I have so far, but I wanna test it. The thing is I keep getting a crash when I try to create a new world on the MagicalLifeGUIWindows project. I've fixed the recursive log error but still seem to keep getting a chunk null exception. Perhaps you can look at the repo version I have see what the issue could be.
from magicallife.
from magicallife.
from magicallife.
I pulled from the main branch because I had no reason to not believe it was the most up to date version until I checked the other branches.
from magicallife.
from magicallife.
My apologies. It was my fault it crashes. I was not paying to ProtoUtil's number system.
from magicallife.
Related Issues (20)
- Remove Serilog dependency
- 2K Resolution support
- Art Needed
- Sound Fx Needed
- Job Selection Tools HOT 9
- Need ability to select inventory item when queuing and action
- In Game GUI Buttons Broken HOT 1
- Mined Stone Doesn't Disappear HOT 4
- Art Needed #2
- Settings Menu HOT 6
- Imprecise GUI
- Items Don't Render Anymore
- Test Multiplayer Capabilities
- Occassional issues saving HOT 4
- Flickering On Screen
- Move to .Net Core
- Error Reporting Page HOT 3
- Character Inventory
- XP System
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magicallife.