Jump to content

Recommended Posts

Reading and deciphering code and trying to understand some of the way programmers write.

Mangled, but I've got this,

INTYBUILD and INTYNEW help immensly.

' =========================================================================
' IntyBASIC SDK Project: bitmapb
' -------------------------------------------------------------------------
' Programmer: PLANETJANUS

' Created: 05/28/2019
' Updated: 05/28/2019
'
' Project automatically generated by INTYNEW.
' -------------------------------------------------------------------------
' History:
' 05/28/2019 - bitmapb project created.
' =========================================================================

' Include useful predefined constants
INCLUDE "constants.bas"

' Remove the line below if you want to include your own custom title page.
'INCLUDE "title.bas"

'Invoke 1 bitmap
CLS
WAIT
DEFINE DEF00,2,pimpmap
WAIT
x1=80
y1=56

'LOOP 100 X
FOR L = 1 to 100

'print Sprites at x1, y1

'Sprite (# of Sprite), (X location) + Visible + size x axis, (Y location) +size y axis, SPR00(?) then color
SPRITE 0, (x1-20)+ VISIBLE + ZOOMX2, (y1+20) + ZOOMY2, SPR00 + SPR_WHITE
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT
SPRITE 1, (x1+20)+ VISIBLE + ZOOMX2, (y1-20) + ZOOMY2, SPR00 + SPR_WHITE
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT
SPRITE 0, (x1+20)+ VISIBLE + ZOOMX2, (y1+20) + ZOOMY2, SPR00 + SPR_RED
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT
SPRITE 1, (x1-20)+ VISIBLE + ZOOMX2, (y1-20) + ZOOMY2, SPR00 + SPR_BLUE
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT
SPRITE 0, (x1+20)+ VISIBLE + ZOOMX2, (y1-20) + ZOOMY2, SPR00 + SPR_WHITE
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT
SPRITE 1, (x1-20)+ VISIBLE + ZOOMX2, (y1+20) + ZOOMY2, SPR00 + SPR_WHITE
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT
SPRITE 0, (x1-20)+ VISIBLE + ZOOMX2, (y1-20) + ZOOMY2, SPR00 + SPR_BLUE
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT
SPRITE 1, (x1+20)+ VISIBLE + ZOOMX2, (y1+20) + ZOOMY2, SPR00 + SPR_RED
WAIT
WAIT
WAIT
WAIT
WAIT
WAIT

NEXT L

InfiniteLoop:
GOTO InfiniteLoop



pimpmap:

REM SPRITE
BITMAP "#......#"
BITMAP ".#....#."
BITMAP "..#..#.."
BITMAP "...##..."
BITMAP "...##..."
BITMAP "..#..#.."
BITMAP ".#....#."
BITMAP "#......#"

bitmapb.zip

Edited by PlanetJanus
Link to comment
https://forums.atariage.com/topic/291642-minor-success/
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...