Coder Social home page Coder Social logo

ameliorate / buildstation-client Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 468 KB

Client for the BuildStation game. Probably needs a new name, but that will be decided later. Based moderately off the BYOND game Space Station 13.

Home Page: http://buildstation.proboards.com/

License: MIT License

C# 100.00%

buildstation-client's Introduction

BuildStation-Client

Client for the BuildStation game. Probably needs a new name, but that will be decided later. Based moderately off the BYOND game Space Station 13.

THIS WILL NOT BE UPDATED ANYMORE!

Look at https://github.com/Ameliorate/Buildstation-3 for the newest reposatory.

buildstation-client's People

Contributors

ameliorate avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

buildstation-client's Issues

Free Framework

I broke down after I saw how little progress you guys were making and decided to contribute my attempt at making a framework in C#.

Check out the repo I made Shared.

It has a lot of good code you guys could use with your projects. It is incomplete and has a lot of extra garbage but the network part and custom entity/component system I made is particularly useful.

Crash on startup

Upon calling the GetSprite method from anything in the object array, the game crashes.

Create names of objects to be referred to while rendering and inside the map array

It should end up giving names such as WallAB, FloorAE1, or SpaceASG1DSGR5. They should be nonrandom and assign objects in a predictable order. by going where the first wall generated would be WallA, second WallB, and so on until WallZ, then Wall1, eventually it would be WallAA, WallAB, eventually WallAZ, WallBA. I expect the point has been conveyed enough now.

I am partially finished so far but getting the actual name generation down is way to time consuming, so the names are just random numbers for now.

Map array causes multiple errors when assigning.

Error 1 Invalid token '[' in class, struct, or interface member declaration
Error 2 Invalid token '=' in class, struct, or interface member declaration
Error 3 Type expected
Error 4 Invalid token ';' in class, struct, or interface member declaration
Error 6 'Buildstation_Client2.Class.PhysicalObject.XPos' is a 'field' but is used like a 'type'
Error 7 The type or namespace name 'XPosAttribute' could not be found (are you missing a using directive or an assembly reference?)
Error 8 'Buildstation_Client2.Class.PhysicalObject.YPos' is a 'field' but is used like a 'type'
Error 9 The type or namespace name 'YPosAttribute' could not be found (are you missing a using directive or an assembly reference?)
Error 10 'Buildstation_Client2.Class.PhysicalObject.ZPos' is a 'field' but is used like a 'type'
Error 11 The type or namespace name 'ZPosAttribute' could not be found (are you missing a using directive or an assembly reference?)
Error 12 'Buildstation_Client2.Class.PhysicalObject.ObjectName' is a 'field' but is used like a 'type'

Found on line 41 of Class/PhysicalObject.cs

The array is defined in a different file but it doesn't work either if the array is defined in a different file.

Rendering, and how it should work

Basically, the render looks through the map array and gets the names of the objects to interface with. Then it asks the class for the sprite it has and a bit of information on things like rotation and size. After that, it temporarily stores that information in a few variables and the sprite in a buffer texture2d. After putting the necessary information in a spritebatch call, it moves onto the next tile.

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.