Coder Social home page Coder Social logo

reframework-d2d's People

Contributors

cursey avatar praydog avatar zweibein avatar

Stargazers

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

Watchers

 avatar  avatar

reframework-d2d's Issues

[Linux] Crash on Startup

Got reframework working but can't find a way to make reframework d2d work, I'm using Proton Experimental and dinput8 override, manually installed vcrun 2017 and dotnet 4.8 in case any of those made a difference, don't know how to generate log files but I'm glad to help with everything I can, that is if you want to support linux

[Feature Request] Match available functionality to REF draw API

Is your feature request related to a problem? Please describe.

Since the last D2D release v0.4.0 a bunch of new functions have been added to default REF draw API like:
draw.outline_circle(x, y, radius, color, num_segments)
draw.filled_circle(x, y, radius, color, num_segments)
draw.outline_quad(x1, y1, x2, y2, x3, y3, x4, y4, color)
draw.filled_quad(x1, y1, x2, y2, x3, y3, x4, y4, color)

and some others.

Describe the solution you'd like
Any chances of updating D2D and adding those functions?

Incorrect Premultiplied Alpha Blending

Problem:
Alpha Blending (aka transparent colors) behave differently from imgui and photoshop. Lower opacity adds dirtiness (blackness) to the color.

Possible reason:
RGB channels are multiplied by alpha twice.

Possible solution:

  1. Switch to Straight Alpha Blending
    or
  2. Manually divide RGB by alpha once(?).

Screenshots:
alpha_test

Details:
I looked it up here and here.

image

MHRise game still "Running" when exiting game.

This is an issue on the REFramework github also, but i thought i'd post it here also as i'm unsure which piece is at fault.

Effectively anytime when the game is closed it won't close out normally and the Monster Hunter Rise.exe gets stuck and has to be manually killed in the task manager.

The odd part for me is i've tested the following:

  1. With no mods only REframework - exits fine
  2. With the d2d plugin- exits fine
  3. MHR Tweaks mod - exits fine
  4. With MHR overlay mod - hangs on exit and requires kill from task manager
  5. With coavins dps - hangs on exit and requires kill from task manager.

Now i need to add it also did this when i was using the .lua script included in the mod on the nexus. The release.zip here doesn't seem to have that .lua and a friend of mine is running the coavins dps and MHR tweaks mod with the d2d.dll/lib files but not the .lua in the autorun.

So i'm uncertain if the issue is with REFramework itself, or if d2d is causing the issue when a .lua script calls on it.

[MH Rise] Game doesn't close properly

Hello, my game doesn't close down properly when I use this plugin with the scripts "village reminders" or "coavins dps". I guess that happes with any script that uses this pugin. The game closes its window, but MonsterhunterRise.exe never closes down and hangs there indefinitly. The only way to close it is via TaskManager and then all settings made in REframwork are not saved automatically (E. g. Overkill Mode settings from UI Scaler script).
Oh and it doesn't happen if the plugin is installed, but no script is using it.

Imprecise and low quality drawing

Problem:
The precision of positioning when using d2d.* is lower than when using draw.*. On videos below the health bar is drawn using draw.world_to_screen(monster.position). Using those coordinates in d2d.fill_rect gives pretty shaky results while draw.filled_rect is drawn smoothly.
The quality of text is also seems lower.

(Also maybe rename fill_rect to filled_rect to match one from imgui?)

Videos:
Using d2d: https://mega.nz/file/PXpmlYKZ#df7uouat9Y28nzCKqlW6FnvpFJ-Rq_kzUH39URPZLNM
Using imgui: https://mega.nz/file/6S42AK7L#0De71chimYuJ1y7VWPJE60x0f8EhKF0zrGGaiYMQBrE

Game freeze

Problem:
If something goes wrong in re.on_frame it shows an error or just returns from the function. When using d2d.register(init_fn, draw_fn) if something goes wrong in draw_fn the game gets completely frozen and we have to restart the game.

Desired behavior:
Show an error or/and return from the function so the game could continue running.

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.