-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created 1-1; Maked a Custom HUD (W.I.P)
- Loading branch information
1 parent
38b96ff
commit 805fd2e
Showing
78 changed files
with
985 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#0 | ||
$Timer,SetVar,1,1,300,-1,5,0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
[tileset] | ||
rows=6 | ||
cols=10 | ||
name="Cave, Ghosthouse, Castle A" | ||
type=0 | ||
|
||
[item-9-3] | ||
id=613 | ||
|
||
[item-6-3] | ||
id=528 | ||
|
||
[item-7-3] | ||
id=523 | ||
|
||
[item-6-2] | ||
id=488 | ||
|
||
[item-7-2] | ||
id=489 | ||
|
||
[item-6-0] | ||
id=452 | ||
|
||
[item-7-0] | ||
id=451 | ||
|
||
[item-7-1] | ||
id=449 | ||
|
||
[item-6-1] | ||
id=450 | ||
|
||
[item-8-1] | ||
id=453 | ||
|
||
[item-9-1] | ||
id=456 | ||
|
||
[item-8-2] | ||
id=454 | ||
|
||
[item-9-2] | ||
id=455 | ||
|
||
[item-2-0] | ||
id=426 | ||
|
||
[item-0-2] | ||
id=427 | ||
|
||
[item-0-0] | ||
id=425 | ||
|
||
[item-0-1] | ||
id=423 | ||
|
||
[item-1-1] | ||
id=422 | ||
|
||
[item-2-1] | ||
id=421 | ||
|
||
[item-1-2] | ||
id=419 | ||
|
||
[item-1-0] | ||
id=424 | ||
|
||
[item-5-1] | ||
id=415 | ||
|
||
[item-5-0] | ||
id=417 | ||
|
||
[item-4-0] | ||
id=418 | ||
|
||
[item-4-1] | ||
id=416 | ||
|
||
[item-6-5] | ||
id=538 | ||
|
||
[item-7-5] | ||
id=539 | ||
|
||
[item-9-5] | ||
id=411 | ||
|
||
[item-8-5] | ||
id=412 | ||
|
||
[item-1-3] | ||
id=413 | ||
|
||
[item-2-3] | ||
id=432 | ||
|
||
[item-0-3] | ||
id=433 | ||
|
||
[item-3-0] | ||
id=434 | ||
|
||
[item-3-2] | ||
id=435 | ||
|
||
[item-2-2] | ||
id=436 | ||
|
||
[item-9-0] | ||
id=301 | ||
|
||
[item-8-0] | ||
id=302 | ||
|
||
[item-8-3] | ||
id=78 | ||
|
||
[item-3-1] | ||
id=584 | ||
|
||
[item-4-3] | ||
id=540 | ||
|
||
[item-4-2] | ||
id=541 | ||
|
||
[item-6-4] | ||
id=635 | ||
|
||
[item-8-4] | ||
id=636 | ||
|
||
[item-7-4] | ||
id=637 | ||
|
||
[item-9-4] | ||
id=638 | ||
|
||
[item-5-2] | ||
id=575 | ||
|
||
[item-5-3] | ||
id=568 | ||
|
||
[item-4-5] | ||
id=414 | ||
|
||
[item-5-5] | ||
id=410 | ||
|
||
[item-0-5] | ||
id=532 | ||
|
||
[item-3-4] | ||
id=533 | ||
|
||
[item-0-4] | ||
id=512 | ||
|
||
[item-1-4] | ||
id=515 | ||
|
||
[item-2-4] | ||
id=513 | ||
|
||
[item-1-5] | ||
id=517 | ||
|
||
[item-3-5] | ||
id=518 | ||
|
||
[item-2-5] | ||
id=514 | ||
|
||
[item-4-4] | ||
id=187 | ||
|
||
[item-5-4] | ||
id=262 | ||
|
||
[item-3-3] | ||
id=530 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
File renamed without changes
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
//DragonCoins | ||
|
||
OnEvent,0,0,1,1002,0,DragonCoin1 | ||
OnEvent,0,0,1,1003,0,DragonCoin2 | ||
OnEvent,0,0,1,1004,0,DragonCoin3 | ||
OnEvent,0,0,1,1005,0,DragonCoin4 | ||
OnEvent,0,0,1,1006,0,DragonCoin5 | ||
OnEvent,0,0,1,1007,0,StarCollected | ||
OnEvent,0,0,0,1012,0,Timer - Start //Включает таймер (См.#1010) | ||
OnEvent,0,0,0,1011,0,Timer - Pause //Приостанавливает таймер (См.#1011) | ||
OnEvent,0,0,0,1016,0,Timer - Stop //Останавлиает таймер [ZA WARUDO] (См.1016) | ||
OnEvent,0,0,0,1017,0,Timer - Points //Превращает время в очки | ||
|
||
#-1 | ||
|
||
//Draw Pictures in Screen (CUSTOM HUD) | ||
|
||
LoadImage,1,0xDC00FF,0,0,0,mario-mask.png | ||
LoadImage,2,0xDC00FF,0,0,0,luigi-mask.png | ||
LoadImage,3,0xDC00FF,0,0,0,cross.png | ||
LoadImage,4,0xDC00FF,0,0,0,time.png | ||
LoadImage,5,0xDC00FF,0,0,0,coin.png | ||
LoadImage,6,0xDC00FF,0,0,0,star.png | ||
LoadImage,7,0xDC00FF,0,0,0,line.png | ||
LoadImage,8,0xDC00FF,0,0,0,dragon-coin.png | ||
LoadImage,9,0xDC00FF,0,0,0,dragon-coin-mask.png | ||
|
||
//Place Pictures (CUSTOM HUD) | ||
|
||
//PlaceSprite,1,#,X,Y,0,0 | ||
PlaceSprite,1,4,88,120 | ||
PlaceSprite,1,5,142,64,0,0 | ||
PlaceSprite,1,6,226,64 | ||
PlaceSprite,1,7,64,104 | ||
|
||
//Pull out the values of coins, lives, points from the game. (CUSTOM HUD) | ||
|
||
$CurrentCoins,SetVar,1,0,0,-1,1,0 | ||
$CurrentLifes,SetVar,1,0,0,-1,2,0 | ||
$CurrentPoint,SetVar,1,0,0,-1,4,0 | ||
$CurrentStars,SetVar,1,0,0,-1,3,0 | ||
$Timer,SetVar,1,1,0,-1,5,0 | ||
$TimerState,SetVar,1,0,0,-1,6,0 | ||
|
||
#0 | ||
LunaControl,2,1,0,0,0,0 | ||
//Assign values to coins, lives and points. (CUSTOM HUD) | ||
|
||
$CurrentCoins,LoadGlobalVar,0x00B2C5A8,0,0,0,0,w | ||
$CurrentLifes,LoadGlobalVar,0x00B2C5AC,0,0,0,0,f | ||
$CurrentPoint,LoadGlobalVar,0x00B2C8E4,0,0,0,0,f | ||
$CurrentStars,LoadGlobalVar,0x00B251E0,0,0,0,0,f | ||
|
||
Timer,0,1010,0,0,1,0 | ||
|
||
//Show (or paste) Custom variables (for HUD) | ||
$CurrentCoins,ShowVar,0,176,88,1,0, | ||
$CurrentLifes,ShowVar,0,104,88,1,0, | ||
$CurrentPoint,ShowVar,0,176,120,1,0, | ||
$CurrentStars,ShowVar,0,266,88,1,0, | ||
$Timer,ShowVar,0,104,120,1,0 | ||
|
||
//Display "PLAYER_NAME" (For HUD) | ||
OnPlayerMem,0xF0,1,0,1008,w | ||
OnPlayerMem,0xF0,2,0,1009,w | ||
#END | ||
#1008 //"Player Name" | ||
PlaceSprite,1,1,64,64,2,0 | ||
#1009 | ||
PlaceSprite,1,2,64,64,2,0 | ||
#END | ||
|
||
//Custom Timer | ||
#1010 | ||
Timer,0,1010,0,0,44,1 | ||
IfVar,0,0,1,1013,1,TimerState | ||
#1011 | ||
$TimerState,SetVar,1,0,0,-1,1,0 | ||
#1012 | ||
$TimerState,SetVar,1,0,1,-1,1,0 | ||
#1013 (Использует встроенный таймер, который триггерит #1011) (Выполняется каждый раз, когда зовут) | ||
Timer,0,1014,0,0,1,1 | ||
IfVar,0,2,1,1015,1,Timer | ||
#1014 (С каждой прошедшей командой, отнимается значение таймера на 1 и посылает сигнал в #1010) | ||
$Timer,SetVar,1,2,1,-1,1,0 | ||
#1015 | ||
Kill,0,0,0,0,1,0 | ||
Trigger,0,1016,0,0,1,0 | ||
$Timer,SetVar,1,0,0,-1,1,0 | ||
#1016 | ||
$TimerState,SetVar,1,0,0,-1,1,0 | ||
DeleteEventsFrom,1013,0,0,0,1,0 | ||
DeleteEventsFrom,1014,0,0,0,1,0 | ||
DeleteEventsFrom,1015,0,0,0,1,0 | ||
#1017 | ||
IfVar,0,1,0,1018,1,Timer | ||
#1018 | ||
$Timer,SetVar,1,2,1,-1,1,0 | ||
MemAssign,0x00B2C8E4,100,1,0,1,f | ||
Trigger,0,1017,0,0,0,0 | ||
#END |
Oops, something went wrong.