comencem a treballar amb gifs i paletes
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 7.9 KiB |
BIN
data/gfx/player1.gif
Normal file
BIN
data/gfx/player1.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
BIN
data/gfx/player1_power.gif
Normal file
BIN
data/gfx/player1_power.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 772 B |
BIN
data/gfx/player2.gif
Normal file
BIN
data/gfx/player2.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
BIN
data/gfx/player2_power.gif
Normal file
BIN
data/gfx/player2_power.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 772 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 KiB |
@@ -363,9 +363,11 @@ bool Director::setFileList()
|
||||
asset->add(prefix + "/data/gfx/title_dust.png", t_bitmap);
|
||||
asset->add(prefix + "/data/gfx/title_dust.ani", t_data);
|
||||
|
||||
asset->add(prefix + "/data/gfx/player.png", t_bitmap);
|
||||
asset->add(prefix + "/data/gfx/player1.png", t_bitmap);
|
||||
asset->add(prefix + "/data/gfx/player2.png", t_bitmap);
|
||||
asset->add(prefix + "/data/gfx/player.ani", t_data);
|
||||
asset->add(prefix + "/data/gfx/player_power.png", t_bitmap);
|
||||
asset->add(prefix + "/data/gfx/player1_power.png", t_bitmap);
|
||||
asset->add(prefix + "/data/gfx/player2_power.png", t_bitmap);
|
||||
asset->add(prefix + "/data/gfx/player_power.ani", t_data);
|
||||
|
||||
// Fuentes de texto
|
||||
|
||||
@@ -453,19 +453,19 @@ void Game::loadMedia()
|
||||
itemTextures.push_back(item6);
|
||||
|
||||
// Texturas - Player1
|
||||
Texture *player1 = new Texture(renderer, asset->get("player.png"));
|
||||
Texture *player1 = new Texture(renderer, asset->get("player1.png"));
|
||||
player1Textures.push_back(player1);
|
||||
|
||||
Texture *player1Power = new Texture(renderer, asset->get("player_power.png"));
|
||||
Texture *player1Power = new Texture(renderer, asset->get("player1_power.png"));
|
||||
player1Textures.push_back(player1Power);
|
||||
|
||||
playerTextures.push_back(player1Textures);
|
||||
|
||||
// Texturas - Player2
|
||||
Texture *player2 = new Texture(renderer, asset->get("player.png"));
|
||||
Texture *player2 = new Texture(renderer, asset->get("player2.png"));
|
||||
player2Textures.push_back(player2);
|
||||
|
||||
Texture *player2Power = new Texture(renderer, asset->get("player_power.png"));
|
||||
Texture *player2Power = new Texture(renderer, asset->get("player2_power.png"));
|
||||
player2Textures.push_back(player2Power);
|
||||
|
||||
playerTextures.push_back(player2Textures);
|
||||
|
||||
Reference in New Issue
Block a user