-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32e56e4
commit 3f8c59c
Showing
60 changed files
with
141 additions
and
90 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
Binary file not shown.
Binary file not shown.
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.
Binary file added
BIN
+154 Bytes
resources/assets/textures/blocksandtiles/blocks/grass/grass_botton.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
BIN
+170 Bytes
resources/assets/textures/blocksandtiles/blocks/grass/grass_side.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
BIN
+154 Bytes
resources/assets/textures/blocksandtiles/blocks/grass/grass_top.png
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.
Binary file added
BIN
+124 Bytes
resources/assets/textures/blocksandtiles/blocks/oak_logs/oak_botton.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
BIN
+124 Bytes
resources/assets/textures/blocksandtiles/blocks/oak_logs/oak_side.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
BIN
+124 Bytes
resources/assets/textures/blocksandtiles/blocks/oak_logs/oak_top.png
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.
Binary file added
BIN
+135 Bytes
resources/assets/textures/blocksandtiles/liquid/lava_stationary.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+135 Bytes
resources/assets/textures/blocksandtiles/liquid/water_stationary.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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
Empty file.
Empty file.
Empty file.
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 |
---|---|---|
@@ -1,22 +1,71 @@ | ||
--Backgrounds | ||
mainMenuBackground = nil | ||
mainMenuSettingsBackground = nil | ||
gameplayingpausemenu = nil | ||
playinggamesettings = nil | ||
worldCreationBackground = nil | ||
function InitializeAssets() | ||
DefaultTexture = love.graphics.newImage("resources/assets/texture.png") | ||
if DefaultTexture == nil then | ||
error("Erreur lors du chargement de la texture.") | ||
end | ||
TileTexture = love.graphics.newImage("resources/assets/terrain.png") | ||
GuiSprites = love.graphics.newImage("resources/assets/gui.png") | ||
BlockTest = lovegraphics.newImage("resources/assets/textures/debug/defaulttexture.png") | ||
DefaultTexture = lovegraphics.newImage("resources/assets/textures/debug/defaulttexture.png") | ||
GuiSprites = lovegraphics.newImage("resources/assets/gui.png") | ||
mainMenuBackground = lovegraphics.newImage("resources/assets/backgrounds/MainMenuBackground.png") | ||
mainMenuSettingsBackground = lovegraphics.newImage("resources/assets/backgrounds/Mainmenusettingsbackground.png") | ||
gameplayingpausemenu = lovegraphics.newImage("resources/assets/backgrounds/gameplayingpausemenu.png") | ||
playinggamesettings = lovegraphics.newImage("resources/assets/backgrounds/playinggamesettings.png") | ||
worldCreationBackground = lovegraphics.newImage("resources/assets/backgrounds/WorldCreationBackground.png") | ||
TileTexture = lovegraphics.newImage("resources/assets/terrain.png") | ||
ChunkBorders = lovegraphics.newImage("resources/assets/textures/debug/chunkborders.png") | ||
|
||
BlockTest = love.graphics.newImage("resources/assets/textures/blocks/Stone.png") | ||
ChunkBorders = love.graphics.newImage("resources/assets/textures/debug/chunkborders.png") | ||
-- Blocks/Tiles/liquids | ||
grassTopTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/grass/grass_top.png") | ||
grassBottomTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/grass/grass_side.png") | ||
grassSideTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/grass/grass_botton.png") | ||
|
||
airTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/air.png") | ||
|
||
bedrockTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/bedrock.png") | ||
|
||
coalTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/coal.png") | ||
|
||
cobbleTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/cobble.png") | ||
|
||
dirtTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/dirt.png") | ||
|
||
glassTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/glass.png") | ||
|
||
glowstoneTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/glowstone.png") | ||
|
||
goldTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/gold.png") | ||
|
||
gravelTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/gravel.png") | ||
|
||
ironTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/iron.png") | ||
|
||
oak_leavesTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/oak_leaves.png") | ||
|
||
oak_logsTopTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/oak_logs/oak_top.png") | ||
oak_logsBottomTexture = | ||
lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/oak_logs/oak_botton.png") | ||
oak_logsSideTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/oak_logs/oak_side.png") | ||
|
||
oak_planksTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/oak_planks.png") | ||
|
||
sandTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/sand.png") | ||
|
||
spongeTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/sponge.png") | ||
|
||
stoneTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/stone.png") | ||
|
||
stone_brickTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/stone_brick.png") | ||
|
||
bedrockTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/blocks/bedrock.png") | ||
|
||
lavaTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/liquid/lava.png") | ||
|
||
lavastationaryTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/liquid/lava_stationary.png") | ||
|
||
waterTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/liquid/water.png") | ||
|
||
waterstationaryTexture = | ||
lovegraphics.newImage("resources/assets/textures/blocksandtiles/liquid/water_stationary.png") | ||
|
||
oak_sapplingsTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/tiles/oak_sapplings.png") | ||
|
||
roseflowerTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/tiles/rose_flower.png") | ||
|
||
yellowflowerTexture = lovegraphics.newImage("resources/assets/textures/blocksandtiles/tiles/yellow_flower.png") | ||
end |