Author Topic: NeoLemmix version of "Copycat Lemmings"  (Read 56083 times)

0 Members and 1 Guest are viewing this topic.

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #30 on: February 19, 2015, 03:52:44 AM »
Uploaded a new update. This one changes the behaviour with those diagonal corner gaps on levels where the 80px fall distance is set (which I'm now calling "Cheapo Mode", since I'm using it in general for Cheapo-conversion mechanics tweaks).

Let me know if you find any more issues. :)
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline Wafflem

  • Posts: 943
    • View Profile
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #31 on: February 19, 2015, 04:31:58 AM »
The trap in the bottom left of Fun 25 is still not working.
YouTube: www.tinyurl.com/YTWafflem
Twitch: www.twitch.tv/Wafflem467

Have level designer's block right now? Have some of my incomplete levels for LOTS of ideas!

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #32 on: February 19, 2015, 04:34:45 AM »
Weird. This one did work fine at one point. Previously, I was moving trigger areas downwards by one pixel, but I reverted this behaviour when it caused a lot of traps to not work (due to their trigger being too low). However, this one now seems to be too *high*. Assuming all traps worked in the original version and no errors anywhere along the conversion process whether in Essman's tool or my own (I'll check on all of these), this would suggest Cheapo may have been checking more than one pixel for trigger areas...
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline Essman

  • Posts: 139
    • View Profile
    • Ferret Face Games
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #33 on: February 19, 2015, 05:32:06 AM »
Assuming all traps worked in the original version and no errors anywhere along the conversion process whether in Essman's tool or my own (I'll check on all of these), this would suggest Cheapo may have been checking more than one pixel for trigger areas...

I looked at the sprites and the object info that came from the style extractor, and it all seems correct. The hit box area for that smasher trap is four pixels wide and two pixels tall, covering the middle of the trigger pad (one pixel above it too).

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #34 on: February 19, 2015, 06:06:18 AM »
So then, in NeoLemmix the trigger area should be the pad and one pixel below it (as NeoLemmix, like DOS lemmings, uses the pixel below the lemming's foot to check). I'll check on this to see if there's some error somewhere in the conversion on my side.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #35 on: February 19, 2015, 08:32:44 AM »
Alright - I checked; fixing the issue with this makes the Fun 12 (or somewhere around there xD) trap not work again. So, I'd say that either Cheapo was checking more than one pixel, or possibly was checking for trigger areas mid-step when lemmings step up a diagonal. (I did test both traps in genuine Copycat Lemmings to see if they worked properly there, and they do.) I did wonder if it might be an issue with calculating the hitbox in the conversion tool; but both traps' hitboxes are the same size so this is very unlikely. One possible simple workaround that shouldn't be an issue for many levels (if any at all) is to, instead of moving the hitbox down one pixel, just increase its height by 1.

One other thing I noticed was that the Fun 12 trap is meant to have "No Overwrite" set, but doesn't. I'll have to look into this too.
« Last Edit: February 19, 2015, 08:38:27 AM by namida »
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline Nepster

  • Posts: 1829
    • View Profile
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #36 on: February 19, 2015, 11:27:09 PM »
Just played through Fun. There were two things that bugged me:
- Lemmings step up only 5 pixels instead of the usual 6. Thus Fun 2 and Fun 23 seem to be impossible now.
- Lemmings get trapped by roots on earth levels. This happens for example on Fun 10 (if one builds up to the rightmost root) and again on Fun 23. This is no problem in Fun, just slightly annoying to me.

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #37 on: February 20, 2015, 03:13:50 AM »
Huh. It worked before the diagonal-gap tweak. I'll have to double-check on this. (I would guess both are caused by the same thing.)
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #38 on: February 21, 2015, 07:03:49 AM »
Uploaded a new attempt. This fixes the jumper distance as well as that *all* traps should be working now.

I've also thought of (though not yet implemented) a way to bring down the filesize a bit without needing to modify or add any formats. :) It may slow down the conversion process though.
« Last Edit: February 21, 2015, 07:11:39 AM by namida »
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline Wafflem

  • Posts: 943
    • View Profile
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #39 on: February 21, 2015, 12:08:35 PM »
The lemmings still get trapped in the big roots in the dirt levels as Nepster described (e.g. Fun 23).
YouTube: www.tinyurl.com/YTWafflem
Twitch: www.twitch.tv/Wafflem467

Have level designer's block right now? Have some of my incomplete levels for LOTS of ideas!

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #40 on: February 21, 2015, 12:21:02 PM »
This happens on the genuine version too; it's not unique to the NeoLemmix port. When he mentioned that before, I assumed he was talking about not being able to step up them when he should be able to; thus why I got confused and thought it was the same issue.

On a side note, I've looked at the other two issues listed under known issues:
- The objects not getting "no overwrite" properly: This is actually a difference between the true Copycat Lemmings levels and the Cheapo versions of them these were based on. And in fact; this trap not working (the one in Fun 12) is also an issue that's also present in the Cheapo versions of these levels, but not the genuine Copycat Lemmings. Thus, I guess there's nothing wrong with the code setup that was making this trap not work; instead this level is what's faulty - my initial method of "just move the trigger area down by one pixel" is perfectly fine!
- The horizontal flip issue, I still haven't come under any cases where this affects any Copycat Lemmings levels; regardless, I've added code to work around this issue as I can almost guarantee there will be Cheapo levels where this does come up involving custom styles (or possibly even the ONML ones).

EDIT: The first point, on even closer investigation, it appears the issue with Fun 12's trap might actually be with a difference in this object's trigger area between Copycat and Cheapo.
« Last Edit: February 21, 2015, 02:17:06 PM by namida »
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #41 on: February 21, 2015, 02:33:58 PM »
Uploaded attempt 6. This reverts the conversion of trap trigger areas to the way it was handled in the older versions (ie: same trigger area but moved down one pixel, to account for the difference in where Cheapo checks for trigger areas vs where NeoLemmix checks for them), with a manual tweak to the bear trap in the dirt style as this seems to have a difference between Copycat Lemmings and Cheapo. There's also a tweak to Fun 12 to set the bear trap there to No Overwrite just as it was in Copycat Lemmings; this is again a Copycat/Cheapo difference.

Finally, flipped objects should no longer be moved slightly off-position. :)

