-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
リソース周りを整理 #84
リソース周りを整理 #84
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,24 +7,24 @@ | |
bq.beams = []; | ||
|
||
// img | ||
var s_Player = 'res/img/player.png'; | ||
var s_ChatTail = 'res/img/chat_tail.png'; | ||
var s_PlayerWalkingImg = 'res/img/walk_anime.png'; | ||
var s_beam0 = 'res/img/star.png'; // TODO s_Beam0 にする (iwg) | ||
var s_SimpleBeamImg = 'res/img/simple_beam.png'; | ||
var s_smoke0 = 'res/img/smoke.png'; // TODO s_Smoke0 にする (iwg) | ||
var s_ImgPlayer = 'res/img/player.png'; | ||
var s_ImgChatTail = 'res/img/chat_tail.png'; | ||
var s_ImgPlayerWalking = 'res/img/player/walk.png'; | ||
var s_ImgBeam0 = 'res/img/beam/star.png'; | ||
var s_ImgSimpleBeam = 'res/img/beam/simple.png'; | ||
var s_ImgSmoke0 = 'res/img/beam/smoke.png'; | ||
|
||
// tmx | ||
var s_ShinjukuTmx = 'res/map/shinjuku.tmx'; | ||
var s_ShinjukuMapSet= 'res/map/shinjuku_mapset.png'; | ||
var s_StartVillageTmx = 'res/map/map_village.tmx'; | ||
var s_StartVillageMapSet= 'res/map/tile_village.png'; | ||
var s_SmallVillageTmx = 'res/map/map_small_village.tmx'; | ||
var s_SmallVillageMapSet = 'res/map/tile_small_village.png'; | ||
var s_ShinjukuTmx = 'res/map/shinjuku.tmx'; | ||
var s_ShinjukuMapSet = 'res/map/shinjuku_mapset.png'; | ||
var s_StartVillageTmx = 'res/map/map_village.tmx'; | ||
var s_StartVillageMapSet = 'res/map/tile_village.png'; | ||
var s_SmallVillageTmx = 'res/map/map_small_village.tmx'; | ||
var s_SmallVillageMapSet = 'res/map/tile_small_village.png'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. s_Tmx にしたかったけどMapSetは画像だからs_Imgのほうがいい?とか色々考えてると頭がフットーしそうだったのでここだけそのまま。インデント揃えただけ。 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ガミに聞こう!!! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TODOにして逃げた、あとで修正するっす |
||
|
||
// plist | ||
var s_PlayerWalkingPlist = 'res/img/walk_anime.plist'; | ||
var s_SimpleBeamPlist = 'res/img/simple_beam.plist'; | ||
var s_PlistPlayerWalking = 'res/img/player/walk.plist'; | ||
var s_PlistSimpleBeam = 'res/img/beam/simple.plist'; | ||
|
||
// sounds | ||
var s_BgmField = 'res/sounds/Field.m4a'; | ||
|
@@ -34,19 +34,19 @@ var s_SeNoDamage = 'res/sounds/NoDamage.mp3'; | |
|
||
var g_resources = [ | ||
//img | ||
{type: 'image', src:s_Player}, | ||
{type: 'image', src:s_ImgPlayer}, | ||
//{type: 'image', src:s_ShinjukuMapSet}, | ||
{type: 'image', src:s_StartVillageMapSet}, | ||
{type: 'image', src:s_SmallVillageMapSet}, | ||
{type: 'image', src:s_ChatTail}, | ||
{type: 'image', src:s_PlayerWalkingImg}, | ||
{type: 'image', src:s_beam0}, | ||
{type: 'image', src:s_smoke0}, | ||
{type: 'image', src:s_SimpleBeamImg}, | ||
{type: 'image', src:s_ImgChatTail}, | ||
{type: 'image', src:s_ImgPlayerWalking}, | ||
{type: 'image', src:s_ImgBeam0}, | ||
{type: 'image', src:s_ImgSmoke0}, | ||
{type: 'image', src:s_ImgSimpleBeam}, | ||
|
||
//plist | ||
{type: 'plist', src:s_PlayerWalkingPlist}, | ||
{type: 'plist', src:s_SimpleBeamPlist}, | ||
{type: 'plist', src:s_PlistPlayerWalking}, | ||
{type: 'plist', src:s_PlistSimpleBeam}, | ||
|
||
//fnt | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
画像は s_Img を接頭辞にする
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
というコメントがあるとうれしいっす