Author Topic: Plot Drop  (Read 6813 times)

0 Members and 1 Guest are viewing this topic.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Plot Drop
« on: January 31, 2010, 02:09:19 pm »
I had an idea on how to make this game at just past midnight.  Once I fell asleep, and woke up I started coding.  So here's a game that I coded in 2.5 hours, or 14 hours including the idea and 10 hours of sleep. ;D

Plot Drops!
In this game you must avoid the falling plot drops for as long as possible.  It's a little slow, but pretty fun.  If you want to look at the code I have no problem with it, but at just 449 bytes there's not a lot of code to look at. :)

Controls:
Left: Move Left
Right: Move Right
2nd: Pause and UnPause

This uses N, I%, PV, L3, L4, L5, L6, GDB1, and Ans.  It will overwrite anything in variables.
Enjoy, and let me know what you think!

Edit: Note the blemishes on the bottom of ths screenie are WabbitEmu's fault, not mine.  They do not exist on calc. :D
Also, due to the low framerate of this screenie, it flickers a lot.
« Last Edit: January 31, 2010, 02:11:04 pm by ztrumpet »

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Plot Drop
« Reply #1 on: January 31, 2010, 02:22:27 pm »
Slow but the game couldn't be fast with so many drops.
You are using Plot commands, hence the name Plot Drop...?
Pretty smart, I also used Plot command for Rain Effect Contest.
Hobbing in calculator projects.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Plot Drop
« Reply #2 on: January 31, 2010, 02:23:50 pm »
That sounds like a good use of the Plot commands, for rain. :)
Edit:  What contest was this?

Yes, the name is because I'm using Plot1 and Plot2. ;D
« Last Edit: January 31, 2010, 02:28:58 pm by ztrumpet »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Plot Drop
« Reply #3 on: January 31, 2010, 02:30:02 pm »
Wow nice, that brings me some old memories of me using Plot commands to draw some stuff. I never used them much, though, because I never figured how to do collision detection back then x.x

But good idea to save speed :)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Plot Drop
« Reply #4 on: January 31, 2010, 02:32:36 pm »
That sounds like a good use of the Plot commands, for rain. :)
Plus the flicker was also an effect instead of something undesired. :)

Couldn't you get cool effects by changing the plot type? Instead of the box try the + and .
Hobbing in calculator projects.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Plot Drop
« Reply #5 on: January 31, 2010, 02:36:19 pm »
Here it is with different Plot Marks.  I like the box best, so I went with it. ;D
Which do you like best?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Plot Drop
« Reply #6 on: January 31, 2010, 02:46:16 pm »
I prefer the lil square thing.

Btw do you think you could make the scrolling 3x faster (not necessarly higher framerate but scroll more pixels at a time)? Maybe for different difficulty settings?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Plot Drop
« Reply #7 on: January 31, 2010, 05:09:53 pm »
If you like I can make it scroll three pixels at a time, but that means reworking a lot of the program.  I think I'll do it, though. :)  Look for it by the end of the day. ;D

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Plot Drop
« Reply #8 on: January 31, 2010, 07:43:21 pm »
Here's the version DJ wanted. :)
It's even smaller, at 400 bytes.  It also dosn't use the variable PV.  Enjoy. ;D

Offline TsukasaZX

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 415
  • Rating: +46/-3
  • Never Gonna Give You Up!
    • View Profile
Re: Plot Drop
« Reply #9 on: January 31, 2010, 10:35:48 pm »
This is awesome! I'll have to download it and put it on my calc :D
IRC EFNet | Nick Su-Hime | Chan #omnimaga, #unss, #cemetech
Yumé - 100% Complete!
Yumé 2: Rika's Story - 10%
 - Hiatus until summertime
Yumé: The Eternal Dreams - 50%
 - World and events
TIBiC/GO C Library - N%

"Alenda lux ubi orta libertas" - Let learning be cherished where liberty has arisen.

  ▲
▲ ▲ Triforce!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Plot Drop
« Reply #10 on: January 31, 2010, 11:29:10 pm »
Nice ^^
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Plot Drop
« Reply #11 on: February 01, 2010, 04:07:11 am »
Here it is with different Plot Marks.  I like the box best, so I went with it. ;D
Which do you like best?
The three are good effects. I liked the "+" one.
My idea was to change the plot type time to time, optionally.

The three pixels down is even better than 1 in playbility, I think. The number of pixels down could give the difficulty to a player. Like 1 is easy, 2 is medium, 3 hard and 4/5 very hard.

You should package this different versions together. :)
Hobbing in calculator projects.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Plot Drop
« Reply #12 on: February 01, 2010, 09:59:16 pm »
This reminds me of some of the old games i made back a while ago, they were never this fast though, they just used pxlOns O.O

Very fun and entertaining game!  Simple controls, simple concept, yet addicting gameplay ;D The best combination!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Plot Drop
« Reply #13 on: February 01, 2010, 10:13:51 pm »
I was actually working on a quick xLib game like this during math. It works really fast (except for the fact I forgot how to do tilemaps x.x which will make it really playable)
I'm using a matrix, which speeds row shifting up lots, and as soon as tilemap is implemented, it will run at a really playable value :D. (well this is actually Celtic III, but only one command is cIII, the store pic, because the xLib comparability storepic command doesn't seem to work right.
Edit: ok, got that to work, and I implemented a crude greyscale, by making the screen, display and the character movement a subroutine, of course if I was to get rid of that it would run a bit faster (although character movement would slow down)
also, what's the easiest way to replace the top row of a matrix with a list? Is there any wierd command, or is a for loop the best bet?
« Last Edit: February 02, 2010, 01:24:12 am by Eeems »
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Plot Drop
« Reply #14 on: February 02, 2010, 01:45:30 am »
I remember back then I tried a basic tunnel style game using xLIB. Graphics were poor, though. It just kept scrolling up then displayed a new part of the road
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)