Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Linux port#1

Open
rohanliston wants to merge 5 commits into
OneLoneCoder:master from
rohanliston:linux-port
Open

Linux port #1
rohanliston wants to merge 5 commits into
OneLoneCoder:master from
rohanliston:linux-port

Conversation

@rohanliston

@rohanliston rohanliston commented Dec 2, 2017

Copy link
Copy Markdown

Awesome stuff! Just discovered your videos and am thoroughly enjoying them.

If you're interested, I've ported CommandLineFPS to Linux (I believe it should work on OSX as well). The core code is mostly unchanged and should match the content of your video.

Main changes:

  • Replaced windows.h functionality with ncursesw equivalents
  • Tweaked movement speed to feel right - I guess ncursesw has a different timeout interval or something
  • Added a check to display a message if the window size is incorrect (and how much it needs to be resized by)

samvel1024, spagootie, Horki, kshepherd, saktush, keyboardcrash1, and guyVicky reacted with thumbs up emoji samvel1024, spagootie, Azelski, keyboardcrash1, and guyVicky reacted with heart emoji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /