Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / [SOLVED] Cant get any kind of sprite moving (Manjaro Linux)

Author
Message
linuxgamer23
User Offline
Joined: 22nd Nov 2019
Location:
Posted: 22nd Nov 2019 23:18 Edited at: 24th Nov 2019 17:13
Just cant get sprites moving via keyboard nor via gamepad.
At first i tried it like in the learning videos and then tried it like this but no way is it working at all.
I'm running Manjaro Linux.



Thanks in advance Sven

The author of this post has marked a post as an answer.

Go to answer

fubarpk
Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 23rd Nov 2019 00:29 Edited at: 23rd Nov 2019 00:37
This post has been marked by the post author as the answer.
try this im not sure if you can use left and right


EDIT and constants can be set like this at the top of your program


a list of the scancodes can be found here https://www.appgamekit.com/documentation/guides/scancodes.htm
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
linuxgamer23
User Offline
Joined: 22nd Nov 2019
Location:
Posted: 23rd Nov 2019 03:15
Thanks a lot you saved my day this works perfect <3
Qugurun
AGK Developer
5
Years of Service
User Offline
Joined: 8th Dec 2014
Location: Tyumen, Russia
Posted: 24th Nov 2019 22:36 Edited at: 24th Nov 2019 22:36
View pressed key code.

Login to post a reply

Server time is: 2020-01-23 01:28:06
Your offset time is: 2020-01-23 01:28:06