![]() ![]() I tried to make both of these as simple as possible. Plus I don't even really know how to do it. it will be EVEN SLOWER, even clunkier, and much, much more confusing. but you are limited in the number of colors it will display. There are ways to display the image directly to the console. The image is a singular static image of a fixed size that takes up the whole screen You want to create a new window that just houses the image and does nothing else You'll see why when you look at the code belowĮach of these approaches assume the following: Working directly with WinAPI for a game is a horrendous choice. I know you said you didn't want to download any libs. But does require an additional download). is much much faster, and is much, much easier to write, use and understand. I've created 2 working examples for you below.ġ) Using WinAPI only (only works on Windows, is slow, is clunky, and is much more confusing, but does not require any additional downloads)Ģ) Using SFML (crossplatform - works on Windows, *nix, Mac. If you would have just started with a real window from day 1, you would have had a much easier time. ![]() It's especially difficult to add images as an afterthought. Usually it's much easier to use a proper window. and any attempt to use the console to make them usually twists the console into a mockery of its primary function. The console really just isn't designed with them in mind. another newbie that got sucked into the foreboding vortex of console games.Ĭonsole games are difficult to make. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |