Search found 20 matches

by ATS
Mon Jun 06, 2022 5:50 pm
Forum: Support and Development
Topic: Problems with the animation
Replies: 3
Views: 1200

Re: Problems with the animation

Firstly, I was unable to see any form of animation. So I looked at the code. I don't know, why ju have 2 tickers... I changed speed to duration and counted ticks in seconds (see code below, but please note, I have done it on mobile) THANK YOU SO MUCH!!! I first tested it on my tablet (because I was...
by ATS
Mon Jun 06, 2022 12:40 am
Forum: Support and Development
Topic: Problems with the animation
Replies: 3
Views: 1200

Problems with the animation

Hello everybody. In my game I'm developing I have my animations system, but yesterday I discovered a problem with it. I made an executable and sent it to a friend to test, to my surprise, the animations came out MEGA-slow, but on my computer it's normal. I believe the problem is Delta Time(dt), I wi...
by ATS
Thu Apr 28, 2022 5:40 pm
Forum: Support and Development
Topic: UTF-8 decoding error
Replies: 6
Views: 2511

Re: UTF-8 decoding error

It worked!! Thank you to everyone who helped me :awesome:
by ATS
Wed Apr 27, 2022 11:48 pm
Forum: Support and Development
Topic: UTF-8 decoding error
Replies: 6
Views: 2511

UTF-8 decoding error

Hello, I was writing a text box for my game and when I went to "animate" the letters, I programmed it so that when the player pressed a button he would be able to skip the dialog. So far so good, but when I let the text finish by itself (ie without pressing a button) LÖVE gives me this err...
by ATS
Mon Apr 25, 2022 6:40 pm
Forum: Support and Development
Topic: Problems with the touch, due to the size of the window
Replies: 3
Views: 1486

Re: Problems with the touch, due to the size of the window

https://github.com/Vovkiv/resolution_solution there in source you found 2 functions for that case: 1. toScreen - which will translate non-scaled coordinates to scaled (for example, translate mouse coordinates to scaled in-game, so you can mouse-collision check for scaled buttons) 2. toGame - transl...
by ATS
Sun Apr 24, 2022 11:41 pm
Forum: Support and Development
Topic: Problems with the touch, due to the size of the window
Replies: 3
Views: 1486

Problems with the touch, due to the size of the window

Hi! I'm developing a game and I'm going to export it to mobile devices, I can already scale the screen image regardless of the user's resolution. But, the touch part doesn't agree with the scaled image, I'll give an example: Situation A) - (detail, the screen is at its default size) I have a button ...
by ATS
Sat Apr 16, 2022 5:27 am
Forum: General
Topic: Pokemon style movement
Replies: 17
Views: 10589

Re: Pokemon style movement

One more thing, I'm using the Windfield physics library and I'm having trouble colliding with this script you wrote, how can I solve this? Curious. A physics library for 2D tile-based walking? That's either super overkill, or else you've got a lot more going on in this game then you've mentioned so...
by ATS
Sun Apr 10, 2022 5:20 pm
Forum: General
Topic: Pokemon style movement
Replies: 17
Views: 10589

Re: Pokemon style movement

Hugues Ross wrote: Sun Apr 10, 2022 4:59 pm Unfortunately, I've never used that library. You'll have to check with someone else!
ok thank you so much for helping me ;)
by ATS
Sun Apr 10, 2022 4:13 pm
Forum: General
Topic: Pokemon style movement
Replies: 17
Views: 10589

Re: Pokemon style movement

If it's not too much trouble, could you show me some code with this mechanic in place? Sure! It isn't the cleanest implementation, but this demo I just threw together should help give you some ideas. It's a completely playable, so you can throw this into LÖVE and try it if you'd like. local tile_x,...
by ATS
Sun Apr 10, 2022 2:52 pm
Forum: General
Topic: Pokemon style movement
Replies: 17
Views: 10589

Re: Pokemon style movement

If it's not too much trouble, could you show me some code with this mechanic in place? Sure! It isn't the cleanest implementation, but this demo I just threw together should help give you some ideas. It's a completely playable, so you can throw this into LÖVE and try it if you'd like. local tile_x,...