gtBASIC

Using, learning, programming and modding the Gigatron and anything related.
Forum rules
Be nice. No drama.
wbushby
Posts: 208
Joined: 16 Jul 2021, 10:59

Re: gtBASIC

Post 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.
wbushby
Posts: 208
Joined: 16 Jul 2021, 10:59

Re: Pitfall v 1.10

Post by wbushby »

Here is an updated Pitfall with the joystick control corrected.

My apologies.

Download removed as newer version in later message.
Last edited by wbushby on 15 Apr 2023, 15:20, edited 1 time in total.
bmwtcu
Posts: 145
Joined: 01 Nov 2018, 12:02

Re: gtBASIC

Post 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
wbushby
Posts: 208
Joined: 16 Jul 2021, 10:59

Re: gtBASIC

Post by wbushby »

Jumping through walls is definitely an oversite by me
wbushby
Posts: 208
Joined: 16 Jul 2021, 10:59

Re: Pitfall V1.1.1

Post by wbushby »

Jumping through walls fixed
Attachments
pitfall_V1.1.1.gt1
(22.33 KiB) Downloaded 70 times
at67
Site Admin
Posts: 647
Joined: 14 May 2018, 08:29

Re: gtBASIC

Post by at67 »

Looks and plays great, awesome job..now get the logs rolling!
wbushby
Posts: 208
Joined: 16 Jul 2021, 10:59

Re: gtBASIC

Post 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.
at67
Site Admin
Posts: 647
Joined: 14 May 2018, 08:29

Re: gtBASIC

Post 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.
wbushby
Posts: 208
Joined: 16 Jul 2021, 10:59

Re: gtBASIC

Post 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.
at67
Site Admin
Posts: 647
Joined: 14 May 2018, 08:29

Re: gtBASIC

Post by at67 »

Not sure if you want to wait for the next release, coming soon (TM), it has SPRITE SHOW and SPRITE HIDE commands.
Post Reply