Jump to content
IGNORED

Could use guidance with "3D" game


pacgreg

Recommended Posts

Hi, I'm working on an idea I had to make a wolfenstein 3d type game with batari basic and I can't quite get come things to work to improve my game from the very basic form it is in now.

Can anyone help me find out why pfcolors, pfheights, scrolling, and sprite animation never work when I try to add them? I'll attach what I have so far, the last working version without any of the four things from before that cause syntax and black screen errors.

Thanks

Greg

3Dgame.bas

Link to comment
Share on other sites

Alright, on a plain test project I found out how to get pf colors and pf heights to respond, but why does it still give the syntax error on the first line

set kernel_options pfheights

set kernel_options pfcolors

pfheights:

8

8

8

8

8

3

3

3

3

3

3

3

3

3

3

3

3

3

3

12

end

pfcolors:

$60

$60

$60

$60

$60

$60

$60

$60

$60

$08

$06

$04

$02

$28

$28

$26

$26

$24

$24

$E4

end

playfield:

.................................

.................................

.................................

.................................

.................................

.................................

.................................

.................................

.................................

.......................XX........

.......................XXX.......

........................XXX......

.........................XXX.....

........................X.XXX....

........................X..XX....

........................X..XX....

.........................X.XX....

..........................XXXX...

...........................XXXX..

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

end

 

COLUBK = $0E

COLUPF = $1A

 

mainloop

drawscreen

goto mainloop

 

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