Jump to content
IGNORED

Why not move the player in the game I'm doing?


JorgeLiborinho

Recommended Posts

Uest And doing a simple game, and wrote these following codes:

 

set kernel_options player1colors

 

x=50

y=50

 

main

 

COLUBK= 2

 

player1:

%01101100

101000

111000

%10111010

%11111110

111000

111000

111000

end

 

player1color:

$00

$F4

$F4

$88

$98

$F6

$F6

$F6

end

 

player1x=50

player1y=50

 

drawscreen

 

if joy1right then x=x+1

if joy1left then x=x-1

if joy1up then y=y-1

if joy1down then y=y+1

 

goto main

 

I did everything right and do not know why the player does not move!

Hope someone helps!

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...