Skip to main content

New answers tagged

1 vote

How to properly control speed of sprite scaling to create "hallway" effect

Pinhole camera basics for drawing lines in perspective What you're trying to implement is called a pinhole camera. You can easily implement this in code. If you do so, your demo will not be "...
Engineer's user avatar
  • 30.2k
0 votes
Accepted

How to properly control speed of sprite scaling to create "hallway" effect

Right now, all tiles are drawn from their "top-center", so the floor tile's origin is at (half_width, 0), the ceiling's is at (half_width, height), etc. The math will be simpler if you ...
Kevin Reid's user avatar
  • 5,543
1 vote
Accepted

What should I use as source of truth for sizing sprites?

Looks like your assets come from different sources and are not "syncronized". For the prototype or MVP it doesn't matter that much. Once you have a solid game on your hands you will probably ...
Kromster's user avatar
  • 10.7k

Top 50 recent answers are included