I haven't yet made that attempt to optimize the file sizes. That's the next goal, if no more issues arise (and I think it's safe to say they should mostly be ironed out by now).

I myself finally played this to some detail - not the entire game or even close; I so far played the first half of Fun, and the first handful of levels of Tricky and Mayhem (as well as a few other random ones). Definitely some great levels in here! :D
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline Essman

  • Posts: 139
    • View Profile
    • Ferret Face Games
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #42 on: February 21, 2015, 02:49:19 PM »
Uploaded attempt 6. This reverts the conversion of trap trigger areas to the way it was handled in the older versions (ie: same trigger area but moved down one pixel, to account for the difference in where Cheapo checks for trigger areas vs where NeoLemmix checks for them), with a manual tweak to the bear trap in the dirt style as this seems to have a difference between Copycat Lemmings and Cheapo. There's also a tweak to Fun 12 to set the bear trap there to No Overwrite just as it was in Copycat Lemmings; this is again a Copycat/Cheapo difference.

I apologize for the bugs and differences in those games. Sorry that you have to deal with them now, but I really appreciate this work. Playing these levels again is really fun!

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #43 on: February 21, 2015, 02:52:24 PM »
It's no worries! There's always subtle differences between engines - even the DOS versions of Orig and OhNo have some mechanics differences between each other, and DOS CustLemm has some differences again. Even within NeoLemmix, which attempts to be as consistent as possible (outside of "Cheapo Mode"), LPIII and LPIII Bonus Pack have one slight difference from all other players (specifically relating to the spawn point of lemmings dropping from entrances), while custom-built players have the option to choose between the instant and timed bombers (though use of timed ones is discouraged; but the option is there). In general, most levels are playable across any engine that supports all the features they use, unless they rely on unusual quirks or glitches.

Also, I remember back many years ago when I first discovered Cheapo and was bugging you on an almost-daily basis for "how do I do this" or "can you do this for me" and you helped out probably far more than you should've (maybe you remember the horribly-drawn "Lightning" graphic set I asked you to put together an STT file for?) - so I guess in a way, this is returning the favor! :D

That being said, if there's any other differences you know of off-hand that may affect the levels significantly, let me know so I can account for them sooner rather than later. :)
« Last Edit: February 21, 2015, 03:07:31 PM by namida »
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline Essman

  • Posts: 139
    • View Profile
    • Ferret Face Games
Re: NeoLemmix version of "Copycat Lemmings"
« Reply #44 on: February 21, 2015, 03:09:45 PM »
That being said, if there's any other differences you know of off-hand that may affect the levels significantly, let me know so I can account for them sooner rather than later. :)

I don't remember anything detailed about the physics in those games  :)
But I do have the source code for the games. Even though it's really poorly written uncommented beginner C++, I can do research to answer detailed questions about the physics. Or I can give you the code as necessary. But just playing the old games in an emulator or something is the best way to see how they worked.