Skip to content

u/Project_Entropy

In this archive from Jan 2023 to Mar 2023

4
posts
17
comments
2
media
64
score

Gotcha. Thanks for this. Actually looks very similar to my code chunk. I think we're both on the same track.

I tried multiplying by 15% actually ... And it looks ballpark right ... But on faster things like bullets its still noticeable when shooting horizontally versus vertically. I read an article that gave an equation, but it was a little above my head. Wondering if there's an easier way.

Anyhow. Thanks for your detailed reply! And good luck with your game!

1 points

That's an interesting approach, thanks Luskarian! Were you working in 2D by any chance?

I tried something similar in 3D, using a orthographic camera, and a whole bunch of problems arose, one being:

- When player moves up/down, they appear to move slower than when moving left/right due to orthographic camera's shrinking of perspective.

Did you encounter this and how did you get around that?

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.