This commit is contained in:
ZakatTeamI2P 2026-05-19 14:09:39 +04:00
parent e59ac9f339
commit 908e9d7bca
5 changed files with 9 additions and 9 deletions

View file

@ -12,8 +12,8 @@ class Game_Player < Game_Character
#--------------------------------------------------------------------------
# * Invariables
#--------------------------------------------------------------------------
CENTER_X = ((Graphics.width / 4) - 16) * 4 # Center screen x-coordinate * 4
CENTER_Y = ((Graphics.height / 4) - 16) * 4 # Center screen y-coordinate * 4
CENTER_X = ((Graphics.width / 2) - 16) * 4 # Center screen x-coordinate * 4
CENTER_Y = ((Graphics.height / 2) - 16) * 4 # Center screen y-coordinate * 4
#--------------------------------------------------------------------------
# * Passable Determinants
# x : x-coordinate

View file

@ -78,7 +78,7 @@ class Spriteset_Map
@timer_sprite = Sprite_Timer.new
# Make lightbulb sprite
@bulb = Sprite.new(@viewport_lights)
@bulb.x = -80
@bulb.x = 0
if Graphics.width == 1280
@bulb.bitmap = RPG::Cache.light('bulb_16')
else

View file

@ -301,7 +301,7 @@ int Audio::getBGM_Volume() const{
return p->bgm_volume;
}
void Audio::setBGM_Volume(short value){
void Audio::setBGM_Volume(int value){
if(value > 100){
value = 100;
}else if(value < 0){
@ -320,7 +320,7 @@ int Audio::getSFX_Volume() const{
return p->sfx_volume;
}
void Audio::setSFX_Volume(short value){
void Audio::setSFX_Volume(int value){
if(value > 100){
value = 100;
}else if(value < 0){

View file

@ -134,7 +134,7 @@ void AudioStream::play(const std::string &filename, int volume, int pitch, float
stream.setPitch(_pitch);
if (offset > 0){
0 setVolume(FadeIn, 0);
setVolume(FadeIn, 0);
startFadeIn();
}

View file

@ -62,10 +62,10 @@ static const int atAreaW = autotileW * 4;
static const int atAreaH = autotileH * autotileCount;
static const int tsLaneW = tilesetW / 2;
/* Map viewport size */
static const int viewpW = 21;
static const int viewpH = 16;
//TODO: разные значения под разные разрешения экрана для оптимизации
static const int viewpW = 42;
static const int viewpH = 26;
static const size_t zlayersMax = viewpH + 5;