Page 41 of 44

Re: gtBASIC

Posted: 09 Apr 2023, 20:25
by wbushby
Hi, I have removed the earlier download until I resolve the issue with the joystick.

It is working in my emulator.

There are only sound effects when you jump, fall, die, etc so if you can't move there is no sound.

Re: Pitfall v 1.10

Posted: 09 Apr 2023, 21:42
by wbushby
Here is an updated Pitfall with the joystick control corrected.

My apologies.

Download removed as newer version in later message.

Re: gtBASIC

Posted: 09 Apr 2023, 22:26
by bmwtcu
Nice work! I've never played the original game, but I'm assuming I'm not supposed to be able to jump through walls @2:48. Is the "game over" screen supposed to prompt you to restart the game or is resetting the Gigatron always necessary?

https://youtu.be/0_stoDiZg08

Re: gtBASIC

Posted: 10 Apr 2023, 00:17
by wbushby
Jumping through walls is definitely an oversite by me

Re: Pitfall V1.1.1

Posted: 10 Apr 2023, 01:37
by wbushby
Jumping through walls fixed

Re: gtBASIC

Posted: 10 Apr 2023, 03:55
by at67
Looks and plays great, awesome job..now get the logs rolling!

Re: gtBASIC

Posted: 10 Apr 2023, 05:35
by wbushby
@at67 Is there a way to reset the program from inside BASIC. I have an issue with cleanup when I am trying to give a restart option. I believe it is an issue with sprites.

Re: gtBASIC

Posted: 10 Apr 2023, 06:42
by at67
Every resource in gtBASIC is statically allocated, (almost), this means it's allocated just once as part of the compile and then load process, there is no cleanup you should be doing when resetting your app, apart from resetting your app's state and variables.

Re: gtBASIC

Posted: 10 Apr 2023, 11:08
by wbushby
It is my issue. I was hoping to be lazy and have a restart api call available that would give me a clean restart.

I will go through all the code and make sure that all sprites are absolutely not shown before attempting a restart. It is complicated by the SPRITE SHOW command being a toggle rather than an absolute.

Re: gtBASIC

Posted: 10 Apr 2023, 11:16
by at67
Not sure if you want to wait for the next release, coming soon (TM), it has SPRITE SHOW and SPRITE HIDE commands.