: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
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.)
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
Ough!!! I was gonna post just the same thing
Quote:Ough!!! I was gonna post just the same thing
You'll have to get out of bed earlier tomorrow :lol:
What about that window command? When I made my first stick figure fighting game, that's what I used to move the camera...
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.
:red_marvin: Thank you! I will try that code soon!
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.
: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!