Like the movement of a car gear i want to limit the drag with some path. Also how can i use some circular path?
Thanks. that solved my problem. I read a file with tokenat, an without converting i directly put it into an array
Develop games in your browser. Powerful, performant & highly capable.
I have a 1D array. When i try do a simple math with the first element of the array, i got the same results.
There is a pacman clone template called eat em all
editor.construct.net
A simple experiment based on a code i found in hackernews
construct.net/en/free-online-games/lines-experiment-40665/play
news.ycombinator.com/item
I updated my old magnifying glass example with multi level zoom. Source code is included
construct.net/en/free-online-games/magnifying-glass-multi-level-40618/play
Just a prototype of my small game
https://www.construct.net/en/free-online-games/cute-sorter-29843/play
Just be careful! No undo option implemented yet.
stemkoski had a good tutorial about it
https://www.construct.net/en/tutorials/cloning-classics-pacman-171
You do not have permission to view this post
I created an old tutorial about isometric mouse snapping. Principles are same for drag&drop. But as oosyrag pointed, calculations will change depending on angle.
https://www.construct.net/en/tutorials/z-ordering-isometric-grid-749
int converts a value to an integer. If your bestscore is 283 then 283/100-> 2.83 int(2.83) gives you 2. And multiplying with 100 gives you back 200
On start of layout --> System -> Set value -> points -> int(bestscore/100)*100
There is an algorithm called Wave Function collapse.
https://github.com/mxgmn/WaveFunctionCollapse
https://www.youtube.com/watch?v=2SuvO4Gi7uY
Here is my example
https://drive.google.com/file/d/1SHsaU-Fj9RJuk6bXt0SIyv1wUwrDJVn-/view?usp=sharing
First of all an equation like 360/loopindex is not a good idea. Because first loop value will be 0. If there is 6 steps you can use loopindex*(360/6)
Second it doesn't look like a simple loop mechanism. You can check these articles
https://en.wikipedia.org/wiki/Fermat%27s_spiral
codeproject.com/Articles/1221341/The-Vogel-Spiral-Phenomenon