Jump to content
Sign in to follow this  
pacgreg

Could use guidance with "3D" game

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

Share this post


Link to post
Share on other sites

Like could someone take a look and te.ll me where they would work? Whenever I try I get syntax errors with the first value entered

Share this post


Link to post
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

 

Share this post


Link to post
Share on other sites

You need to combine kernel options into one line. e.g. "set kernel_options pfcolors pfheights"

Share this post


Link to post
Share on other sites

RevEng speaks the truth. I, however, am bummed that this didn't turn out to be a conversation on how to implement the Z axis in a 2600 game :P

Share this post


Link to post
Share on other sites

Sorry theloon, I have an idea of how to do it, but I don't want to spend several hours trying to implement it, while still not yet having completed my first game, and as my first game is a bit of a battlezone clone, its pretty ambitious as it is.

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...