Jump to content
donnerkuh

Need Help - Joy0up + Joy0left = no shoot

Recommended Posts

I have a problem. My program-code works fine... but one thing doesn´t happen: the shot (joy0fire) works in any combination, instead of joy0left + joy0up and joy0fire. If this combination is true then no shot will be fired. Why? I can´t find the bug. Please help. 😶

 

 

 

 

Destruction_Machine007_need_help.bas

Share this post


Link to post
Share on other sites

I haven't looked at your code but I recall as similar issue when I was working on my game 'Heist'.  When running in stella and using the keyboard as joystick inputs, it wouldn't fire in that one combination either.  If I plugged a usb joystick into my computer and used that... it worked.  I believe it has something to do with the way the keyboard buffer works on some computers.  

  • Like 2

Share this post


Link to post
Share on other sites
On 5/9/2021 at 11:34 AM, TXmarsh said:

I haven't looked at your code but I recall as similar issue when I was working on my game 'Heist'.  When running in stella and using the keyboard as joystick inputs, it wouldn't fire in that one combination either.  If I plugged a usb joystick into my computer and used that... it worked.  I believe it has something to do with the way the keyboard buffer works on some computers.  

I had this same issue in my game Cone Ball. I had created two players that can move around and fire. Player0 would experience the same problem, but only in Stella. I tried on hardware and in other emulators, like Z26, and it operated as normal. 

Share this post


Link to post
Share on other sites
5 minutes ago, KevKelley said:

Player0 would experience the same problem, but only in Stella.

It would be nice if you report any issues you have with Stella. Else we cannot fix them. :) 

  • Thanks 1

Share this post


Link to post
Share on other sites

Be sure to use the Ctrl key instead of the space bar for the fire button since the space bar can stop you from moving diagonally with the arrow keys.

Share this post


Link to post
Share on other sites
On 5/11/2021 at 6:39 AM, Thomas Jentzsch said:

It would be nice if you report any issues you have with Stella. Else we cannot fix them. :) 

How does one do that? It was something I had not thought of, as I thought at the time it was a known issue. 

Share this post


Link to post
Share on other sites

Either here on AtariAge in the latest Stella thread (currently here). Or create a GitHub account and report here.

 

The latter is the preferred way.

  • Thanks 1

Share this post


Link to post
Share on other sites
On 5/11/2021 at 1:05 PM, Random Terrain said:

Be sure to use the Ctrl key instead of the space bar for the fire button since the space bar can stop you from moving diagonally with the arrow keys.

Looks like this is no Stella bug, but a keyboard limitation too.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for help - it is a Stella-thing. In Z26 Emulator the robot fires in combination with joy0up and joy0left. 

Share this post


Link to post
Share on other sites
3 minutes ago, donnerkuh said:

Thanks for help - it is a Stella-thing. In Z26 Emulator the robot fires in combination with joy0up and joy0left. 

 

Please post your ROM for testing.

 

 

 

Share this post


Link to post
Share on other sites
4 hours ago, donnerkuh said:

Thanks for help - it is a Stella-thing. In Z26 Emulator the robot fires in combination with joy0up and joy0left. 

It's not a 'Stella' thing.  It's a 'using space for fire with other keys for direction gives a keyboard issue' thing.  If you use the Left Control key in Stella to fire (like in z26), then it will probably act the same way.

  • Like 1

Share this post


Link to post
Share on other sites

Sorry -  i was inaccurate - it´s a donnerkuh-thing. Stella works so fine since i use it (10 years or more) that i never had to check the settings or wondered about something. This was the reason why i thought that my basic-code had a bug. If i use Stella with Left Control key it fires. My bad english did the rest. 

 

I will never think again that "real batari basic coders don´t need manuals".

 

As compensation i will try to make a good game... not using the space-key but using Stella, the best Atari-Emulator i´ve ever seen

Share this post


Link to post
Share on other sites
9 hours ago, donnerkuh said:

it´s a donnerkuh-thing

a thunder cow thing?  🧐

  • Like 1

Share this post


Link to post
Share on other sites

I think batari BASIC users all go through the phase where we don't understand how bad the keyboard is (as a joystick).

 

Get a cheap USB joystick and test your game with that.  I use a spare Xbox One joystick.

  • Like 2

Share this post


Link to post
Share on other sites
2 hours ago, SpiceWare said:

a thunder cow thing?  🧐

sounds a little bit ugly, but yes.

  • Like 1

Share this post


Link to post
Share on other sites
3 minutes ago, donnerkuh said:

sounds a little bit ugly, but yes.


I've been relearning German (had a few years in high school in the early 80s) via Duolingo and thought perhaps it was a compound word like Haustier (house animal) for pet or Wasserstoff (water material) for hydrogen.

  • Like 1

Share this post


Link to post
Share on other sites

The beauty of German. You can create any word you like.

 

E.g.

Donaudampfschifffahrtskapitänspatent (Danube Steamship Captain's Patent) :) 

  • Like 2

Share this post


Link to post
Share on other sites
2 minutes ago, SpiceWare said:


I've been relearning German (had a few years in high school in the early 80s) via Duolingo and thought perhaps it was a compound word like Haustier (house animal) for pet or Wasserstoff (water material) for hydrogen.

It´s my ingame-nick (World of Tanks, World of Warcraft,...). Kuh or cow is part of my surname (Kuhmann) and thunder will fear my enemys :)

  • Like 1

Share this post


Link to post
Share on other sites

5529635429_d4d8968dd3_c.thumb.jpg.002ba45293f7bc1f951f817819659b5e.jpg

 

(Okay, I guess this is a lightning cow, but still apropos) :D

  • Like 3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...