digitalmars.D - A public domain game written in D
- Dukc (6/6) Feb 03 2017 http://lixgame.com/
- SimonN (9/15) Feb 03 2017 Hi, I'm the author, ask me anything. :-)
- Stefan Koch (4/22) Feb 04 2017 you need to make enums into static immmutable.
- SimonN (16/19) Feb 04 2017 I've pushed a fix by moved the code to runtime, the static
- Dukc (5/7) Feb 04 2017 I hope I didn't spoil the surprise. I thought that because it's
- SimonN (5/12) Feb 04 2017 No hard feelings! It's deliberately public, I want Lix
http://lixgame.com/ A public domain game very much like Lemmings. I'm almost sure some of you here have played Lemmings. NOTE: I have not made or even contributed to that project. I just stumbled upon it when surfing the net and thought you may be interested to hear.
Feb 03 2017
On Friday, 3 February 2017 at 21:14:48 UTC, Dukc wrote:http://lixgame.com/ A public domain game very much like Lemmings. I'm almost sure some of you here have played Lemmings. NOTE: I have not made or even contributed to that project. I just stumbled upon it when surfing the net and thought you may be interested to hear.Hi, I'm the author, ask me anything. :-) Lix is a Lemmings-like game with working singleplayer, but I'm still porting the networked multiplayer. I've deferred my announcement to the D community because multiplayer is still WIP. With dmd 2.073, Lix doesn't compile because CTFE can't initialize classes/struct pointers anymore. I'm working on this. Lix builds with 2.072 and earlier. -- Simon
Feb 03 2017
On Saturday, 4 February 2017 at 04:03:08 UTC, SimonN wrote:On Friday, 3 February 2017 at 21:14:48 UTC, Dukc wrote:you need to make enums into static immmutable. If you ever worked for you when using enums you were living dangerously.http://lixgame.com/ A public domain game very much like Lemmings. I'm almost sure some of you here have played Lemmings. NOTE: I have not made or even contributed to that project. I just stumbled upon it when surfing the net and thought you may be interested to hear.Hi, I'm the author, ask me anything. :-) Lix is a Lemmings-like game with working singleplayer, but I'm still porting the networked multiplayer. I've deferred my announcement to the D community because multiplayer is still WIP. With dmd 2.073, Lix doesn't compile because CTFE can't initialize classes/struct pointers anymore. I'm working on this. Lix builds with 2.072 and earlier. -- Simon
Feb 04 2017
On Saturday, 4 February 2017 at 08:50:42 UTC, Stefan Koch wrote:you need to make enums into static immmutable. If you ever worked for you when using enums you were living dangerously.I've pushed a fix by moved the code to runtime, the static asserts to unittested asserts. Thanks for your hint still; will keep in mind for the future. The problematic code was like this: class A { /* ... */ } struct B { A a; /* ... */ } enum B errorsNowDuringCTFE = /* ... */; I wrote this over a year ago, trying to find out just how much can be forced into CTFE. The compiler accepted it, and yeah, it worked cross-platform. I imagined that 'enum' and 'static immutable' were equivalent, even though that looked like a stretch. Keep up the good, aggressive compiler development that finds such latent bugs! -- Simon
Feb 04 2017
On Saturday, 4 February 2017 at 04:03:08 UTC, SimonN wrote:I've deferred my announcement to the D community because multiplayer is still WIP.I hope I didn't spoil the surprise. I thought that because it's public on GH you don't mind someone mention it. Anyway, interesting. My favorite language being used to remake one of my favorite games.
Feb 04 2017
On Saturday, 4 February 2017 at 16:29:05 UTC, Dukc wrote:On Saturday, 4 February 2017 at 04:03:08 UTC, SimonN wrote:No hard feelings! It's deliberately public, I want Lix discoverable by explicit searches for Lemmings-related projects. I'm glad you found it mature enough for a posting here. -- SimonI've deferred my announcement to the D community because multiplayer is still WIP.I hope I didn't spoil the surprise. I thought that because it's public on GH you don't mind someone mention it. Anyway, interesting. My favorite language being used to remake one of my favorite games.
Feb 04 2017