dMZX Forums: bug when pressing arrow keys + space - dMZX Forums

Jump to content

If you are new to DMZX, please take the time to look over the FAQ pinned in General before asking a question.

Some simple tips when posting problems:

1) Read FAQs first, and then other recent bug posts and entries in the Bug Tracker. The problem has, often, been already addressed. Redundant reports just waste time.

2) Make sure you explain exactly when the problem happens. If impossible, narrow down the problem to a few possible causes.

3) Go into specifics about your computer and MZX settings. Are you running MZX on Windows, Linux, Mac OS, a PSP, or something else? What versions of these OSes (Tiger vs Leopard, XP vs Vista, 32-bit vs 64-bit, etc)? How is MZX set up? If your problem is regarding a certain aspect of MZX (such as the display), what are the relevant settings in the config file?

Thanks, Management.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

bug when pressing arrow keys + space Not sure if this is a MegaZeux bug or I'm just missing something

#1 User is offline   Graham 

  • . "@Master Procrastinator"
  • PipPipPipPip
  • Group: Members
  • Posts: 625
  • Joined: 28-December 12
  • Gender:Male
  • Location:Oregon

Posted 08 January 2019 - 05:31 AM

Good evening gang. I'm hoping someone can give this a look and help me determine if this is user error or a MegaZeux bug, or just my computer messing with me. I spent most of yesterday and today trying to figure out why pressing up+right+space let my game character shoot, but the other arrow key combinations (up/left, down/right, down/left) + space did not yield a result. This glitch followed me from my game to this test game here, using some counters and a string I was using in my game. I'm using different code in this game (using subroutines here) but the result is the same as my game. You can change code around, or comment out some lines to narrow down the possibilities, and you still get the same result. What gives?
Attached File  shooty.mzx (13.48K)
Number of downloads: 46

Edit: I replaced my counters and string with the actual key counter (key#) and I get the same result. it fails to detect the other directions + space
Attached File  shooty2.mzx (14.03K)
Number of downloads: 44

This post has been edited by Graham: 08 January 2019 - 05:45 AM

Currently working on Servo for MegaZeux, I hope to complete it by the middle of 2015? Who knows...

"Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you’re a mile away and you have their shoes."
-Jack Handey
0

#2 User is offline   Dr Lancer-X 

  • 電波、届いた?
  • Group: DigiStaff
  • Posts: 8,936
  • Joined: 20-March 02
  • Location:ur mom nmiaow

Posted 08 January 2019 - 05:48 AM

Create this robot:

: "l"
* "&key72& &key75& &key77& &key80& &key57&"
wait for 1
goto "l"


What does it say when you hold down up+left+shoot, down+left+shoot, down+right+shoot etc.?

I suspect the problem is your keyboard. Try plugging another one in. Many keyboards have certain patterns of keys that do not work at the same time, and sometimes that means something absurd like not being able to hold down two directions and space.

You can also grab a keyboard testing program or visit a site like http://en.key-test.ru/ to verify it's not an MZX problem.
Posted Image
<Malwyn> Yes, yes. Don't worry I'd rather masturbate with broken glass than ask you for help again. :(
0

#3 User is offline   Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 08 January 2019 - 05:57 AM

This sounds like a keyboard issue but I'll give your file a look in a sec. Edit: second file definitely works for all directions with my keyboard.

This post has been edited by Lachesis: 08 January 2019 - 05:59 AM

"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
0

#4 User is offline   Graham 

  • . "@Master Procrastinator"
  • PipPipPipPip
  • Group: Members
  • Posts: 625
  • Joined: 28-December 12
  • Gender:Male
  • Location:Oregon

Posted 08 January 2019 - 02:34 PM

oh wow, yeah, it's the keyboard I'm using. Thanks for the help!
Currently working on Servo for MegaZeux, I hope to complete it by the middle of 2015? Who knows...

"Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you’re a mile away and you have their shoes."
-Jack Handey
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users