Posts: 7
Threads: 1
Joined: Jan 2003
: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
Posts: 704
Threads: 0
Joined: Dec 2002
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.
Posts: 354
Threads: 11
Joined: May 2002
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?
Posts: 6,419
Threads: 74
Joined: Mar 2002
Ough!!! I was gonna post just the same thing
Posts: 354
Threads: 11
Joined: May 2002
Quote:Ough!!! I was gonna post just the same thing
You'll have to get out of bed earlier tomorrow :lol:
In a world without walls and doors, who needs Windows and Gates?
Posts: 1,556
Threads: 298
Joined: Dec 2002
What about that window command? When I made my first stick figure fighting game, that's what I used to move the camera...
Posts: 720
Threads: 46
Joined: Oct 2001
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.
Posts: 7
Threads: 1
Joined: Jan 2003
: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
Posts: 1,556
Threads: 298
Joined: Dec 2002
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.
Posts: 7
Threads: 1
Joined: Jan 2003
: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