mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
First successful attempt to implement rube ragdoll into the game. uncomment //type: rube at the bottom of ItemSettings.js to convert banana into invisible ragdoll (only visible in debug mode) - grabbing still pretty buggy.
This commit is contained in:
parent
135ed724d1
commit
ebc3da12fa
8 changed files with 2458 additions and 26 deletions
26
app/Game/Client/GameObjects/Items/Rube.js
Normal file
26
app/Game/Client/GameObjects/Items/Rube.js
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
define([
|
||||
"Game/Core/GameObjects/Items/Rube"
|
||||
],
|
||||
|
||||
function (Parent) {
|
||||
|
||||
function Rube(physicsEngine, uid, options) {
|
||||
Parent.call(this, physicsEngine, uid, options);
|
||||
}
|
||||
|
||||
Rube.prototype = Object.create(Parent.prototype);
|
||||
|
||||
Rube.prototype.createMesh = function() {
|
||||
};
|
||||
|
||||
Rube.prototype.destroy = function() {
|
||||
};
|
||||
|
||||
Rube.prototype.render = function() {
|
||||
}
|
||||
|
||||
Rube.prototype.flip = function(direction) {
|
||||
};
|
||||
|
||||
return Rube;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue