Ask coding questions

← Back to all posts
Is there a way I can create a 16 bit window in the console?
Terra361

I currently am attempting to create a game in the console using ncurses, but I was immediately faced with a big problem (if I'm going to be honest that happens really often). ncurses creates pixels, but they're HUGE pixels. So, any ideas?
Also, is there a way to do this with a different C++ library? (Please don't suggest creating a window with SDL or SFML, unless repl can somehow do that, by the way.)

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Terra361
Comments
hotnewtop
Coder100

Sorry, not possible :(
just expand your terminal, like maybe zoom out?

Terra361

@Coder100 how does that work? I have a halfhearted knowledge of C++

Terra361

@Coder100 Also, my screen is pretty small. So if I expand, the pixels are still pretty big.

Coder100

expand out? like zoom out? @Terra361

Coder100

@Terra361

i got it to that size

Terra361

@Coder100 That is exactly what I was looking for, but how do you do that?

xxpertHacker

@Terra361 I think he had just opened the Repl "run" link, in your case, that would be: https://A-Prestigious-Project.terra361.repl.run.

Coder100

yeah that's what I did @xxpertHacker

Coder100

sorry for the late reply, i just visited your repl.run link and did: ctrl+- @Terra361

RYANTADIPARTHI

The only way to do it is by dragging the window across. So when you hover over the edge of the terminal, your cursor will change, and just hold, and drag it. And it will expand.