Pitfall
Re: Pitfall
Alpha version 0.010
This build adds the following : -
Added game over send effect
Further optimisations and code cleanup
Fixed : Stopped falling sound and losing points when falling into swamp - should only lose a life and play death sfx
Fixed : Stopped player being hit by logs when falling into holes and making him judder up an down
Getting close to a final release
This build adds the following : -
Added game over send effect
Further optimisations and code cleanup
Fixed : Stopped falling sound and losing points when falling into swamp - should only lose a life and play death sfx
Fixed : Stopped player being hit by logs when falling into holes and making him judder up an down
Getting close to a final release
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Bug in previous version - that's what happens when your still coding at 2am in the morning
Alpha version 0.011
This build adds the following : -
Fixed : Stopped drowning sequence falling through to lower level and not killing you
Alpha version 0.011
This build adds the following : -
Fixed : Stopped drowning sequence falling through to lower level and not killing you
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Coming along nicely.
Bug - occasionally (best kind of bug) the game doesn't seem to correctly initialise a screen leading to duplicates.
Bug - occasionally (best kind of bug) the game doesn't seem to correctly initialise a screen leading to duplicates.
Castle Defender, Untitled Dungeon Game, Night Ninja, Wordle, Waffle, Acorn Island, Beebchase, Ghostbusters
- Cybershark
- Posts: 741
- Joined: Wed Jun 14, 2006 11:16 pm
- Contact:
Re: Pitfall
Yep, I can verify that. Sometimes just the rope, not the duplicate scorpion. One remains static while the other animates.
Was going to report on the fall-through lakes but see that's been fixed now
Another thing I've just noticed - which seems to date back a few versions - is a glitch when walking over a (static) log repeatedly. When the log is redrawn after the character passes, the vertical offset of the redrawn part seems to be off. This increases on every subsequent walk over until it reaches this height:
Re: Pitfall
Thanks both, the duplication bug will be me going crazy cleaning up the code and optimising without thinking through the consequences
That second bug I’ve not seen before, but will look into it later tonight
Things to do before the final release
Fix the 2 bugs
Revisit the rope logic
Check quicksand timings
Add pause
Add sound on / off
Add game escape
Add joystick support
Add clean reset when break hit
Think that’s everything
That second bug I’ve not seen before, but will look into it later tonight
Things to do before the final release
Fix the 2 bugs
Revisit the rope logic
Check quicksand timings
Add pause
Add sound on / off
Add game escape
Add joystick support
Add clean reset when break hit
Think that’s everything
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Both bugs fixed
Wasted 2 hours last night trying to fix the second one and gave up at 1am, slept on it and 5 mins this morning it was fixed
There was a missing CLC
Need to look at the other missing features next
Wasted 2 hours last night trying to fix the second one and gave up at 1am, slept on it and 5 mins this morning it was fixed
There was a missing CLC
Need to look at the other missing features next
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Quick update to say I’ve added the Escape key to end the current game and Escape gain to exit the game cleanly.
Started to rewrite the swamp annimation and vine swinging code, but have completely broken the game as its started locking up.
I need to go back to a previous git version and start this bit of coding again, but I’m feeling drained at the moment
Started to rewrite the swamp annimation and vine swinging code, but have completely broken the game as its started locking up.
I need to go back to a previous git version and start this bit of coding again, but I’m feeling drained at the moment
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
- Cybershark
- Posts: 741
- Joined: Wed Jun 14, 2006 11:16 pm
- Contact:
Re: Pitfall
You have been going pretty flat-out on this. Puts almost all of the other coders on here to shame!
Take a breather and get your head straight again
Take a breather and get your head straight again
Re: Pitfall
Alpha version 0.012
This build adds the following : -
Fixed reported duplicate errors
Fixed reported log background corruption bug
New vine swing code, thanks again to ChrisB for further help in the optimisation of it.
Added Pause On / Off
Added Sound On / Off
NB Long key presses required on both P and S
Added Escape from current playing game
Added Escape from game - clean reset
Added clean reset when using Break
Still need to look at the quicksand animation code as it's not correct compared to the Atari 2600 version, and I also need to add joystick support
This build adds the following : -
Fixed reported duplicate errors
Fixed reported log background corruption bug
New vine swing code, thanks again to ChrisB for further help in the optimisation of it.
Added Pause On / Off
Added Sound On / Off
NB Long key presses required on both P and S
Added Escape from current playing game
Added Escape from game - clean reset
Added clean reset when using Break
Still need to look at the quicksand animation code as it's not correct compared to the Atari 2600 version, and I also need to add joystick support
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
- TobyLobster
- Posts: 622
- Joined: Sat Aug 31, 2019 7:58 am
- Contact:
Re: Pitfall
I've noticed that when traversing the screens from right to left, after losing a life you respawn on the left hand side, allowing you to skip the screen. Is this authentic / expected behaviour?
Re: Pitfall
Yep authentic, you always restart on the left hand sideTobyLobster wrote: ↑Thu Feb 16, 2023 8:48 pm I've noticed that when traversing the screens from right to left, after losing a life you respawn on the left hand side, allowing you to skip the screen. Is this authentic / expected behaviour?
Also thanks for trying and let me know if you come across any bugs that need fixing that I don't know about.
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
- Cybershark
- Posts: 741
- Joined: Wed Jun 14, 2006 11:16 pm
- Contact:
Re: Pitfall
Moving to the right, this screen seems to still be intermittently problematic:
Re: Pitfall
I’ll take another look at the code and I’m still also investigating the quicksand timings
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Alpha version 0.013
Hopefully fixed duplication on scorpion - seems it was taking longer than a vsync frame to build the screen
Accurate quicksand animation - but code needs further optimising
Notes about quicksand
Original Atari 2600 version takes 51 cycles every frame
Quicksand stays open for 2 seconds and goes away for 3 seconds
Animation to grow and shrink quicksand changes every 4 frames
Between frame counts 18 and A7 it's not there
Between frame counts BC and FF it's fully there
NB
Seems when you first enter the scene the quicksand opens and closes fast before settling down - need to look at this
Hopefully fixed duplication on scorpion - seems it was taking longer than a vsync frame to build the screen
Accurate quicksand animation - but code needs further optimising
Notes about quicksand
Original Atari 2600 version takes 51 cycles every frame
Quicksand stays open for 2 seconds and goes away for 3 seconds
Animation to grow and shrink quicksand changes every 4 frames
Between frame counts 18 and A7 it's not there
Between frame counts BC and FF it's fully there
NB
Seems when you first enter the scene the quicksand opens and closes fast before settling down - need to look at this
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Alpha version 0.014
Fixed initial scene enter with quicksand
Further optimisation of quicksand - still needs a bit more though
Give the following build a try and see what you think
Fixed initial scene enter with quicksand
Further optimisation of quicksand - still needs a bit more though
Give the following build a try and see what you think
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Good progress.
Couple of noted issues.
The gold/treasure dosen't seem to reset on starting again once collected (Presume it's meant to).
I was killed by quicksand that I couldn't see - on the first screen with quicksand only if you enter at the "wrong" time you can sink into the ground without the quicksand being visible.
Couple of noted issues.
The gold/treasure dosen't seem to reset on starting again once collected (Presume it's meant to).
I was killed by quicksand that I couldn't see - on the first screen with quicksand only if you enter at the "wrong" time you can sink into the ground without the quicksand being visible.
Castle Defender, Untitled Dungeon Game, Night Ninja, Wordle, Waffle, Acorn Island, Beebchase, Ghostbusters
Re: Pitfall
Thanks I'll take a look and yes It should reset, I think I also notice there was some treasure not showing but could be collected.ChrisB wrote: ↑Sun Feb 26, 2023 9:48 pm Good progress.
Couple of noted issues.
The gold/treasure dosen't seem to reset on starting again once collected (Presume it's meant to).
I was killed by quicksand that I couldn't see - on the first screen with quicksand only if you enter at the "wrong" time you can sink into the ground without the quicksand being visible.
This version contains the nuLA support, no other code changes though
Example
*EDIT
Treasure reset fixed in next build
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Alpha version 0.016
This fixes the treasure reset when starting a new game
Game over now plays little game over tune - Not much memory left though
Further optimisation added on a lot of functions to reduce bytes and cycles
*Edit
I've been moving code around and made further optimisation to gain more memory to play with
This fixes the treasure reset when starting a new game
Game over now plays little game over tune - Not much memory left though
Further optimisation added on a lot of functions to reduce bytes and cycles
*Edit
I've been moving code around and made further optimisation to gain more memory to play with
Code: Select all
-----------------------------------------------------------------
Pitfall Memory Map
-----------------------------------------------------------------
End of ZP : &61
Font Size : &A0
Tile Size : &1C0
Sprite Size : &580
Object Size : &400
Pond Size : &258
SFX Size : &4AA
-----------------------------------------------------------------
Bytes Used : &2DD8
Bytes Free : &228
-----------------------------------------------------------------
NB Bytes Free before paged aligned sprite mask storage : &7
-----------------------------------------------------------------
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
- Cybershark
- Posts: 741
- Joined: Wed Jun 14, 2006 11:16 pm
- Contact:
Re: Pitfall
I have still encountered invisible treasure when moving west through the game - but it shouldn't make any difference which way you travel, should it? Think there may still be something up with the tar pit timing too...
Still, it's incredibly inspiring to see what you've accomplished with this
Still, it's incredibly inspiring to see what you've accomplished with this
Re: Pitfall
Thanks for testing, not had anytime to look as work / life is getting in the way, but I’m going to have to add some sort of GOD mode so I can do a proper test of the game.Cybershark wrote: ↑Thu Mar 02, 2023 1:03 pm I have still encountered invisible treasure when moving west through the game - but it shouldn't make any difference which way you travel, should it? Think there may still be something up with the tar pit timing too...
Still, it's incredibly inspiring to see what you've accomplished with this
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Added special keys display, in the bottom right (like zalaga and galaforce)
Was going to look at the invisible treasure tonight but have come down with flu and a headache so I'm going to have to give it a miss
Was going to look at the invisible treasure tonight but have come down with flu and a headache so I'm going to have to give it a miss
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Get well soon.
Re: Pitfall
Feeling well enough to plod on with this
Alpha version 0.017
This fixes the hidden treasure bug
Added special keys display
Added Game over box
Added Well done box (if you collect all 31 pieces within the time limit)
Well done Game Over Money Bags Treasure Ring Treasure
NB Need to re-look at the quicksand code next and then try and add joystick support which I've never done by bypassing the MOS
Alpha version 0.017
This fixes the hidden treasure bug
Added special keys display
Added Game over box
Added Well done box (if you collect all 31 pieces within the time limit)
Well done Game Over Money Bags Treasure Ring Treasure
NB Need to re-look at the quicksand code next and then try and add joystick support which I've never done by bypassing the MOS
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Alpha version 0.018
This versions contains the following: -
Fixed quicksand timings - seems to be working fine as I've been testing it.
Fixed clock countdown - seems once it reached 00:00 it went to 99:99 instead of actually ending game
Added new fonts for clock and score - as I didn't like the other one.
NB Only joystick support to add before an official release
Enjoy
This versions contains the following: -
Fixed quicksand timings - seems to be working fine as I've been testing it.
Fixed clock countdown - seems once it reached 00:00 it went to 99:99 instead of actually ending game
Added new fonts for clock and score - as I didn't like the other one.
NB Only joystick support to add before an official release
Enjoy
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
Nearly there! I'm not very good at this - then again I wasn't very good on the 2600 either....
Bug: If you go left from the main screen at startup the first quicksand that you find starts open then opens. Might be some uninitialised value there.
Request: Any chance you can smooth the rope movement with some more steps?
Bug: If you go left from the main screen at startup the first quicksand that you find starts open then opens. Might be some uninitialised value there.
Request: Any chance you can smooth the rope movement with some more steps?
Castle Defender, Untitled Dungeon Game, Night Ninja, Wordle, Waffle, Acorn Island, Beebchase, Ghostbusters
Re: Pitfall
Thanks for that, seems when initialising the swamp it was ignoring the size of the quicksand on certain frame rates, it's now fixed and will be in the next release at some point
I would of liked to add more animation to the vine (and will if I can find more room) , but I'm running out of space and still need to try and add joystick support - I've had to junk the "congrats" melody
Currently using 16 frames one way and 16 the other way, also it does the same animation twice at each end so it seems "Newtons third law" is taking effect, would either need to use #%00111111 ;$3F (64 frames) or change the code if I wanted to do less than the 64
Current memory left 28 bytes + 5 bytes before the sprite mask aligned data
I would of liked to add more animation to the vine (and will if I can find more room) , but I'm running out of space and still need to try and add joystick support - I've had to junk the "congrats" melody
Currently using 16 frames one way and 16 the other way, also it does the same animation twice at each end so it seems "Newtons third law" is taking effect, would either need to use #%00111111 ;$3F (64 frames) or change the code if I wanted to do less than the 64
Code: Select all
.VineTableX ; xpos of vine
EQUB $00, $02, $06, $08, $0C, $11, $16, $1C
EQUB $23, $29, $2E, $33, $35, $39, $3C, $3F
EQUB $3F, $3C, $39, $35, $33, $2E, $29, $23
EQUB $1C, $16, $11, $0C, $08, $06, $02, $00
INC vineFrame
LDA vineFrame
AND #%00011111 ; $1F (32 frames there and back)
STA vineFrame
Current memory left 28 bytes + 5 bytes before the sprite mask aligned data
Code: Select all
-----------------------------------------------------------------
Pitfall Memory Map
-----------------------------------------------------------------
End of ZP : &62
Font Size : &128
Tile Size : &1C0
Sprite Size : &580
Object Size : &400
Pond Size : &258
SFX Size : &4AA
-----------------------------------------------------------------
Bytes Used : &2FD8
Bytes Free : &28
-----------------------------------------------------------------
NB Bytes Free before paged aligned sprite mask storage : &5
-----------------------------------------------------------------
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Re: Pitfall
A "quick fix" might be to reduce the screen height slightly. The trees are just a solid block of colour and removing one line from them would not change the look very much - but would give you 600+ bytes per line. It's bit of a pain to reorganise the various plotting routines this late in the development cycle.
Castle Defender, Untitled Dungeon Game, Night Ninja, Wordle, Waffle, Acorn Island, Beebchase, Ghostbusters
- Cybershark
- Posts: 741
- Joined: Wed Jun 14, 2006 11:16 pm
- Contact:
Re: Pitfall
Still seeing a little judder on some of the tar pits and lakes. It's like how they are initially plotted does not match their actual timing state but, once the cycle has caught up, they are fine.
Played through quite a way - moving east - and scooped up several treasures. The only other surprising thing that I noted was that I shouldn't have been able to pick one of them up, as it was on the surface level and I was walking under it at the time. Do you only perform a check in the X-axis?
Played through quite a way - moving east - and scooped up several treasures. The only other surprising thing that I noted was that I shouldn't have been able to pick one of them up, as it was on the surface level and I was walking under it at the time. Do you only perform a check in the X-axis?