Atari.Org
Click Here
HomeNewsServicesForumsSupport

Talk Atari

Atari.Org Forums


16/32-Bit

8-Bits

Classics

Emulation

Jaguar

Lynx

Classic Consoles Forum 8-Bits Forum 16/32 Forum
Emulation Forum Jaguar Forum Lynx Forum
 
 Subject: 0
Author: 0 (0)
Date:   -0

Hello. I am currently using STOS to build some levels using its MAP editor.
When displayed on the screen i can only get the level to flip between rooms rather than scroll smoothly through each one. I have some code given to me to display the rooms 1 by 1. Is there anything i can add in order to scroll the screen?

Thanks in advance.

Here is the code i use to display the screens:

50000 restore 50005 : read nl,nroom : if room>nroom or room<=0 then boom : return

50001 restore 50010+(room-1)*nl : read gridw,gridh : cls physic : cls back : for I=0 to 319/gridw : for j=0 to 199/gridh:read s : if s>0 then sprite 1,i*gridw+1,j*gridh,s:update : put sprite 1

50002 next j : next i : wait vbl : sprite 1,100,-100,1 : return


P.S The data for the rooms is continuous.

 Topics Author  Date
  STOS map program and scrolling new Newbie 07-24-2005 11:39 
   RE: STOS map program and scrolling new The Paranoid 07-24-2005 19:23 

 Reply To This Message
 Your Name:
 Your Email:
 Subject:
 Human verification:   What's this?
               _    __     _ _     
 _ __  ___ _ _| |_ / _|___| (_)___ 
| '_ \/ _ \ '_|  _|  _/ _ \ | / _ \
| .__/\___/_|  \__|_| \___/_|_\___/
|_|                                
    



Copyright © 1997-2024 Atari.Org 
Atari is registered trademark of Infogrames