Search found 91 matches

by dusoft
Wed May 15, 2019 9:32 pm
Forum: Libraries and Tools
Topic: Lua Neural Network
Replies: 5
Views: 287

Re: Lua Neural Network

What's the code doing? I see some line only.
by dusoft
Sun May 05, 2019 10:09 pm
Forum: Games and Creations
Topic: Get mouse coordinates on a rotated "grid"
Replies: 13
Views: 5715

Re: Get mouse coordinates on a rotated "grid"

Maybe also check this: http://clintbellanger.net/articles/isometric_math/ It's not Isometric though. It's free rotation. Isometric math only accounts for a specific angle. But it will come in handy if I ever want to do isometric again. Sure, but 45 degrees could be easily changed to any degrees and...
by dusoft
Mon Apr 29, 2019 8:44 pm
Forum: Games and Creations
Topic: A simple two player game
Replies: 1
Views: 442

Re: A simple two player game

Seems to work on touchscreen PC. However, I don§t get the game.
by dusoft
Sat Apr 27, 2019 4:47 pm
Forum: Support and Development
Topic: Collision problem in my code [SOLVED]
Replies: 5
Views: 1685

Re: Collision problem in my code

Well, how about instead of removing thread, you ask what is not accurate and post the error (or pointing difference to a result you are aiming for)? Which variable, what value etc.
by dusoft
Sat Apr 27, 2019 9:25 am
Forum: Support and Development
Topic: Collision problem in my code [SOLVED]
Replies: 5
Views: 1685

Re: Collision problem in my code

Please, stop posting *just* your code and asking questions.

Ask concise questions with exact error Love/Lua is giving you and a sample of your code. Otherwise you are wasting time of other people.
by dusoft
Wed Apr 17, 2019 9:42 pm
Forum: Support and Development
Topic: Image Layering
Replies: 5
Views: 5751

Re: Image Layering

You could also use SVG images, something like https://github.com/globalcitizen/svglover
Color of SVG images is easy to change.
by dusoft
Wed Apr 17, 2019 9:38 pm
Forum: General
Topic: A hot potato
Replies: 4
Views: 7469

Re: A hot potato

Post your code. Also, this belongs to Support & Dev, not General.
by dusoft
Sun Apr 14, 2019 8:11 pm
Forum: Support and Development
Topic: Click to Move Question [SOLVED]
Replies: 5
Views: 5593

Re: Click to Move Question

Get the coordinates of player and the coordinates of click, then just add (or subtract step (e.g. 1) depending on which is higher) from player x,y until you get there (loop). If x,y equals click x,y, stop looping. You need to have two pairs of x,y variables - current player position, final player po...
by dusoft
Fri Mar 15, 2019 8:09 pm
Forum: Games and Creations
Topic: Get mouse coordinates on a rotated "grid"
Replies: 13
Views: 5715

Re: Get mouse coordinates on a rotated "grid"

Could this help? https://github.com/kikito/gamera I think it contains all the helper functions you need. You don't have to even use, just check the code. I can't find anything in the code that would help. Maybe just use that library as it offers all the basic functions you are having difficulties t...