GithubHelp home page GithubHelp logo

bagoum / danmokou Goto Github PK

View Code? Open in Web Editor NEW
74.0 74.0 13.0 246.92 MB

A bullet hell engine for Unity.

Home Page: https://dmk.bagoum.com/docs/

License: Other

HLSL 0.86% C# 93.60% Python 0.21% ShaderLab 5.05% GLSL 0.12% CSS 0.04% HTML 0.12%
bullet-hell game-engine unity

danmokou's People

Contributors

bagoum 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  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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

danmokou's Issues

There are errors and missing imports after initial download.

I am new to using Github to download things, and even more new to creating bullet hells but have experience with unity. I followed the instructions on the set up website and when I loaded the project up there were errors as well as things saying they were not imported. I downloaded the textMeshPro and made sure I was running 2022.2.13, but there were still errors. An example would be when I try to run SiMP the menu loads and plays perfectly fine but when it tries to load the stage it throws this error:

"Frame 543: Exceptions occured within a task continuation. If this continuation is awaited by the main thread, then this error may be repeated.
One or more errors occurred. (Failed to load stage 1 for campaign simp.main)
Aggregate exception #1/1:
Failed to load stage 1 for campaign simp.main

at Danmokou.Scriptables.BaseCampaignConfig.LoadStageSceneOrThrow (Danmokou.GameInstance.InstanceRequest req, System.Int32 index) [0x00028] in D:\Unity\pls\Assets\Danmokou\Plugins\Danmokou\Danmaku\Scriptables\CampaignConfig.cs:62
"
And when I try to run the generic scene in Danmokou there are six errors preventing anything from being playing.

"NullReferenceException: Object reference not set to an instance of an object
Danmokou.UI.UIManager.Awake () (at Assets/Danmokou/Plugins/Danmokou/Danmaku/UI/UIManager.cs:122)

NullReferenceException: Object reference not set to an instance of an object
Danmokou.Player.PlayerController.Awake () (at Assets/Danmokou/Plugins/Danmokou/Danmaku/Player/PlayerController.cs:183)

NullReferenceException: Object reference not set to an instance of an object
Danmokou.VN.DMKVNWrapper.Awake () (at Assets/Danmokou/Plugins/Danmokou/Danmaku/VN/DMKVNWrapper.cs:25)

NullReferenceException: Object reference not set to an instance of an object
Danmokou.UI.XML.XMLPracticeSuccessMenu+<>c.b__2_0 (Danmokou.GameInstance.InstanceData i) (at Assets/Danmokou/Plugins/Danmokou/Danmaku/UI/XML/XMLPracticeSuccessMenu.cs:43)
BagoumLib.Extensions+<>c__DisplayClass13_02[T,U].<BindSubscribe>b__0 (T o) (at E:/Workspace/Suzunoya/BagoumLib/Extensions.cs:195) System.Reactive.AnonymousObserver1[T].OnNextCore (T value) (at /_/Rx.NET/Source/src/System.Reactive/AnonymousObserver.cs:67)
System.Reactive.ObserverBase1[T].OnNext (T value) (at /_/Rx.NET/Source/src/System.Reactive/ObserverBase.cs:34) BagoumLib.Events.Evented1[T].Subscribe (System.IObserver1[T] observer) (at E:/Workspace/Suzunoya/BagoumLib/Events/Evented.cs:39) System.ObservableExtensions.Subscribe[T] (System.IObservable1[T] source, System.Action1[T] onNext) (at /_/Rx.NET/Source/src/System.Reactive/Observable.Extensions.cs:63) BagoumLib.Extensions.BindSubscribe[T,U] (System.IObservable1[T] obj, System.Func2[T,TResult] element, System.Action1[T] cb) (at E:/Workspace/Suzunoya/BagoumLib/Extensions.cs:194)
Danmokou.Behavior.RegularUpdater.Listen[T,E] (System.IObservable1[T] obj, System.Func2[T,TResult] ev, System.Action`1[T] sub) (at Assets/Danmokou/Plugins/Danmokou/Core/Behavior/RegularUpdater.cs:31)
Danmokou.UI.XML.XMLPracticeSuccessMenu.BindListeners () (at Assets/Danmokou/Plugins/Danmokou/Danmaku/UI/XML/XMLPracticeSuccessMenu.cs:43)
Danmokou.Behavior.RegularUpdater.EnableUpdates () (at Assets/Danmokou/Plugins/Danmokou/Core/Behavior/RegularUpdater.cs:21)
Danmokou.Behavior.RegularUpdater.OnEnable () (at Assets/Danmokou/Plugins/Danmokou/Core/Behavior/RegularUpdater.cs:46)

NullReferenceException: Object reference not set to an instance of an object
Danmokou.Behavior.Items.PoC.Awake () (at Assets/Danmokou/Plugins/Danmokou/Danmaku/Behavior/Items/PoC.cs:17)"

I am guessing something did not get downloaded and I may have overlooked it in the set up, but I have done it twice and tried to make sure I did everything right, but I am not sure where to go from here.

Lasers/Pathers do not render in style/color order

Simple bullets are rendered first in order of style, then in order of color, then in order of newness. This is handled via the renderQueue variable passed into the material that is then drawn via instancing. The same renderQueue offsets are applied to lasers and pathers, but they render only in order of newness. This is because the renderer sortingOrder variable, which is incremented on each laser/pather summon to ensure order by newness, takes priority over the material renderQueue variable.

It is unclear if this needs to be fixed at all, but if it does, the cleanest method may be to subdivide the sortingOrder region and use sortingOrder exclusively. See the implementation in Items.

Issues with v10.0.0

I'm not sure if I've done something wrong, but I can't get v10.0.0 working. I've got a seemingly functional v9.0.0 checkout (I haven't looked beyond BasicSceneOPENME, but that works fine), but when I try to get v10.0.0 working, I get a pile of errors and the play area is just a black box when the game is run.

These are the runtime errors:
image

And these are the warnings I get when I trigger a recompile:
image

And here is the game view when run:
image

About Godot...

Hello. I found out this engine while searching for free cross-platform engine for danmaku. This may serve as a mega-thread to easily log issues for godot.

Issues:

  • Supports C# and expression trees (See: Godot supports mono)
  • Supports indirect mesh instancing
    (See: This tutorial is enough of a proof that Godot supports it.)
  • Supports property blocks on materials (added to godot via this commit, this is the case since godot 3.2.2)
  • Supports efficient zero-allocation mesh reassignments

Last one requires testing on my side. I also need to know how danmokou handles those things.

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.