Search found 34 matches

by Todespreis
Tue Apr 23, 2024 5:05 pm
Forum: Support and Development
Topic: Grid based movement
Replies: 3
Views: 220

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: 220

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: 255

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: 255

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: 255

Re: Mapping

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

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: 255

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: 255

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: 255

[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: 778

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?