Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: LDStudios on June 20, 2014, 05:45:16 pm

Title: nGravitron- a VVVVVV minigame
Post by: LDStudios on June 20, 2014, 05:45:16 pm
Lately, I've taken a short break from nRPG and CleverCalc to work on a port of Terry Cavanagh's Gravitron (a VVVVVV minigame) to nspire, and I'm quite happy with the result.

The speed isn't quite perfect on calc (I'd appreciate if someone could make me a gif), but it does run pretty smoothly.
It's especially fun in computer view on the student software, with everything scaled up to full screen.

Here's some screenies :
NOTE: when I took these, I accidently forgot the top white bar, it exists in the game

(http://img.ourl.ca/nGravitron-1.jpg)

(http://img.ourl.ca/nGravitron-2.jpg)

Controls:
Move: 4,6
Pause/Unpause/Restart: Enter
Reset Highschore: Ctrl+Delete

Note, this only runs on apiLevel>"1.2" (OS 3.2 or higher), and is tested and optimized for OS 3.6

Anyways, school gets out Monday, so I'll have a lot more time to work on my projects then
You can download the game below, enjoy!
Title: Re: nGravitron
Post by: Sorunome on June 20, 2014, 05:48:41 pm
I like the graphics :3
Title: Re: nGravitron- a VVVVVV minigame
Post by: DJ Omnimaga on June 22, 2014, 01:29:44 am
Looks nice. I am curious how this will look like on the real calc or the student software in regular mode (with the calc res/borders)
Title: Re: nGravitron- a VVVVVV minigame
Post by: Streetwalrus on June 22, 2014, 07:01:27 am
Yeah it looks pretty good.
Title: Re: nGravitron- a VVVVVV minigame
Post by: nspireguy on July 10, 2014, 06:36:44 pm
Looks fun! But on 3.1 it has an error:
109: attempt to call field "rotate" (a nil value)

it would be great if this could be fixed!!
thx
Title: Re: nGravitron- a VVVVVV minigame
Post by: LDStudios on July 10, 2014, 09:35:59 pm
Looks fun! But on 3.1 it has an error:
109: attempt to call field "rotate" (a nil value)

it would be great if this could be fixed!!
thx

I did mention in the topic that it only runs in OS>3.1
The problem is that images can't rotate in 3.1, and I didn't want two images for the player (up and down)
I suppose I could make a 3.1 version with two separate images, I'll see if I have a chance tomorrow
There are also a few optimizations I've been wanting to make, that I'll include in the update.
Title: Re: nGravitron- a VVVVVV minigame
Post by: DJ Omnimaga on July 11, 2014, 12:13:46 pm
Couldn't you just use a set of prerendered rotated images? I know the file size would be atrociously large but it would still do the job prretty well for older OS 3.1 and you can still keep a 3.2+ version available too.
Title: Re: nGravitron- a VVVVVV minigame
Post by: LDStudios on July 11, 2014, 03:17:24 pm
UPDATE
As some of you may know, my calculator is broken, so if someone can test it on calc for me, that would be great!
Download below!

Couldn't you just use a set of prerendered rotated images? I know the file size would be atrociously large but it would still do the job prretty well for older OS 3.1 and you can still keep a 3.2+ version available too.

Read what I said in my last post ;)
Anyways, that's how I did it.
(Except the images are small, so I decided to keep it as just 1 file, instead of 1 for 3.2+)
Title: Re: nGravitron- a VVVVVV minigame
Post by: DJ Omnimaga on July 11, 2014, 10:39:49 pm
Ah right I thought you didn't state it since I thought rotation was 360 frames for each sprite :P

I'm gonna download this now :)
Title: Re: nGravitron- a VVVVVV minigame
Post by: mdr1 on July 12, 2014, 02:22:42 pm
Great, 3.1. :D

Wow, the game is not so easy.
Title: Re: nGravitron- a VVVVVV minigame
Post by: DJ Omnimaga on July 22, 2014, 07:10:20 pm
How do you survive more than 4.80 seconds? O.O
Title: Re: nGravitron- a VVVVVV minigame
Post by: LDStudios on July 22, 2014, 07:12:27 pm
my best is like 8 seconds