Coder Social home page Coder Social logo

Work on new features for EE about emptyepsilon HOT 8 CLOSED

daid avatar daid commented on July 24, 2024
Work on new features for EE

from emptyepsilon.

Comments (8)

ErikDeBruijn avatar ErikDeBruijn commented on July 24, 2024

Hi @vslotman
I've done some work on the joystick support:
https://github.com/ErikDeBruijn/EmptyEpsilon/commits/joystick-support

Also, as you probably already know I've created some code to use the REST API of EE for creating effects in the physical environment (smoke system, strobe and alarm signal light). This can be found here:
https://gist.github.com/ErikDeBruijn/ebef5db43fe224969b40

from emptyepsilon.

daid avatar daid commented on July 24, 2024

Cool. I'll comment on the things to help you along!

Joystick support is also somewhere on our wish list. Joystick reading is easy:
http://www.sfml-dev.org/documentation/2.3.1/classsf_1_1Joystick.php
But getting it to work nicely with the network code might be a bit of a bitch.

Heal/damage hull trough scripting can be done already:

ship:setHull(ship:getHull() - 10)

But that won't destroy the ship when hull reached 0.

But adding script functions for the "takeDamage" and "takeHullDamage" functions of the SpaceShip class won't be bad.

I changed the "energy low" handling a while back. It used to set all the power sliders to 0.1, but that was unclear. Now it shows Low energy on all controls, and sets effectiveness of subsystems to 10% max.

Jumpgates sound more like wormholes. Then again, same thing, different graphics. Shouldn't be too hard. Add a small (or big) random factor on the output position, else multiple ships jumping after each other might cause some collision issues.

The new hardware config isn't finished yet. Didn't test it with actual hardware yet. And is the result of a request here: http://bridgesim.net/discussion/122/external-interfaces#Item_10
I'm most likely going to change a few things in how it needs to be configured in the upcoming week. As right now it does not really support "events" only "states", so having a light up when the shields are on works. But having a flash when you are hit does not.
Depending on how your hardware setup is, this could be a good or a bad thing to use. The HTTP API is more powerful, that is for sure. The idea of the new hardware config is that you can use it with stock hardware, like DMX-512 hardware.

from emptyepsilon.

daid avatar daid commented on July 24, 2024

And for the GM screen changes. I just committed a few changes towards that. But I want to use the other half of the retrofit screen have the ability to change beam weapons.

I think another dialog which can change status of ships will be in order. So you can change damange and heat levels of systems, damage&repair shields/hull, change the energy level, and weapon storage amounts.

from emptyepsilon.

vslotman avatar vslotman commented on July 24, 2024

Thanks for the comments guys! :D
I just did a pull-request for the wormholes.

I'm now looking at changing what happens when energy/hull drops to 0.
How do I use the DamageInfo-class from scripts?

from emptyepsilon.

daid avatar daid commented on July 24, 2024

Just pushed changes so you can tweak heat and system damage from the GM screen.

Let me work on the damageInfo from script thing, as that's where dragons are :-)

from emptyepsilon.

vslotman avatar vslotman commented on July 24, 2024

Cool, thanks! :D
I'll get to it later this week...

from emptyepsilon.

amir-arad avatar amir-arad commented on July 24, 2024

why rest client? why not use websocket?

from emptyepsilon.

kwadroke avatar kwadroke commented on July 24, 2024

@amir-arad See: #13 (comment)

from emptyepsilon.

Related Issues (20)

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.