Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shaking the screen in screen mode thirteen
#1
:bounce:Is there a way to use GET and PUT to make the whole screen shake in screen mode thirteen? That would be cool.

I tried to do it myself, but it kept saying it was out of memory when I tried to GET the whole screen.

:red_marvin:Nerd42
----BEGIN GEEK CODE BLOCK-----
GZORK d? s a--- C++ U? P+ L? E? W++ N o? K? w++ O? M----- V? PS--- PE? Y? PGP? t+ 5? X? R+ tv? b+++ DI D+ G- e- h! !r y-
------END GEEK CODE BLOCK------
:red_marvin: Nerd42
Reply
#2
probably need a '$DYNAMIC at the top of your program. If you're trying to save an entire screen of data in an array, you'll need at least 16001 elements, which generally requires a dynamic array.)
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#3
You don't have to use GET/PUT. Here:

Code:
duration = 25600

FOR x = 1 TO duration
  OUT &H3D4, 8: OUT &H3D5, x
NEXT x
In a world without walls and doors, who needs Windows and Gates?
Reply
#4
Ough!!! I was gonna post just the same thing Big Grin
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#5
Quote:Ough!!! I was gonna post just the same thing Big Grin

You'll have to get out of bed earlier tomorrow :lol:
In a world without walls and doors, who needs Windows and Gates?
Reply
#6
What about that window command? When I made my first stick figure fighting game, that's what I used to move the camera...
Reply
#7
Quote:What about that window command? When I made my first stick figure fighting game, that's what I used to move the camera...

I never figured out how to use WINDOW... I just assumed it was one of those old-school commands that's really slow. I'll have to learn sometime. [Image: bleh2.gif]
Reply
#8
:red_marvin: Thank you! I will try that code soon!
----BEGIN GEEK CODE BLOCK-----
GZORK d? s a--- C++ U? P+ L? E? W++ N o? K? w++ O? M----- V? PS--- PE? Y? PGP? t+ 5? X? R+ tv? b+++ DI D+ G- e- h! !r y-
------END GEEK CODE BLOCK------
:red_marvin: Nerd42
Reply
#9
Well, it might be too slow of a command, but I just used it for a simple little stick fighting game, and it worked just fine.
Reply
#10
:bounce: Yay! The screen shaking thing worked! I just uploaded a small demo of the new RPG I'm writing at http://nerd_42.tripod.com/rpg.bas

It isn't shown in the demo, but just look at the Quake SUB. It has an edited version of that only with pc speaker sound and lightning flashes. This is great!
----BEGIN GEEK CODE BLOCK-----
GZORK d? s a--- C++ U? P+ L? E? W++ N o? K? w++ O? M----- V? PS--- PE? Y? PGP? t+ 5? X? R+ tv? b+++ DI D+ G- e- h! !r y-
------END GEEK CODE BLOCK------
:red_marvin: Nerd42
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)