Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Raylin on July 26, 2009, 10:06:33 pm

Title: gRaviTy
Post by: Raylin on July 26, 2009, 10:06:33 pm
I took a look at Builderboy's Serenity project.
I now know FOR SURE that this is a feeble attempt at a contest entry.
But, seeing as though this is my first game, I feel somewhat compelled to share what I have so far.

I started a new platformer today (I saw the home page of Omnimaga as I was loading up Chrome. When I saw that the prizes were back, I jumped at the chance.).

The game is called GrAVItY or gRaviTy. Whatever. Doesn't matter.
Basically, you control a man (indicated by the theta symbol) who possesses the strange ability to change the pull of gravity around him. Avoiding evil miniature black holes (*), you must stop the Scientist from unleashing havoc on the city.

(http://i28.tinypic.com/2i2ofk.jpg)
(http://i30.tinypic.com/2uzxout.jpg)
(http://i28.tinypic.com/fw0oc6.jpg)

Meh. Comments?
Title: Re: gRaviTy
Post by: noahbaby94 on July 26, 2009, 10:09:57 pm
Ooh that sounds cool I've played games like this and there fun are you using any libs?
Title: Re: gRaviTy
Post by: Geekboy1011 on July 26, 2009, 10:13:00 pm
wow i like the idea cant wait to see how this comes out
Title: Re: gRaviTy
Post by: Raylin on July 26, 2009, 10:20:24 pm
Pure TI-BASIC, noah.
Title: Re: gRaviTy
Post by: noahbaby94 on July 26, 2009, 10:22:22 pm
Hmm interesting I'd love to see the engine for this once your done.
Title: Re: gRaviTy
Post by: DJ Omnimaga on July 26, 2009, 10:28:02 pm
Yeah Noah/Simplethinker are now in charge of the prizes (with the crap I dealt with in the TI community in the past 6 years, I didn't felt anyone from the community deserved any money contribution from my part anymore, except for the money that keeps this site and domain name online. What happened is a long story, though, that would clutter this topic a lot.)

As for the game it seems pretty nice. As ASCII characters, I really like to use "X" to represent monsters or even your character if it's monster-ish, and "M" for magicians. Omega is also a good choice. However it's up to the programmer, because I find "X" to be also very nice for walls. Do you think you'll have any WabbitEmu/PindurTI/CalcCapture screenshots of the game? I am curious to see the game in action through animated goodies :D
Title: Re: gRaviTy
Post by: Builderboy on July 27, 2009, 12:07:07 am
This looks very nice for your first game!  Its a nice simple puzzling concept (the best kind) that should allow for some very interesting puzzles :)
Not feeble at all!
Title: Re: gRaviTy
Post by: Eeems on July 31, 2009, 07:01:13 pm
looks good, could you elaborate on the gameplay?
how exactly does this gravity effect the world around your character and such
Title: Re: gRaviTy
Post by: Raylin on August 03, 2009, 11:11:54 pm
You can press [2nd] to change the flow of gravity.
So, you know how gravity usually pulls you down?
Well, press [2nd] and then, gravity will pull you up and vice versa.
Title: Re: gRaviTy
Post by: cooliojazz on August 04, 2009, 12:37:49 am
Now that sounds interesting.  Definately want to see how this turns out. Good work so far.
Title: Re: gRaviTy
Post by: Eeems on August 14, 2009, 08:19:00 pm
so you pretty much can fly?
Title: Re: gRaviTy
Post by: Geekboy1011 on August 15, 2009, 11:56:49 am
cool i cant wait to see this finished and hmm it actally seems hard i think this might be a challenging game when it is done i really cant wait now
Title: Re: gRaviTy
Post by: Raylin on August 30, 2009, 10:40:03 pm
Code: [Select]
:ClrHome
:Output(7,1,"**PRESS  [2ND]****  TO BEGIN  **
:Repeat Ans>17
:¦ For(A,1,16
:¦ ¦ Output(3,1,"    G^r^AVI^T^Y!    
:¦ ¦ Output(3,A,">
:¦ ¦ Output(3,‾A+17,"<
:¦ ¦ rand(2
:¦ ¦ A+[size=8]E[/size]2(getKey=21→A
:¦ End
:End
:7→A:1→θ:1→F
:3→G:1→U:1→T
:DelVar Z
:Repeat K=22 or not(G
:¦ DelVar T
:¦ For(X,1,4
:¦ ¦ Output(X,1,"XXXXXXXXXXXXXXXX
:¦ ¦ Output(‾X+9,1,"XXXXXXXXXXXXXXXX
:¦ ¦ rand(5
:¦ End
:¦ For(X,4,2,‾1
:¦ ¦ Output(X,1,"                
:¦ ¦ Output(‾X+9,1,"                
:¦ ¦ rand(5
:¦ End
:¦ For(X,1,16
:¦ ¦ Output(4,1,sub("*********WORLD 1*********WORLD 2*********WORLD 3*********WORLD 4",(16U-16)+(‾X+17),X
:¦ ¦ Output(5,‾X+17,sub("INDUSTRIAL ZONE*SUBTERRA ZONE***SKY ZONE********METROPOLIS ZONE*",16U-15,X
:¦ ¦ rand(2
:¦ End
:¦ getKey
:¦ rand(60
:¦ Repeat G≤0 or K=22 or T
:¦ ¦ (θ<8)+15(B=1)(K=24)(θ>1→B
:¦ ¦ (θ<8)(16A-15)+15(B=16)(K=24)(θ>1→C
:¦ ¦ prgmGRAVLVLS
:¦ ¦ Ans→Str0
:¦ ¦ inString(Str0,"θ→W
:¦ ¦ 16(^-1)(W+15→V
:¦ ¦ {V,W→L[size=8]1[/size]
:¦ ¦ Output(1,1,Str0
:¦ ¦ If W
:¦ ¦ Output(V,1,"
:¦ ¦ DelVar VDelVar WDelVar Z5→H
:¦ ¦ Repeat B=16 and K=26 or B=1 and K=24 or Z or K=22 or sub(Str0,C,1)="
:¦ ¦ ¦ ¦ Output(A,B,"θ
:¦ ¦ ¦ ¦ Output(1,1,sub(Str0,1,10
:¦ ¦ ¦ ¦ If H
:¦ ¦ ¦ ¦ Then
:¦ ¦ ¦ ¦ ¦ Output(1,1,"LIVES:
:¦ ¦ ¦ ¦ ¦ Output(1,8,G
:¦ ¦ ¦ ¦ End
:¦ ¦ ¦ ¦ Output(1,16,sub("",F+3(F=‾1),1
:¦ ¦ ¦ ¦ For(X,1,5
:¦ ¦ ¦ ¦ ¦ getKey→K
:¦ ¦ ¦ ¦ ¦ X+5K→X
:¦ ¦ ¦ ¦ End
:¦ ¦ ¦ ¦ If K=11
:¦ ¦ ¦ ¦ Then
:¦ ¦ ¦ ¦ ¦ 1→Z
:¦ ¦ ¦ ¦ ¦ ClrHome
:¦ ¦ ¦ ¦ ¦ Input "WORLD? ",U
:¦ ¦ ¦ ¦ ¦ Input "SCREEN? ",θ
:¦ ¦ ¦ ¦ End
:¦ ¦ ¦ ¦ H-(H≠0→H
:¦ ¦ ¦ ¦ Y+(Y<8)-7(Y≥8→Y
:¦ ¦ ¦ ¦ If A=1 or A=8 or sub(Str0,C,1)="*
:¦ ¦ ¦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1,"   YOU LOSE..
:¦ ¦ End
Generated by [url=http://www.cemetech.net/projects/basicelite/sourcecoder.php]SourceCoder[/url], © 2005 [url=http://www.cemetech.net]Cemetech[/url]
Title: Re: gRaviTy
Post by: DJ Omnimaga on August 30, 2009, 10:47:16 pm
Is that the entire game code? /me would like 8xp file (zip) to test. Or do you need help on the optimizing?
Title: Re: gRaviTy
Post by: Raylin on August 30, 2009, 10:51:41 pm
Okay. I'll post the 8xp.
But, can you see, at-a-glance, why it runs so slow? I can't seem to optimize it anymore.
Title: Re: gRaviTy
Post by: Raylin on August 30, 2009, 10:52:33 pm
LOL. Sorry for the double post but here's the attachments...
Title: Re: gRaviTy
Post by: DJ Omnimaga on August 30, 2009, 11:25:44 pm
mhmm ok I guess I could prbly look into that, unfortunately, my BASIC skills are pretty dated, though, so the optimizations I could make would probably be rudimentary, altough if I can figure out some stuff, even if it doesn't mean posting new code, I could maybe post advices and stuff after looking at your code
Title: Re: gRaviTy
Post by: DJ Omnimaga on August 04, 2010, 06:42:27 pm
This is a... well... necropost.

As suggestion for your future releases, you should do like with Lemonade Tycoon and announce in a topic that you posted new programs in the archives. Otherwise, it can be a bit hard to notice since the archives are not updated often (so people check less).

For anyone who might be wondering, yeah there was a release of Gravity today in the downloads section. I tried it and it's pretty great. I like the idea a lot. Also the speed is pretty nice.
Title: Re: gRaviTy
Post by: ztrumpet on August 05, 2010, 10:12:27 am
This is a wonderful game!  Excellent job Raylin!  Although I always seem to die where it's like:
Code: [Select]
* * * * * * * *
 * * * * * * * *
Grr... :D

Nice game! ;D
Title: Re: gRaviTy
Post by: nemo on August 05, 2010, 10:16:06 am
i like it! i'm not very good though. i could barely get past world 2.

anyone else thinking axe remake?
Title: Re: gRaviTy
Post by: ztrumpet on August 05, 2010, 10:19:57 am
anyone else thinking axe remake?
I was, but not by me.  I have something else to code and release this week... ;D
Title: Re: gRaviTy
Post by: nemo on August 05, 2010, 10:21:51 am
I was, but not by me.  I have something else to code and release this week... ;D

*coughexoduscoughcoughexoduscough* yes?!

hmm, i think i have a few neat ideas if i were to remake it. Raylin, do i have your permission?
Title: Re: gRaviTy
Post by: ztrumpet on August 05, 2010, 10:24:46 am
I was, but not by me.  I have something else to code and release this week... ;D

*coughexoduscoughcoughexoduscough* yes?!
*coughit'scoughacoughclonecoughofcoughacoughgamecoughincoughthecougharcadecoughincoughAxe* ;D
Title: Re: gRaviTy
Post by: Raylin on August 05, 2010, 10:28:37 am
Anyone may remake this! :D
Feel free to do so.

Just gimme credit.
Title: Re: gRaviTy
Post by: yunhua98 on August 05, 2010, 10:47:43 am
I was, but not by me.  I have something else to code and release this week... ;D

*coughexoduscoughcoughexoduscough* yes?!
*coughit'scoughacoughclonecoughofcoughacoughgamecoughincoughthecougharcadecoughincoughAxe* ;D
*coughiscoughitcoughtetriscoughjcoughkcough*
Notepad find and replace ftw!

This is sort of unrelated, but is Ztrumpets's Gravity Dude Game similar to this?  Because I haven't been able to find any info on it.
Title: Re: gRaviTy
Post by: ztrumpet on August 05, 2010, 10:55:24 am
This is sort of unrelated, but is Ztrumpets's Gravity Dude Game similar to this?  Because I haven't been able to find any info on it.
Hehe...

No it's not much like it.  Oh, and the reason you can't find info on it is because most of the info released has been in PMs between Builderboy and I on UTI. :P  I'll try to have some info on it up within the next month, but maybe not.  We'll see... ;D
Title: Re: gRaviTy
Post by: DJ Omnimaga on August 06, 2010, 09:39:08 pm
I can't wait :P