Jump to content
IGNORED

Can't Figure Sprite Out


Primordial Ooze

Recommended Posts

I'm trying to create pong for the TI-99/4A and can't seem to figure out how to make my characters look like paddles and balls. Here are the two call char commands that setup my paddle and ball sprite:

13 CALL CHAR(32,"33333333CCCCCCCC")
14 CALL CHAR(33,"00777777EEEEEE00")

Can anyone please help me out?

 

Sincerely,

 

Cell Wall Rebound

 

EDIT:Nevermind i figured it out.

Edited by Primordial Ooze
Link to comment
Share on other sites

Character 32 is typically the "space" char. filling up the screen when cleared. Maybe you would want to avoid using that one. How about something like this ...

 

100 CALL SCREEN(2)
110 CALL CHAR(33,"C0C0C0C0C0C0C0C0C0C")
120 CALL MAGNIFY(2)
130 CALL SPRITE(#1,33,16,60,1,#2,34,16,110,120,#3,33,16,90,253)
140 GOTO 140

And you probably meant ...

 

13 CALL CHAR(32,"3C3C3C3C3C3C3C3C")
14 CALL CHAR(33,"007E7E7E7E7E7E00")

:cool:

Edited by sometimes99er
Link to comment
Share on other sites

Note that you can also do stuff like:

 

100 CALL SCREEN(2) :: CALL CHAR(33,"C0C0C0C0C0C0C0C0C0C")
110 CALL MAGNIFY(2) :: CALL SPRITE(#1,33,16,60,1,#2,34,16,110,120,#3,33,16,90,253)

 

For reference purposes I've posted a link to the extended basic manual.

You might want to check the "development resources" sticky thread.

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