00:00
00:00
1999Elias
The internet and the real world are two separated dimensions... they should be, at least.
10+ years as a newgrounder.

Elias Papp @1999Elias

Age 25, Male

Technology in Digital Games

Brazil

Joined on 7/13/12

Level:
13
Exp Points:
1,702 / 1,880
Exp Rank:
36,549
Vote Power:
5.50 votes
Rank:
Town Watch
Global Rank:
49,711
Blams:
43
Saves:
126
B/P Bonus:
2%
Whistle:
Normal
Trophies:
3
Medals:
978
Supporter:
11m 29d

Can someone help me plz...

Posted by 1999Elias - December 12th, 2015


I'm having a problem that when I try to play flash games, and I press one key (left arrow as example), and then release it, but my character will keep going to the left. For some reason, this occurs only in some flash games, like Madness:Project Nexus (the first one).

When I started to make a project in AS3 on my programming class, it was going ok in the computers from there, but when I tested the same file here, I experienced this problem aswell, but when I made an AS2 game test, the problem didn't happen.

There's more, my keyboard is working well, but when I tried to play Project Nexus with Joy2Key (using gamepad) and then with Virtual Keyboard, the problem didn't happen aswell.

I tried to find over the internet something to help me but no success.

If you know what's going on, plz help me.

Oh, btw this is the little project I made with AS3.

http://www.newgrounds.com/dump/item/37685237d07fbf49a5922bc52684bf7e

PS: You have to click play and then click on the game window to be able to move the ship (thanks to Kkots for finding a way to fix that, however I didn't change the file still)

PPS: the booklet was incomplete so you're invincible :P

Also my birthday is in 3 weeks (January 3), yay! :D


1

Comments

I can't remember the exact code and if you have already tried this I'm not sure what's wrong but have you put a keyboard event for when the key is released? I've had that issue too where I press the key and my character will take off into oblivion. Maybe try google as well for key events in flash as3.
I hope this helps and sorry if it doesn't!

No you didn't understand xD
This problem is only happening with my keyboard, when I use gamepads with Joy2Key or Virtual Keyboard everything works fine, you can test the link of the dump, it will work normally with you.

maybe you should check your keybord commands to see if they are stuck in a keybord event status...
(for example, if you press shift many times, (more than 10), the shift button then changes into an event keyboard button. and thus, it makes a ''beep'' sound each time you press it, and it locks-on this position.)

if thats not the case, try to un-install and re-install the keyboards program again in your PC.

if that fails, try to reinstall the keyboards program manually, by using the company's CD.

if that fails as well, then try to upgrade your flash version, or use only AS2 in your PC.
if you HAVE to use up-to-date programs, such as AS3, then uninstall your version of flash/AS3 that you have on your personal computer, and re-install it.
if the problem persists, then just upgrade your flash/AS3 into a newer/better version, or use a patch to fix this.

and if all of the above fail, then get a new keyboard.

Shift = Sticky Keys
I reinstalled flash, nothing happened.
I can't just get rid of my keyboard because I use a laptop xD
Thanks for trying, though :)

Oh! Sorry about that Hm... I'm not sure what's wrong. It worked fine for me but hopefully someone else can help. Oh, and the issue with clicking to make the controls work I believe is an enter stage or enter frame event that needs to be put in. I can't remember which one though, it's been a while.

Good luck! Nifty game so far!

Np ;)
Maybe, I hadn't enough patience to fix that and make the ship mortal because I got very angry with AS3 the days I dedicated to make that shit xP
The main reason to I hate AS3 is, when you have a small error on your code:
AS2: "Layer 1, Frame 5 "ButtonBtn" - Error encountered: Mouse Events only permitted for blablabla..."
AS3: "Your code is f* up, now try to figure out where's the error, dumbass"
Thanks man ;)

Thanks Kkots, I'll try that ;)

Lol, occasionally the debugging option will show you kind-of where the error is but sometimes it's just a small typo and you're like WHAT! Lol, I feel your pain.

yeah xD

Stick keys with some games.... So annoying :(
remember this? http://fivestar811.newgrounds.com/news/post/890326#comments
hope it helps.

Oh I remember, I even said that this happens when you try to play Nexus as .swf, yeah but it's happening with Chrome too >:|
Tried on Chrome anyways, no success, I think it's flash itself because, like I said in the post, it happens when I try to play my AS3 minigame aswell :|
Anyway thanks mate ;)

i have the same problem for some reason

I hope we get the solution soon :|
I tried to run flash games with IE but they don't even appear >.<

smash the keyboard with your hand. Really, that helped me out. (with that thing AS3 or AS2 i have no idea :(

nah I don't want my mom to kill me after xD

ok, in that case, you should go at your local tech support and adress that problem.
or you should contact your laptop's company and request/discuss/elaborate about the keyboard problem.

or, ultimately, you can always tell to a technician to replace the keyboard mechanisms/keys from your laptop with a new set, if your laptop is worth salvaging/reparing.

i hope i can help, if at all.

PS: happy birthday!

I think this problem is happening not because the laptop keyboard itself, but by some problem with a program, IDK, tried to update flash but nothing... I'm still confused with this.
Thanks for trying anyways :)
Thanks, but my birthday is in January 3 :P

Just press the button again. It Works!

Actually it's not working for me...

P.S.That Happend to me on madness project nexus.

Is there a way where you can make me a sprite for a character that i made?

To be sincere I think it goes around 0% cause I'm full of things to do :I
I'm sorry about that mate.

Sticky controls? I had that issue once back when I had an old laptop. The main reason was my laptop = crap (not telling anything about yours)

As for the second real reason, I've found out when I was playing the game here on NG - Chaos Faction 2 (which is still state of the art gaming) where the author posted solution link.
Apparently that link doesn't work anymore, but here's what I remember:

I had to turn off safe mode on my browser (I was still using the uber crap Explorer back then) it was located somewhere in options-network.....basically this fixed it.

Another thing was I remember in Project Nexus where my character where going really really slow. Clearing the web cache along with history, unwanted plugins I've never noticed them before and other useless stuff fixed that too.

Also happy new year, chump!

Thanks man, but the problem isn't the navigator, might be my keyboard... IDK
Happy new year ;D

You don't know until you try it. I'm about 90% sure it will solve your issue. The rest might be your keyboard kuz you bashed it so much like that crazy german kid on YouTube lol. Seriously, I never blame my keyboard. I got an issue when my character suddenly stops moving no matter what I press and then suddenly does all the moves I pressed before. That's because I should never had wireless keyboard with a crappy connection in the first place...

And now here's some virtual cake. Happy Birthday, maggot!

" I got an issue when my character suddenly stops moving no matter what I press and then suddenly does all the moves I pressed before."
I experienced that before my keyboard got this actual problem, it's a kind of lag, never experienced that again when turned all the graphic options to "low".
xD Thanks bro :D