Search found 40 matches
- Wed Nov 22, 2023 6:08 pm
- Forum: Support and Development
- Topic: [SOLVED] Top Down Character Animation in 4 Different Directions
- Replies: 6
- Views: 11525
Re: Character Animation in different directions
Thank you very much for the fast reply, but that does'nt work in my case. Because i want to have more than 2 directions (top down). And as always, sorry for my bad english
- Wed Nov 22, 2023 4:10 pm
- Forum: Support and Development
- Topic: [SOLVED] Top Down Character Animation in 4 Different Directions
- Replies: 6
- Views: 11525
[SOLVED] Top Down Character Animation in 4 Different Directions
Hey there! I'm trying to animate my player character walking in different directions. So my Code for it is local player local direction function love.load() FrameDuration = 0.1 FrameTimer = 0 FrameIndex = 1 FramesWalkingDown = { love.graphics.newImage("going_down_01.png"), love.graphics.ne...
- Tue Nov 21, 2023 12:55 pm
- Forum: Support and Development
- Topic: [solved] Animation - For Limit Must Be A Number
- Replies: 10
- Views: 10742
Re: Animation - For Limit Must Be A Number
@MrFariator oh, thank you for the link! The reference manual is written by Roberto Jerusalimschy - the creator of Lua. I have a book written by him - Programming in Lua. But it is somehow harder to understand, than C programming. @ i see, where you are coming from, but considering a learning resourc...
- Sun Nov 19, 2023 3:04 pm
- Forum: Support and Development
- Topic: [solved] Sounds
- Replies: 1
- Views: 1314
Re: [solved] Sounds
Okay, it's literally the 2nd post in the Libraries section "
- Sun Nov 19, 2023 1:38 pm
- Forum: Support and Development
- Topic: [solved] Sounds
- Replies: 1
- Views: 1314
[solved] Sounds
Hello! Where do you get your sounds from? I mean like footsteps, door closing, bashing, enemy sounds etc...
- Sun Nov 19, 2023 11:25 am
- Forum: Support and Development
- Topic: [solved] Animation - For Limit Must Be A Number
- Replies: 10
- Views: 10742
Re: Animation - For Limit Must Be A Number
@zorg Why are you that grumpy? I'm still learning and due to not having anyone, who is familiar with Lua coding, besides of this forum, i only can ask an AI for help. So i think, it's a valid way to learn stuff. @darkfrei Hey there again! Your code worked, thank you again for it! Now i only have to ...
- Sun Nov 12, 2023 8:43 pm
- Forum: Support and Development
- Topic: [solved] Animation - For Limit Must Be A Number
- Replies: 10
- Views: 10742
Re: Animation - For Limit Must Be A Number
Hey darkfrei! Thank you very much for the fast reply. That's a good question, i did'nt define it anywhere. :ultraglee: I got the code from chat gpt and asked it to remove the image:getHeight function, because the code got pretty slow suddenly. I saw, that you animate your games with separated sprite...
- Fri Nov 10, 2023 7:17 pm
- Forum: Support and Development
- Topic: [solved] Animation - For Limit Must Be A Number
- Replies: 10
- Views: 10742
[solved] Animation - For Limit Must Be A Number
Hey there! I'm trying to animate my sprites without image:getHeight or Width. So here is my code for it: function newAnimation(image, width, height, duration) local animation = { spriteSheet = image, quads = {} } for y = 0, imageHeight, height do for x = 0, imageWidth, width do table.insert(animatio...
- Mon Jun 19, 2023 10:15 am
- Forum: Support and Development
- Topic: Image load? [SOLVED]
- Replies: 13
- Views: 5471
Re: Image load? [SOLVED]
@darkfrei thank you! You were right, if i'm writing only player instead of player.image, the picture displayed lose it's x and y components and gets drawn at left upper edge of the display. Now i have to figure out the annimation
- Mon Jun 19, 2023 9:45 am
- Forum: Support and Development
- Topic: Image load? [SOLVED]
- Replies: 13
- Views: 5471
Re: Image load?
@zorg Hey there! As i said on the first page, i'm trying to code on a handheld called GP2X and there is an early prot of love2d made by SCIENCE and ported by other guy. I#m not able to port the latest version, i have no idea, how to do it