Jump to content
IGNORED

Programming For Newbies, Help?


LukeBob13579

Recommended Posts

rem Hello World...

I need help putting together atari games, and I thought what not better place than here to go to?

I decided to put together a topic for programming for newbies. I am going to use common terms to describe terms like:

rem Hello World

This is alot of help started now, so please leave a comment.

So anyway...

Let's Start!

 

So, first off, I need to get multiple .bas files (or Basic Programming files) into one .bas File, so anyone know of anything? PS: The sprites (or graphics, or in even simpler, pictures that represent something) don't have to move.

 

 

(PS: Keep the commands explained, because of the sake of simplicity. Just a little extra typing cant hurt!)

Edited by LukeBob13579
Link to comment
Share on other sites


why can't you just cut and paste?



if I understand what you want to do

you will be better off if you do it

in a way that requires some knowledge

of some details of how batari Basic and the

kernel work (but that's not to say it

can't be done without that).

Does being a newbie mean you're going to

avoid that?


for example statements like




if f=1 then player1:
.
.
if f=2 then player1:
.
.



might be done [something like] this




player1pointer = P1_animation[f]



but you have to be willing to find

out how the sprites work and what

the player pointers are and maybe

dig into the listing to find out

what the actual values need to be

Edited by bogax
Link to comment
Share on other sites

  • 3 weeks later...

I think it's a fine thing for you to use assembly.

 

so by all means do.

 

But what I was talking about is knowing enough

about the nuts and bolts to use bB (which may

include doing stuff in assembly that you can't do

in bB or finding out things you might want/need

to know to do what you're doing in bB by looking

at the assembly listing)

 

here's an animated sprite that runs forward

then backward through 35 (or so) frames

(I forget the exact number) for a cycle of 70 frames.

 

it's in bB. all the frames are in a single player0 definition.

 

animated_sprite.bas (pastebin)

Edited by bogax
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...