Recent posts

#21
General Discussion / Re: Programming language discu...
Last post by namida - June 10, 2026, 01:48:56 PM
No worries about the derailing - this can easily be split off into its own thread. :)
#22
General Discussion / Re: Programming language discu...
Last post by JawaJuice - June 10, 2026, 01:30:11 PM
Quote from: kaywhyn on June 10, 2026, 01:04:21 PMI personally only have experience with C++, but I haven't coded in that language in over 15 years now, as the last time I did so was back when I was in college/university. Hence, I'm not sure how much it has in common with C#, let alone C, in terms of syntax, though it wouldn't surprise me if there are some similarities, especially with C. I recently re-installed Visual Studios on my machine again and am pleased that most of my assignments from the computer programming course I took all those years ago still compile properly ;)

Not wanting to derail the thread, but this is an interesting chat to me, so hey! As a C++ coder, C# is fairly easy to pick up because both languages share a common root in C. C# actually has a fair bit in common with C++ in terms of its syntax, the main architectural difference is around memory management, so C# is more like Java in that it's a managed language where garbage collection is automated. In C, you don't have that luxury at all and are completely responsible for your program's memory allocation and management through pointers (which makes it easily the most dangerous of the three to use if you don't know what you're doing!). Modern standards of C++ have introduced smart pointers, which makes memory management significantly easier, though it's still not fully automated. The reason C# is more suitable for GUI development though, is that it's closely tied to the .NET framework so has GUI elements built in that are almost drag-and-drop through Visual Studio, compared to C++, where you'd have to plug in third party libraries like Qt. Back in the day, we used to use MFC to build GUI apps but no-one in their right mind would choose that over C# these days! Good to hear that your old projects still compile in VS - I think you mentioned that before :thumbsup:
#23
NeoLemmix Levels / Re: Heart66 easy pack
Last post by kaywhyn - June 10, 2026, 01:14:56 PM
Quote from: 92Dexter11 on June 09, 2026, 06:09:13 PMI personally didn't really mind the lack of titles. Design-wise, the levels have a minimalistic feel that I quite enjoyed, and I feel the lack of titles helped complement that. That's just my opinion, though, I'm not really sure what the consensus of the lemmings forum is on levels without titles.

This point of view of yours is fine of course. I did think the level titles are for thematic reasons and hence are intentional. The only other pack I can think of that does something somewhat similar is All the Styles, where IIRC every level is simply titled the name of the style the level is made in. In fairness, the author did try to enroll the help of this community for better level titles, but when no one accepted their call for help, ultimately they just named every level of their pack with the graphic set name.

Admittedly, I'm a bit of a hypocrite since I myself am not so good with coming up with great level titles, though I personally wouldn't create an entire level pack where every level was called 01-Easy, 02-Easy, etc. Just my opinion here as well, and I know for certain I'm not the only one here with this viewpoint :P The user who played through and gave feedback on the All the Styles pack also thought the level titles could be but still found the pack to be good, for example. 
#24
General Discussion / Re: Programming language discu...
Last post by kaywhyn - June 10, 2026, 01:04:21 PM
Quote from: JawaJuice on June 10, 2026, 12:56:42 PMAh OK, makes sense. I would choose C# as well for that kind of desktop GUI app.

I personally only have experience with C++, but I haven't coded in that language in over 15 years now, as the last time I did so was back when I was in college/university. Hence, I'm not sure how much it has in common with C#, let alone C, in terms of syntax, though it wouldn't surprise me if there are some similarities, especially with C. I recently re-installed Visual Studios on my machine again and am pleased that most of my assignments from the computer programming course I took all those years ago still compile properly ;)
#25
General Discussion / Re: Programming language discu...
Last post by JawaJuice - June 10, 2026, 12:56:42 PM
Quote from: kaywhyn on June 10, 2026, 12:43:49 PMC#

Source code for NL editor:

https://bitbucket.org/namida42/neolemmixeditor/src/master/

Ah OK, makes sense. I would choose C# as well for that kind of desktop GUI app.
#26
General Discussion / Programming language discussio...
Last post by kaywhyn - June 10, 2026, 12:43:49 PM
#27
NeoLemmix Main / Re: Why should NL levels have ...
Last post by JawaJuice - June 10, 2026, 11:17:34 AM
Quote from: Guigui on June 10, 2026, 08:33:31 AMAhah I was just making this computation too, proving that the Lemmings forum is indeed populated with many maths people (but we welcome you too JawaJuice ;)).
So yes, clicking the random ID button and getting the same ID as an already existing levelis about as likely to happen as picking Donald Trump at random among the whole USA population ... which, when you come to think of it, means it can happen !

Ha, you do need some maths for computer programming ;) Interesting reading on the probabilities there though, guys! What language is NLEditor written in out of curiosity? I'd be interested how the Random ID button is implemented, presumably some kind of seeded rand function.
#28
NeoLemmix Main / Re: Why should NL levels have ...
Last post by Guigui - June 10, 2026, 08:33:31 AM
Quote from: Simon on June 10, 2026, 06:16:48 AMRight, re-rolled IDs or new-level IDs are unlikely to collide. ID is 64-bit integer (there are 2^64 possible IDs). Birthday problems will start around a billion levels (10^9 levels) with a 1 % to 3 % chance of collision. A sensible upper bound is that a million levels will ever exist. With a million levels, the chance of birthday collision is practically zero; it's around a millionth of a percent.

-- Simon

Ahah I was just making this computation too, proving that the Lemmings forum is indeed populated with many maths people (but we welcome you too JawaJuice ;)).
So yes, clicking the random ID button and getting the same ID as an already existing levelis about as likely to happen as picking Donald Trump at random among the whole USA population ... which, when you come to think of it, means it can happen !
#29
NeoLemmix Main / Re: Why should NL levels have ...
Last post by Simon - June 10, 2026, 06:16:48 AM
Yeah, these collisions come from taking an existing level, then re-saving it under a new name to make a new level. Here, the author should re-roll the ID for the new level. The editor has a button to re-roll. But the author must still deliberately click that.

If you copy-paste or save-as your level to make a new level, re-roll the ID for the new level.

Right, re-rolled IDs or new-level IDs are unlikely to collide. ID is 64-bit integer (there are 2^64 possible IDs). Birthday problems will start around a billion levels (10^9 levels) with a 1 % to 3 % chance of collision. A sensible upper bound is that a million levels will ever exist. With a million levels, the chance of birthday collision is practically zero; it's around a millionth of a percent.

-- Simon
#30
NeoLemmix Styles / Re: Style updates topic
Last post by namida - June 10, 2026, 12:24:40 AM
Quote from: WillLem on April 29, 2026, 03:43:34 AMUpdate to 'special' - added crystal exit as separate base/top images for upcoming RotL reissue.

As with the other proposals, changes to the official styles would need to see some discussion. And in this particular case - I feel like I would probably veto it anyway, on the grounds that the appropriate place for this piece, if it really must be used at all, is a (user)_special or rotl_special style, not an official style. (Any further discussion on this subject will need to go in its own topic, not this one.)

The other two have been updated in both the all-styles ZIP and the style manager.