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
4
Years of Service
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
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
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
4
Years of Service
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
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
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: 2024-04-25 12:20:58
Your offset time is: 2024-04-25 12:20:58