Search found 40 matches

by Todespreis
Sun Apr 21, 2024 5:27 pm
Forum: Support and Development
Topic: [SOLVED] Mapping
Replies: 11
Views: 1272

Re: Mapping

Oh, love file, sorry.
Spiel1_mitTiles.love
(121.49 KiB) Downloaded 23 times
by Todespreis
Sun Apr 21, 2024 5:24 pm
Forum: Support and Development
Topic: [SOLVED] Mapping
Replies: 11
Views: 1272

Re: Mapping

Sure, here is it: local player local direction local ground local tilemap local num_tiles local tiles function love.load() FrameDuration = 0.08 FrameTimer = 0 FrameIndex = 1 FramesWalkingDown = { love.graphics.newImage("/Character_Sprites/going_down_01.png"), love.graphics.newImage("/...
by Todespreis
Sun Apr 21, 2024 4:35 pm
Forum: Support and Development
Topic: [SOLVED] Mapping
Replies: 11
Views: 1272

Re: Mapping

"Could not open file /DungeonTiles01/01.png does not exist." Like i mentioned before, my tiles starting at 11.png
by Todespreis
Sun Apr 21, 2024 4:25 pm
Forum: Support and Development
Topic: [SOLVED] Mapping
Replies: 11
Views: 1272

Re: Mapping

Exactly! But your code is'nt working. I get the same error ^^
by Todespreis
Sun Apr 21, 2024 3:47 pm
Forum: Support and Development
Topic: [SOLVED] Mapping
Replies: 11
Views: 1272

[SOLVED] Mapping

Hey there! I want to make my code a bit smaller? I'm trying to map the first dungeon in my game or just to map anything for the first time. So the code function love.load() tilemap = { {16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16}, {16, 16, 16, 16, 16, 16, 11, 12, 13, 12, 13, 12, ...
by Todespreis
Mon Mar 25, 2024 3:34 pm
Forum: Games and Creations
Topic: Simple Solitaire
Replies: 4
Views: 4226

Re: Simple Solitaire

Hey there! For me the game works really well. Thank you for that! I played it today the whole time in my Browser. I would like to port it on my handheld. Can you give me a permission for that?
by Todespreis
Wed Mar 13, 2024 8:43 am
Forum: Support and Development
Topic: [SOLVED] Question about Tilemap
Replies: 3
Views: 1907

Re: Question about Tilemap

Oh no, how embarrassing! Thank you so much, it works now ^^"
by Todespreis
Tue Mar 12, 2024 2:51 pm
Forum: Support and Development
Topic: [SOLVED] Question about Tilemap
Replies: 3
Views: 1907

[SOLVED] Question about Tilemap

Hey there! I'm trying to implement sort of a tilemap. I tried to understand the tutorial on https://sheepolution.com/learn/book/18 and i have some questions to it. So he says: "We use the variable names row and tile to make it more clear what is going on. We loop through the table tilemap, and ...
by Todespreis
Fri Dec 22, 2023 9:17 am
Forum: Support and Development
Topic: [SOLVED] Top Down Character Animation in 4 Different Directions
Replies: 6
Views: 19056

Re: [SOLVED] Top Down Character Animation in 4 Different Directions

Thank you very much for your help @RNavega! Yes, i had a problem with it at the beginning, as i gave an array of animation PNG's to a pointer, so i had to tell him, which animation is to be done at what point. And so i came to this solution. I still don't understand many things and i think, you can ...
by Todespreis
Wed Dec 20, 2023 9:04 pm
Forum: Support and Development
Topic: [SOLVED] Top Down Character Animation in 4 Different Directions
Replies: 6
Views: 19056

Re: [SOLVED] Top Down Character Animation in 4 Different Directions

Here is the code, that worked: local player local direction function love.load() FrameDuration = 0.1 FrameTimer = 0 FrameIndex = 1 FramesWalkingDown = { love.graphics.newImage("going_down_01.png"), love.graphics.newImage("going_down_02.png"), love.graphics.newImage("going_do...