Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - EricLang

#1
Lemmings Main / Re: Lemmix Next Project
November 13, 2026, 05:38:40 PM
Currently they have orange hair :)
#2
Lemmings Main / Re: Lemmix Next Project
November 12, 2026, 07:44:15 PM
https://github.com/ericlangedijk/misc/

Here 4 of the first experiments (game1...game4) png.
#3
Lemmings Main / Re: Lemmix Next Project
November 09, 2026, 08:37:19 AM
I did not write the angel yet. But my idea is that the player has 1 lemming available that can be spawned anywhere from the air (select angel and click in air).
The angel increases the chance to solve a level, because the levelgenerator cannot garantee that.
That saying: I am also working on a scoring system. Instead of solved yes/no some score will be calculated from the final game state.
Of course my development is quite slow right now, because the levels are really fun to play  8-)
#4
Lemmings Main / Re: Lemmix Next Project
November 07, 2026, 06:55:40 PM
Rogues are part of the mechanics. Their decisions are not random.
And so... they are not recorded, but reproducable.
#5
Lemmings Main / Re: Lemmix Next Project
November 07, 2026, 03:52:29 AM
Rogue lemmings (currently) do not use a skill. But the skill has not to be zero.
I'll show a few images soon, when I have my github in order again.
Indeed I was surprised to see that the levels actually are fun to play. They are quite challenging sometimes.
The rogue lemmings are also very funny and a good addition. Their mechanics still have to be finished.
There are a *lot* of usersettings as well, which can be random or set to low/medium/high.

style
size
floors
difficulty
time
lemmings
rescue
rogues
angel
entrances
exits
releaserate
traps
obstacles
gaps
density
decoration
steel
diversity
rocky
orthogonality
symmetry
stylemix
bias

It will still take at least 2 months before I release an alpha version.
#6
Lemmings Main / Re: Lemmix Next Project
November 07, 2026, 12:10:40 AM
Oh! No reaction :)
Anyway... The results are quite incredible. Gameplay is nice and the levels look absolutely insane.
#7
Lemmings Main / Lemmix Next Project
September 23, 2026, 02:23:08 PM
After a long time of chess programming I decided to go back to the lemmings.
It will take some time, but here are the core ideas of the upcoming Lemmix:

1. It will use the original mechanics, or very close to it.
2. Levels will be pseudo-randomly generated. (User can optionally decide on a number parameters of the level like density, style, size, platforms etc.)
3. A certain code will always lead to the exact same level.
4. There can be a certain amount of "Rogue Lemmings" which decide to do something on their own (like digging, building, climbing etc.) based on a quite low IQ.
5. There can be a certain amount of "Free Lemmings" which can be spawned by the user in mid air.

So there will be an infinite amount of levels available, reproducable for sharing.

The levelgenerator is still in its early stage. It is not very easy to produce something graphically acceptable / attractive.
I have not decided about all the details, the how and what on the above ideas.

I just want to let it know here :)
Ideas welcome of course.

Best Regards,
Eric
#8
Quoterelease: 720.6 real-clock-min/sec (617.2 game-clock-min/sec)
So that is 12 hours of replay-gameplay without graphics?
Not bad!
I am curious if you pre-allocate a large memoryspace before starting the game to fit in the history for each second.
By the way: are you aware of these new fixed-buffers in C# and this parameter-attribute [ConstExpected] (or [ContantExpected])?
Anway: curious to see the code:)

Question: how do i activate FF and going back etc.? Is there some doc with keybindings?

#9
With "is it worth it" I was refering to the technical implementation of saving states in between, while "just replaying from the beginning" could be more than fast enough. That is what I am curious about. Saving states in between is a time-consuming thing.
#10
The rewinding mechanism is interesting. The question is: is it worth it?
Looping through all frames, adjusting the terrain can be very fast.
With 128 lemmings running around + building + jobs (without graphics) I get around 24 hours of gameplay in one second.
With 1 lemming that I measured around 75 days of gameplay in one second.
Is rewinding to any moment not instant? Did you measure it? Curious :)
#11
Tech & Research / Re: Decompression question
November 07, 2024, 04:07:36 PM
I ported this decompression algorithm in 4 languages: delphi, c#, rust and zig. But I never dived into it, what it really does :)
I know it makes a lot of sense to check this checksum as well to be sure of a correct result.
#12
Interesting project. Is there sourcecode somewhere?
So you save compressed bitmap states each 17 frames? I was thinking: do you skip that if nothing changed in the terrain and only save the lemming/trap states in that case?

I am still amazed that they managed to do all this with so limited memory. Nowadays we use 30 or 100 MB to run Lemmings :)
#13
Lemmings Main / Re: The Neverending Lemmix Story
November 05, 2024, 10:12:53 PM
@WilLem: I am not yet sure about everything. There are quite some insane details to handle...
A level-boundary-forcefield is a very viable idea as well.


Regarding turn-around stuff: In Lemmix there was this call everywhere to CheckIfWeAreAtTheCeilingAndIfSoThenTurnAround :)
Which lead to strange situations sometimes. And yes: I think the builders turn at leveltop.

Steel in the dos-levels are virtual blocks, in 99.8% of the cases put behind the typical steel blocks.
I plan to make the tiles themselves to be 'made of steel'. Thus we have a pixel precise collision check.
More or less the same I plan to do with one-way-walls: pixelprecise instead of a virtual square.

Reveiling steel would be nice... but that is quite some insane task which requires double layers of terrain. I think it is too dramatic :)

QuoteHaha, I like your thinking, but... wouldn't this waste skills unnecessarily?
Yes!

The elevator bug (as I call it) is when a jumper gets stuck inside a one pixel gap and goes up the terrain. On my Lemmix github I think somewhere a bit hidden is that ccexplores testlevel dedicated to this.

Furthermore: I discovered that - directly after lemmings change action, for example from walker to miner - always the first animation of the new action is missed.
I think I want to change that.

In general the idea is to stay very close to the orginal mechanics but more precise.










#14
Lemmings Main / Re: The Neverending Lemmix Story
November 05, 2024, 09:58:38 PM
Quote from: Mindless on November 03, 2024, 08:23:17 PM
Quote from: EricLang on November 01, 2024, 11:01:21 AMC# (no control over memory, too slow: discarded)
C# is definitely viable for game development.  The only heap allocation that Golems (programmed in C#) does in the main game loop is the creation of save states for rewinding; everything else is pre-allocated or is allocated on the stack.  And .NET is definitely not too slow -- it can outperform C in some cases.  There can be challenges, for sure, but don't write it off.
True. C# is quite cool and can be very fast. But I really dislike lowlevel stuff and the garbage collection. Of course it is very good if you do not have any heap allocation!
#15
Lemmings Main / Re: The Neverending Lemmix Story
November 03, 2024, 08:21:58 AM
Very true. there is no rendering involved. It will be completely separated, it always disturbed me.
I know visuals are deeply embedded inside the existing Lemmix. And NeoLemmix as well I think. Loap I do not know what that is.
It was quite some work to skip frames fast exluding all visuals.
Zig is faster than C.