+Karl G #101 Posted January 15 On 1/13/2021 at 11:32 AM, Thomas Jentzsch said: You are more than welcome. Thank you! Right now, I'm working on converting your demo into a batari Basic example in case that will be helpful to others. I must admit that the Neg16 routine has me completely baffled, both in purpose and the actual assembly itself. Any chance you could explain how that routine works? Quote Share this post Link to post Share on other sites
Thomas Jentzsch #102 Posted January 15 6 minutes ago, Karl G said: I must admit that the Neg16 routine has me completely baffled, both in purpose and the actual assembly itself. Any chance you could explain how that routine works? ;--------------------------------------------------------------- Neg16 SUBROUTINE ;--------------------------------------------------------------- clc lda $00,x eor #$ff adc #1 sta $00,x lda #$01,x eor #$ff adc #0 sta #$01,x rts The method converts a 16 bit number into a negative 16 bit number. It inverts the bits and does a necessary correction of one. This is necessary because e.g. $00 xor $ff is $ff, but it should be $00. So we have to correct by +1. The X register is used as index to the variables which have to be inverted. So the same code can be used to invert e.g. the x-speed and the y-speed, just by changing X. Hope that makes sense. Please let me know if something is still unclear. 1 Quote Share this post Link to post Share on other sites
+Karl G #103 Posted January 15 21 minutes ago, Thomas Jentzsch said: Hope that makes sense. Please let me know if something is still unclear. I think I get it now. Sometimes I forget that all symbols are the same in DASM, and using the numeric address of a variable as an offset had me scratching my head for a bit. Quote Share this post Link to post Share on other sites
+Karl G #104 Posted January 15 50 minutes ago, Thomas Jentzsch said: lda #$01,x eor #$ff adc #0 sta #$01,x One last question (I think). Why is there a "#" when loading and saving the high byte of the variable here? Quote Share this post Link to post Share on other sites
ScumSoft #105 Posted January 16 Hey get a room you two! j/k It would probably be better to split the thread where Thomas posted his example to it's own thread. This is my thread for game updates after all. Speaking of which: The next build will be posted later this weekend with fixes to many of the issues mentioned. Quote Share this post Link to post Share on other sites
ScumSoft #106 Posted January 17 Game has been updated to RC4 build, first post updated with changes. As always, feedback is appreciated. Enjoy Everyone! 2 Quote Share this post Link to post Share on other sites
Thomas Jentzsch #107 Posted January 18 The improved bouncing makes a big difference. 1 Quote Share this post Link to post Share on other sites
+Karl G #108 Posted January 18 I also think the bouncing is an improvement, but I seem to have more trouble getting airborne in this version. Not sure if the difference is in my imagination, though. 1 Quote Share this post Link to post Share on other sites
ScumSoft #109 Posted January 18 5 hours ago, Thomas Jentzsch said: The improved bouncing makes a big difference. Yeah it worked out ok, didn't have to change much puzzle logic wise to compensate. 2 hours ago, Karl G said: I also think the bouncing is an improvement, but I seem to have more trouble getting airborne in this version. Not sure if the difference is in my imagination, though. Chickens cannot fly is the logic behind this, so Quackers resorts to some tricks to make it happen. Try holding fire and holding up on the joystick/d-pad to gain upwards momentum. You can also bounce a bit to get started or use the Powerflap for the initial upward boost. Sometimes if the angle and velocity is high you will still get some backward bounces, but not too often. This will be the last update for a little while, I have some other projects I got started on. I'll prioritize fixing any game breaking issues if any are found though. Thanks for checking out the game! Quote Share this post Link to post Share on other sites
+Karl G #110 Posted January 18 1 hour ago, ScumSoft said: Chickens cannot fly is the logic behind this, so Quackers resorts to some tricks to make it happen. Try holding fire and holding up on the joystick/d-pad to gain upwards momentum. You can also bounce a bit to get started or use the Powerflap for the initial upward boost. I understand that, but I was wondering if this has changed between versions at all? It seems like it was more difficult for me this time around. Quote Share this post Link to post Share on other sites
ScumSoft #111 Posted January 18 It should be the same, I halved the fire buttons flap velocity and added it into the joystick/D-pad up direction. Quote Share this post Link to post Share on other sites
abrower9d9 #112 Posted February 4 Fantastic game, thanks!! Quote Share this post Link to post Share on other sites