Re: Qonquest 2 - A simple strategy game written in D

2023-01-25 Thread Doigt via Digitalmars-d-announce
On Thursday, 26 January 2023 at 00:16:09 UTC, Hipreme wrote: WARNING: - Virus scanner activated on windows (but virus free thankfully), try checking if there is some way to not let that happen Keep in mind that most people that is going to play your game is not a computer expert, and

Re: Qonquest 2 - A simple strategy game written in D

2023-01-25 Thread TheZipCreator via Digitalmars-d-announce
On Thursday, 26 January 2023 at 00:49:03 UTC, Adam D Ruppe wrote: It is my fault for resizing, i used width,height instead of width_,height_ so it used the pre-scaled things. https://github.com/adamdruppe/arsd/commit/0019a7c6fb18453125b75aec465be7e5dce6f598 I think this also broke the mouse

Re: Qonquest 2 - A simple strategy game written in D

2023-01-25 Thread TheZipCreator via Digitalmars-d-announce
On Thursday, 26 January 2023 at 00:16:09 UTC, Hipreme wrote: On Wednesday, 25 January 2023 at 23:38:36 UTC, TheZipCreator wrote: I made a simple strategy game in D, as a sequel to another strategy game I made a while ago, but this time with graphics (the previous one was just in the terminal).

Re: Qonquest 2 - A simple strategy game written in D

2023-01-25 Thread Adam D Ruppe via Digitalmars-d-announce
It is my fault for resizing, i used width,height instead of width_,height_ so it used the pre-scaled things. https://github.com/adamdruppe/arsd/commit/0019a7c6fb18453125b75aec465be7e5dce6f598 I think this also broke the mouse thing since it didn't adjust for the title bar indeed and then the

Re: Qonquest 2 - A simple strategy game written in D

2023-01-25 Thread Adam D Ruppe via Digitalmars-d-announce
On Thursday, 26 January 2023 at 00:16:09 UTC, Hipreme wrote: The only button that works is the one that makes you lose. The function that dispatches click events to the in-game windows has a bug in its y coordinate. Click about a title bar width below a button and it will trigger. I

Re: Qonquest 2 - A simple strategy game written in D

2023-01-25 Thread Hipreme via Digitalmars-d-announce
On Wednesday, 25 January 2023 at 23:38:36 UTC, TheZipCreator wrote: I made a simple strategy game in D, as a sequel to another strategy game I made a while ago, but this time with graphics (the previous one was just in the terminal). I used `arsd.simpledisplay` for the graphics, although I

Qonquest 2 - A simple strategy game written in D

2023-01-25 Thread TheZipCreator via Digitalmars-d-announce
I made a simple strategy game in D, as a sequel to another strategy game I made a while ago, but this time with graphics (the previous one was just in the terminal). I used `arsd.simpledisplay` for the graphics, although I mostly just used the provided OpenGL 2 functions. For buttons that

WildCAD - a simple 2D drawing application

2023-01-25 Thread Johann Lermer via Digitalmars-d-announce
Hi, I'd like to announce a little project of mine that started some years ago as a C++ application and which I finally managed to port to D. It's called WildCAD and it's a simple 2D drawing program (you know - lines, circles and so on). It uses a command line interface inspired by AutoCAD