cruor / pandorasbox Goto Github PK
View Code? Open in Web Editor NEWCeleste mod adding various functionality.
License: MIT License
Celeste mod adding various functionality.
License: MIT License
Audio.Play should be inside HitSpring, otherwise the audio will play each frame
PandorasBox/Entities/DrivableCar.cs
Lines 244 to 251 in a9e1f16
When speed.X happens to be exactly 0, then facing will be 0, so sprites.scale.X = 0, which make sprites disappear
PandorasBox/Entities/DrivableCar.cs
Lines 113 to 124 in a9e1f16
Either we should check invincibility in OnCollideH, or we should check crashed when updating nitroActive
Currently if we enable invincibility, car crashes, then we (still on car) can no longer change the direction, but we can still press dash to make the car move, that's really weird
PandorasBox/Entities/DrivableCar.cs
Lines 352 to 362 in a9e1f16
PandorasBox/Entities/DrivableCar.cs
Lines 292 to 309 in a9e1f16
If we have upward speed, and we don't press dash, then there's no speed clamp in updateSpeed, ok that sounds reasonable
but hitting a left wall spring gives us upward speed and speed.X += 180f, so we will get speed.X = 564 after hitting such a spring
in this case if we hit a right wall spring, our speed will be 384 > maxSpeed * 0.85, so we will still crash into right wall!
maybe we should rewrite HitSpring to ensure that, if we hit a right wall spring, then our speed will be atmost 0 (or maybe atmost -180)
PandorasBox/Entities/DrivableCar.cs
Lines 312 to 315 in a9e1f16
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.