Search found 39 matches

by Todespreis
Mon May 06, 2024 8:47 pm
Forum: Support and Development
Topic: Have some troubles with Animation again
Replies: 9
Views: 809

Re: Have some troubles with Animation again

I don't get it - i changed the order of the functions and now it's working, but it only shows the first frame of the animation - so the index does'nt increase. Why? Is it because the function "currentAnimation" does not return anything back? function currentAnimation(animation, dt) animati...
by Todespreis
Thu May 02, 2024 5:44 pm
Forum: Support and Development
Topic: Have some troubles with Animation again
Replies: 9
Views: 809

Re: Have some troubles with Animation again

Thank you @RNavega for responding. I did so, but now i get the error: main.lua line 45: attempt to index upvalue 'player' (a nil value). I don't get it, why. :(
by Todespreis
Tue Apr 30, 2024 4:58 pm
Forum: Support and Development
Topic: Have some troubles with Animation again
Replies: 9
Views: 809

Re: Have some troubles with Animation again

Hey! Thank you for the reply. I did, what you said, but i get now an error in love.load.
by Todespreis
Tue Apr 30, 2024 11:50 am
Forum: Support and Development
Topic: Have some troubles with Animation again
Replies: 9
Views: 809

Re: Have some troubles with Animation again

@knorke oh, sorry, sure. And what a cool name! XD I'm from Germany, too btw ^^
by Todespreis
Tue Apr 30, 2024 10:58 am
Forum: Support and Development
Topic: Have some troubles with Animation again
Replies: 9
Views: 809

Have some troubles with Animation again

Hey there! I'm trying to implement an animation function, but it does'nt work well. Here is the code: local player local walkingDownAnimation local walkingLeftAnimation local walkingRightAnimation local walkingUpAnimation local tilemap local num_tiles local tiles function love.load() FramesWalkingDo...
by Todespreis
Tue Apr 23, 2024 5:05 pm
Forum: Support and Development
Topic: Grid based movement
Replies: 3
Views: 519

Re: Grid based movement

@darkfrei thanks! I'll try it out :D
@BrotSagtMist before putting it into my handheld, i'm trying it out on https://replit.com/@Todespreis/PlasticG ... s#main.lua
But there were no response for pressing the buttons, so i thought, i did something wrong
by Todespreis
Tue Apr 23, 2024 1:02 pm
Forum: Support and Development
Topic: Grid based movement
Replies: 3
Views: 519

Grid based movement

Hey there! I want to try to make a simple roguelike game, like Shiren The Wanderer. I want to make my character move grid for grid. And i thought about an implementation like this: function love.load() player = { grid_x = 0, grid_y = 0, pos_x = 0, pos_y = 0, speed = 10, size = 32, moving = false } e...
by Todespreis
Sun Apr 21, 2024 5:52 pm
Forum: Support and Development
Topic: [SOLVED] Mapping
Replies: 11
Views: 732

Re: Mapping

It's working fine now, thank you!
by Todespreis
Sun Apr 21, 2024 5:52 pm
Forum: Support and Development
Topic: [SOLVED] Mapping
Replies: 11
Views: 732

Re: Mapping

Oh, sorry. I thought, you want me to change it in the love.draw ^^
by Todespreis
Sun Apr 21, 2024 5:27 pm
Forum: Support and Development
Topic: [SOLVED] Mapping
Replies: 11
Views: 732

Re: Mapping

Oh, love file, sorry.
Spiel1_mitTiles.love
(121.49 KiB) Downloaded 14 times