Skip to content

The snake is too fast #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

LyubomirT
Copy link

This pull request makes the snake 2x slower by making it move every 16 frames (instead of 8).

Copy link

vercel bot commented Jul 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
snake-y ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2024 6:23pm

@programmer-rahul
Copy link
Owner

@LyubomirT I don't think the snake is too fast. Its current speed feels normal and makes for good gameplay. It does't seem too hard to play. If you still think the speed is an issue, please let me know.

@LyubomirT
Copy link
Author

@programmer-rahul Sorry, it seems like the game simply is not framerate-independent. Since I run the game on a high-end laptop, the FPS is very high, and this causes the snake to move too quickly.

@programmer-rahul
Copy link
Owner

Hi @LyubomirT,

Thanks for the clarification. If you can make the game framerate-independent, that would be great.

Thanks!

@LyubomirT LyubomirT closed this Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants