Guinea Pigs Wanted!

That is awesome, thanks for the changes, I will test it tonight. You need to make a youtube miniseries: “from retro to arduboy in few hours”.

I have so many game ideas but I never start anything.

1 Like

I am not sure! haha I was thinking on something different (original on top and current on middle):

Something really subtle, so distant guys do not distract the player. I am not sure, what does anyone else think?

Love it. There is something weird with the T still… but meh :blush:

I agree with @Vampirics, feels solid and responsive. I am on level 006 now.

Question, does the original one have cheap deaths with enemy spawns? I think that could be avoided not spawning enemies on adjacent blocks…

I am not sure at what level feedback starts to be annoying. I could test and fix those in your code

Easier fix could be to just add a 2 seconds delay before checking for collision when they spawn?

In fairness it’s more than a few hours, @filmote sinks quite a lot of time into making his games.

Maybe just “Retro gamedev with @filmote”.


@eried & @Vampirics, bear in mind every new feature or couple of features is another level lost and means more reflashing.

So … I tried this and it added a whopping 756 bytes to the program so that’s not going to happen.

“from retro to arduboy in few hours days” < sorry to look like @CDR_Xavier but strikeout is appropriate here. Actually, I might withdraw this post at a random date and time.

I think those little lines will be too subtle - it may be visible in the emulator but on the actual Arduboy screen I would be struggling to see it.

That’s the problem with a small 4x5 font. The even number of pixels in the width causes this. I actually think the wider M, W and V look weird but so be it.

The enemies are spawned back in the original spot they started. The do flash a few times before they stand upright - I will need to test but are you saying you die in this period if you touch them? If so, I can probably change that easily.

All feedback is welcome. Don’;t be offended if I simply say ‘no’ though to an idea because I don’t like it or I cannot fit it into the memory constraints of the Arduboy.

No new features will get it the way of the game having 40 levels !

2 Likes

Don’t forget TX RX LED’s are also available to use. If you read a few comments from the following post you may even save a little space using the correct macros.

The only downside would be if you had an active usb connection.

I can give this a try … but if it takes more memory it is probably going to be out!

I kind of frown upon using the TX and RX LEDs. They’re better left for their intended purpose. If used in a sketch, I think they should be reserved for debugging only, as I’ve done with nextFrameDEV().

That said, the proper way to use them is with the TXLED1, TXLED0, RXLED1 and RXLED0 macros.

@filmote, @eried

Is it just me or after level 7, the difficulty is just too much?

I am starting to think that the enemy AI might be the culprit there.
They seem to follow the general position of the player at all time, but that also means that if i am at the top of the stage, and they don’t have something to climb up next to them they just won’t go up. Hence the problem… there’s no way to lure them more than 1 by one unless they are visible on the screen.

So basically that means that everytime that i play, i can get most of the gold without problems, but if i ever have to drop to ground level, most of the time there’s like 5 enemies waiting under. So everytime a gold piece is in a enclosed wall and i need to dig and drop down. they all are waiting for me.

Couple things:

  • On levels with no ground level like lvl 9, when you dig the floor that isn’t there, they appear and refill at the top of the level. I don’t think it breaks the game so far but i just thought i should let you know.

  • I watched the AppleII version and in that version, the holes takes 6 seconds before starting to regenerate, in your version it’s after between 3-5 seconds (weird but it seems to not take the same amount of time depending on the level and how many holes there is), that might change the difficulty a lot on later levels.

  • I also notice that for some levels to be beatable, you have to use where the enemies respawn. On Lvl 25 for exemple, I checked your Levels.xlsm and did’t see the reentry point where it needs to be. So that level might be impossible to complete you can see on this screenshot that the gold (6) at the top right can’t be taken unless an enemy spawn there.

56

EDIT: After playing a little more on the lvl25 i noticed that there’s no reentry point, they just respawn at their initial position when we start the level. It confirme that some levels like lvl25 can’t be completed in the current version. It does look like you did plan to use reentry point but did not add them yet from looking at the legend in your file.

1 Like

Thanks @Vampirics … this is exactly the sort of feedback I am looking for.

New Features / Fixes

  • The player shouldn’t be able to dig on solid ground (obviously) so I have fixed that.

  • When I looked at the refilling of holes, I noticed that ones burnt to the left of a player were taking longer to fill than those burnt to the right. I had two different values - one as a constant and one as a #define. I increased the delay of the left by about 20% and made the right the same. This is stored in an #define called HOLE_REFILL_TIME and it is set to 220 which may be a little long. This value can be anywhere between 33 and 255 (as the code assumes its an unsigned char and as it counts down the hole begins to fill at 32).

  • With the re-spawning, I originally had the idea of specifying four reentry points as part of the level but removed it as I ended up randomly choosing the re-entry points or aligning them side by side with the starting points for enemies … eventually, I just pulled it out. But now it all makes sense and I have retrofitted the entry points and arbitrarily picked new values. Its interesting that the original level maker images doesn’t show reentry points so I assume the original randomly picked values.

  • With @MLXXXp’s help, I have changed the red LED. When committing suicide (the A + B button), its not so bright and it wanes as the player dies. Now @Keyboard_Camper can play the game under his bed covers without upsetting the rest of the family.

To Do

  • Sort out the ‘Men’ count after a restore.
  • Implement a level selector and ability to complete levels out of order.
  • Implement a ‘level exit’ arrow and possibly a green LED indicator.
  • Extend the hole ‘fill in’ time.

The new HEX can be found here > https://github.com/filmote/LodeRunner/tree/master/distributable
Source coed can be found here > https://github.com/filmote/LodeRunner/releases

3 Likes

I have had a look at this problem and really I am finding it hard to think of a good solution.

Currently, the players will always try to move towards you. If you are above them on a higher level, sometimes they simply oscillate backwards and forwards below you - even though there is a ladder two or three cells away.

Without some more complex AI that is possibly beyond me and the memory available, I am thinking of simply throwing some random elements into their movements which may overcome this. For the above example, if they start moving left then right then left again then I might ‘force’ them to move three or four elements before they get to choose a direction based on your position. If in this time they have passed a ladder, the natural direction choosing might take them up the ladder …

I have just completed a cut that incorporates some random actions in with the ‘AI’. It should address the issues mentioned above … but the downside is that sometimes the enemies run off in weird and wonderful directions.

Anyhow, I am seriously running low on PROGMEM and will need to spend some time trying to free up memory before I can add any enhancements. I even have small intro music piece contributed by @Vampirics that I want to include be as yet cannot due to memory …

The V0.94 hex can be found here > https://github.com/filmote/LodeRunner/tree/master/distributable
The code can be found here > https://github.com/filmote/LodeRunner/releases

@pharap if you are reading this, I am desperate for a few hundred bytes if you think you can find some.

Great! I can finally lure them where i want them better now. Thanks! Need to test some more now.

@filmote
Just noticed another thing. In the original game the enemies can walk over the other enemies that are in holes. In your version they can’t always do it for some reasons. And i believe its needed in some level to complete them.

I really like the gameplay even more now with the new AI.

download

3 Likes

I am sort of hoping that I might be the ginger one on the right.

2 Likes

They used to do that. I need to sort a couple of little issues out including this one which I have probably introduced. Sometimes the enemy goes into a ‘swinging’ stance even though the ground below is solid.

I think we are getting down to the low levels of details that will make the game ‘perfect’ or as close to ‘perfect’ as it can be on an Arduboy. Thanks again everyone @Vampirics, @eried, @Pharap, @Keyboard_Camper and @MLXXXp

2 Likes

I have just published a V0.95 and I can see my numbering sequence does not leave much room for additional releases!

New Features / Fixes

  • Green LED when user completes screen. The ‘Gold’ count at the bottom of the screen also shows this (as it is zero) but this is more obvious.
  • Fix the issue allowing enemies to run over the top of other enemies when they have fallen into a hole.

To Do

  • Sort out the ‘Men’ count after a restore.
  • Implement a level selector and ability to complete levels out of order.. I cannot see this happening due to limited space.
  • Implement a ‘level exit’ arrow and possibly a green LED indicator.
  • Extend the hole ‘fill in’ time. Any feedback on the current length - too long, too short?

The new HEX can be found here > https://github.com/filmote/LodeRunner/tree/master/distributable1
Source coed can be found here > https://github.com/filmote/LodeRunner/releases1

1 Like

To me the refill time is correct.

@filmote, sometimes there seems to be more gold in the stage than the number shown at the bottom of the screen. It happened to me twice so far. When it does happen since it goes negative it displays exclamation point and reverse exclamation point and a number.

Sounds like something could be wrong with the enemies getting the gold and clone it instead of just taking it? I dont know for sure…

@filmote, I’ll start ‘working’ right away :stuck_out_tongue:

Edit: I never actually played the original Lode Runner, so maybe it will be good having some new to the game play.

1 Like