Author Topic: nGravitron- a VVVVVV minigame  (Read 8198 times)

0 Members and 1 Guest are viewing this topic.

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
nGravitron- a VVVVVV minigame
« 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





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!
« Last Edit: June 20, 2014, 05:55:14 pm by LDStudios »



Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: nGravitron
« Reply #1 on: June 20, 2014, 05:48:41 pm »
I like the graphics :3

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nGravitron- a VVVVVV minigame
« Reply #2 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)

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: nGravitron- a VVVVVV minigame
« Reply #3 on: June 22, 2014, 07:01:27 am »
Yeah it looks pretty good.

Offline nspireguy

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 158
  • Rating: +11/-6
    • View Profile
    • NspireGuy
Re: nGravitron- a VVVVVV minigame
« Reply #4 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

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: nGravitron- a VVVVVV minigame
« Reply #5 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.



Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nGravitron- a VVVVVV minigame
« Reply #6 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.

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: nGravitron- a VVVVVV minigame
« Reply #7 on: July 11, 2014, 03:17:24 pm »
UPDATE
  • Now Works on 3.1
  • Minor optimizations completed
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+)
« Last Edit: July 11, 2014, 03:29:12 pm by LDStudios »



Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nGravitron- a VVVVVV minigame
« Reply #8 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 :)

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: nGravitron- a VVVVVV minigame
« Reply #9 on: July 12, 2014, 02:22:42 pm »
Great, 3.1. :D

Wow, the game is not so easy.



Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nGravitron- a VVVVVV minigame
« Reply #10 on: July 22, 2014, 07:10:20 pm »
How do you survive more than 4.80 seconds? O.O

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: nGravitron- a VVVVVV minigame
« Reply #11 on: July 22, 2014, 07:12:27 pm »
my best is like 8 seconds