Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
76868 committed Aug 18, 2023
1 parent e1adc10 commit 1d88f3c
Show file tree
Hide file tree
Showing 61 changed files with 10,484 additions and 0 deletions.
75 changes: 75 additions & 0 deletions 弾幕作りたい/data.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
var enemies = [
// enemy1が左から2匹直進する
{ type: "a", x: 15, item: true, hp: 8 },
{ type: "a", x: 15, item: true, hp: 8 },
{ type: "a", x: 15, item: true, hp: 8 },
{ type: "a", x: 15, item: true, hp: 8 },
{ type: "a", x: 15, item: true, hp: 8 },
// enemy1が右から2匹直進する
{ type: "a", x: 15, item: true, hp: 8 },
{ type: "a", x: 15, item: true, hp: 8 },
{ type: "a", x: 15, item: true, hp: 8 },
{ type: "a", x: 15, item: true, hp: 8 },
{ type: "a", x: 15, item: true, hp: 8 },
// { type: "b", x: 256, hp: 21 },
// { type: "b", x: 128, hp: 21 },

// enemy2が左から1匹ジグザグに移動する

// enemy2が左から1匹ジグザグに移動する

];

var createEnemy = {};
createEnemy["a"] = function (data) {

var enemy = new Sprite(32, 32);
// enemy.n= new Node();
enemy.image = core.assets.enemy1;
enemy.hp = data.hp;
// enemy.tl.moveBy(-64, 0, 50, enchant.Easing.QUAD_EASEINOUT);
// enemy.tl.moveBy(64, 0, 50, enchant.Easing.QUAD_EASEINOUT);
// enemy.tl.moveBy(64, 0, 100, enchant.Easing.QUAD_EASEINOUT);
// enemy.tl.loop();
enemy.centerX = data.x + getRandom(0, 330);
enemy.y = 50;
enemy.item = data.item;
enemy.on(Event.ENTER_FRAME, function () {

if (this.y > 560) this.remove();

// this.remove();



});
return enemy;
}
createEnemy["b"] = function (data) {
var enemy = new Sprite(32, 32);
enemy.scale (2,2)
enemy.image = core.assets.enemy2;
enemy.centerX = data.x;
enemy.y = 32;
enemy.item = data.item;
enemy.hp=data.hp;
enemy.tl.moveBy(-64, 0, 100, enchant.Easing.QUAD_EASEINOUT);

enemy.tl.moveBy(64, 0, 100, enchant.Easing.QUAD_EASEINOUT);


// enemy.tl.scaleTo(5, 5, 10)
// enemy.tl.loop();
enemy.on(Event.ENTER_FRAME, function () {


if (this.y > 560) this.remove();
});
return enemy;
}
var objectpool = [];
var objectpool2 = [];
var objectpool3 = [];
var objectpool4 = [];
var objectpool5 = [];
var objectpool6 = [];
Binary file added 弾幕作りたい/images/aba2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/back2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/baria.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/bbl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/bblbig (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/bblbig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/bblbig2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/bluebigbal.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/bluebigbal2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/bomb319-319 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/bomb319-319.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/enemy1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/enemy2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/enemy3.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/enemy3.3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/enemy3.4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/enemy3.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/gba.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/gba2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/gba22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/kaka.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/laser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 弾幕作りたい/images/map32.png
Binary file added 弾幕作りたい/images/mark.png
Binary file added 弾幕作りたい/images/nidlr.png
Binary file added 弾幕作りたい/images/nidlr2.png
Binary file added 弾幕作りたい/images/op.png
Binary file added 弾幕作りたい/images/ppl.png
Binary file added 弾幕作りたい/images/pt22.png
Binary file added 弾幕作りたい/images/raiden3 k.png
Binary file added 弾幕作りたい/images/rba.png
Binary file added 弾幕作りたい/images/rba2.png
Binary file added 弾幕作りたい/images/rba3.png
Binary file added 弾幕作りたい/images/rba4.png
Binary file added 弾幕作りたい/images/smrba.png
Binary file added 弾幕作りたい/images/wiez21.png
Binary file added 弾幕作りたい/images/wimn3.png
Binary file added 弾幕作りたい/images/zannki.png
45 changes: 45 additions & 0 deletions 弾幕作りたい/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="ja">

<head>

<meta charset="utf-8">
<!-- HACK: タイトルをつけましょう -->
<title>シューティング</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<link href="style.css" rel="stylesheet" type="text/css">
<script src="https://codefriendsdev.github.io/frameworks/enchant.js" defer></script>
<script src="https://codefriendsdev.github.io/frameworks/plugins/ui.enchant.js" defer></script>
<script src="https://codefriendsdev.github.io/frameworks/plugins/widget.enchant.js" defer></script>
<script src="https://codefriendsdev.github.io/frameworks/prototype/prototype.widget.enchant.js" defer></script>
<script src="https://codefriendsdev.github.io/frameworks/prototype/prototype.enchant.js" defer></script>
<script src="https://codefriendsdev.github.io/frameworks/prototype/prototype.ui.enchant.js" defer></script>
<script src="https://yoshitoimai.github.io/plugin.enchant.js/src/plugin/ex.enchant.js" defer></script>
<script src="https://codefriendsdev.github.io/frameworks/plugins/box2dweb/Box2d.min.js" defer></script>
<script src="https://codefriendsdev.github.io/frameworks/plugins/box2d.enchant.js" defer></script>
<script src="https://yoshitoimai.github.io/plugin.enchant.js/src/plugin/prototype.box2d.enchant.js" defer></script>

<script src="https://codefriendsdev.github.io/frameworks/common.js" defer></script>
<script src="data.js"></script>
<script src="main_titlestart.js"></script>
<script src="main_floor1.js" defer></script>
<script src="main_floor2.js" defer></script>
<script src="main_floor3.js" defer></script>
<script src="main_floor4.js" defer></script>
<script src="main_floor5.js" defer></script>
<script src="main_floor6.js" defer></script>

<script src="main_resultstart.js" defer></script>
<script src="main_create_player.js" defer></script>
<script src="main_gamestart.js" defer></script>
<script src="main_gamestart backup.js" defer></script>
<script src="./libs/gamepad/gamepad.min.js" defer></script>
<script src="main.js" defer></script>


</head>

<body>
</body>

</html>
Loading

0 comments on commit 1d88f3c

Please sign in to comment.