Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: pimathbrainiac on June 01, 2014, 09:26:38 am

Title: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 01, 2014, 09:26:38 am
I have a demos for nVVVVVV! :w00t:
No screenies because KArmTI isn't letting me install ndless, and Norton thinks nspire_emu is a virus.
Attached are the sources, the makefile, and the binary (Ndless 3.6, not sure if it will work with 3.1).
So far, you can only move left/right and flip gravity.
7/9 = left/right
8 = flip gravity

Will someone please make some screenies (CX and/or Grayscale)? Thank you :D

Github repo: https://github.com/pimathbrainiac/nVVVVVV/
Binaries: https://github.com/pimathbrainiac/nVVVVVV/releases/
Title: Re: [ndless 3.6] nVVVVVV
Post by: Sorunome on June 01, 2014, 09:35:53 am
gah, want a screenie :P
Title: Re: [ndless 3.6] nVVVVVV
Post by: aeTIos on June 01, 2014, 09:39:18 am
Take the n off the title and I'm happy. Also does this work with ndless 3.1?
Edit: doesn't seem to work with ndless 3.1 D: I get a "This document format is not supported" error. >.<
Title: Re: [ndless 3.6] nVVVVVV
Post by: DJ Omnimaga on June 01, 2014, 12:06:43 pm
Good to see this ported to the Nspire. It's also nice to see some more Nspire games. :)

Hopefully it becomes Ndless 3.1-compatible eventually.
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 01, 2014, 12:59:09 pm
I would compile it under ndless 3.1, since all the code is compatible, but I can't find the ndless 3.1 sdk D:
Could someone who has it please attach the zip file?
Title: Re: [ndless 3.6] nVVVVVV
Post by: Vogtinator on June 01, 2014, 01:13:27 pm
ndless 3.1 and ndless 3.6 (and hopefully every other ndless version) are binary-compatible if you use only supported features.
Screenshot: (Made with nspire_emu running OS 3.1): (http://img.ourl.ca/asdf3.png)

Edit: Of course ndless programs, not ndless itself, what would that even mean..
Quote
Edit: doesn't seem to work with ndless 3.1  I get a "This document format is not supported" error. >.<
Your ndless seems to be very old, without bFLT support. Try to upgrade to r914, it's available here (http://www.unsads.com/projects/nsptools/downloader/download)
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 01, 2014, 01:14:31 pm
Well, the only libraries I'm using are OS.h and nSDL, so it should work.

EDIT:
Take the n off the title and I'm happy. Also does this work with ndless 3.1?
Edit: doesn't seem to work with ndless 3.1 D: I get a "This document format is not supported" error. >.<

According to Levak, you need to update ndless 3.1

EDIT 2: new version, fixing some tile things, attached.
Title: Re: [ndless 3.6] nVVVVVV
Post by: aeTIos on June 01, 2014, 02:03:38 pm
Yeah I figured. Updating ndless now!
Title: Re: [ndless 3.6] nVVVVVV
Post by: Matrefeytontias on June 01, 2014, 02:07:55 pm
:o be sure to make that work on monochrome Nspires too, I'll want it :D
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 01, 2014, 02:10:48 pm
Matref: I only have a monochrome, don't worry :P

I'm using nSDL, so there should never be a problem :D
Title: Re: [ndless 3.6] nVVVVVV
Post by: Hayleia on June 01, 2014, 02:13:23 pm
I could tell you were using nSDL without reading, just by trying this on CX and non-CX. The speed difference is striking, see screenshots. I had problems with that too, even though I used SDL_DisplayFormat, so with pierrotdu18 and matref we started a new lib. Functions from that lib were used in Jetpack Impossible if you want to use them. They use the same format as nSDL (just remove all the "0x2a01" and you're set).

(http://img.ourl.ca/ScreenCapture_2014-6-1%2020.2.35.wmv.GIF) (http://img.ourl.ca/ScreenCapture_2014-6-1%2020.0.42.wmv.GIF)
Title: Re: [ndless 3.6] nVVVVVV
Post by: Streetwalrus on June 01, 2014, 02:32:53 pm
Wow, the difference. O.O
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 01, 2014, 05:08:35 pm
I'm trying to use the header from Jetpack Impossible, but I have a problem: I store my sprites in a spritemap, and blitting does not seem to be supported inherently by the library. So the question: How do I blit my spritemap in program?
Title: Re: [ndless 3.6] nVVVVVV
Post by: Hayleia on June 01, 2014, 05:21:26 pm
The putsprite function draws directly on the screen. So just do your regular tilemap and draw that.
Beware when drawing moving sprites though, if you erase them and don't draw them in a short time frame, there will be flickering. Pierrotdu18 and matref are working on double-buffering to avoid that but for now, we don't have better.
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 01, 2014, 05:38:18 pm
I either said something wrong, or you or I misunderstood the other:

I have a spritemap, that is, one image with all of the sprites in it. SDL has the function SDL_BlitSurface(surface, rect, screen, screenposition), which not only displays the sprite, but blits/crops the pointed surface so that only a specific region of said surface is displayed/drawn.

putsprite(x, y, ptr) displays the entire pointed image on the screen. Is there/can you make a routine that crops/blits the pointed image to a specific x/y/w/h?
Title: Re: [ndless 3.6] nVVVVVV
Post by: Matrefeytontias on June 01, 2014, 05:39:14 pm
Well, you just added a function to our task list :P
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 01, 2014, 08:14:39 pm
I am now using the Jetpack Impossible library with a modification to putsprite :D

Zip attached, will someone please give me some screenies? Thank you.

EDIT: fixed source and binary bug.
Title: Re: [ndless 3.6] nVVVVVV
Post by: Matrefeytontias on June 01, 2014, 08:22:57 pm
Just so you know, I rewrote the double-buffering part so that it sets the monochrome screen to 16-bits (tested and the same program works with both color and monochrome screens) ; that way no tests are needed at all when drawing stuff, so programs will draw lightning-fast. Maybe you'll have to adapt your code a bit, so be prepared for that.
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 01, 2014, 08:24:28 pm
Fair enough, but I'll wait. Thank you.
Title: Re: [ndless 3.6] nVVVVVV
Post by: Streetwalrus on June 02, 2014, 12:49:59 am
Why don't you tar up your files ? Uploading six files as attachments is probably a pain. :P
Title: Re: [ndless 3.6] nVVVVVV
Post by: Hayleia on June 02, 2014, 01:14:48 am
Zip is preferred because everyone can open them. Not that people can't install software but it's better to choose what works by default everywhere (like not rar because "Windows only" and not tar because "not on Windows").

And here are the screenshots you asked for. See ? Not overall faster but a lot better balanced :D
(http://img.ourl.ca/ScreenCapture_2014-6-2%207.8.41.wmv.GIF) (http://img.ourl.ca/ScreenCapture_2014-6-2%207.9.49.wmv.GIF)
Title: Re: [ndless 3.6] nVVVVVV
Post by: Streetwalrus on June 02, 2014, 01:18:12 am
I was just kidding, always use zip although it sucks. Also I'm pretty sure I have unrar installed on my computer. If not it's easy to install stuff on Linux, only Wincrap and Macjoke OS are pitas to deal with. :P
Title: Re: [ndless 3.6] nVVVVVV
Post by: Hayleia on June 02, 2014, 01:20:48 am
I was just kidding, always use zip although it sucks. Also I'm pretty sure I have unrar installed on my computer. If not it's easy to install stuff on Linux, only Wincrap and Macjoke OS are pitas to deal with. :P
Well I'd say the contrary. I easily installed everything I wanted on my Windows, but when someone sent me a rar on my netbook, I was like "ok, google to find software (unrar) and terminal to install it". Well, the software never worked.
Title: Re: [ndless 3.6] nVVVVVV
Post by: Streetwalrus on June 02, 2014, 01:27:44 am
sudo apt-get install unrar ?
Title: Re: [ndless 3.6] nVVVVVV
Post by: Hayleia on June 02, 2014, 01:31:30 am
Yeah, but I didn't say "it didn't install", I said "it never worked".
But again, my netbook says there are 4 system errors when booting :P
Title: Re: [ndless 3.6] nVVVVVV
Post by: aeTIos on June 02, 2014, 01:53:30 am
sudo apt-get install rar?
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 02, 2014, 06:52:22 am
I can't zip because the zip is larger than 1024 KB <_< Otherwise, I would zip it up :P
Title: Re: [ndless 3.6] nVVVVVV
Post by: aeTIos on June 02, 2014, 06:53:13 am
You could always link us to your public dropbox folder :)
Title: Re: [ndless 3.6] nVVVVVV
Post by: Streetwalrus on June 02, 2014, 06:58:58 am
sudo apt-get install rar?
Nah, that's the compression utility. Like zip vs unzip.
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 02, 2014, 07:26:47 am
I added spikes.

Permanent download link: https://drive.google.com/file/d/0B_rRGhX27sY-U2o5cUNVNC1PV2M/edit?usp=sharing
Title: Re: [ndless 3.6] nVVVVVV
Post by: bb010g on June 02, 2014, 07:37:44 pm
7-Zip is pretty reliable. (http://www.7-zip.org/)
Title: Re: [ndless 3.6] nVVVVVV
Post by: Legimet on June 02, 2014, 07:50:20 pm
If you want to unarchive rar's, use The Unarchiver instead of the proprietary unrar. It works on rarv3.
sudo apt-get install unar
Title: Re: [ndless 3.6] nVVVVVV
Post by: DJ Omnimaga on June 03, 2014, 02:41:33 am
Wow, how did I miss this? If this comes to fruition this would be really cool. Will it be based on the 83+ version?
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 03, 2014, 07:54:34 am
Actually, due to the power of ARM and the increased screen resolution (and by that I mean, it's exactly the right resolution). I'm going to attempt to port the original maps, but maybe not the full game. We'll see how it goes once I finish the engine :D
Title: Re: [ndless 3.6] nVVVVVV
Post by: DJ Omnimaga on June 03, 2014, 08:55:40 am
Ok cool to hear. I guess you could always try to implement a remake of your version when you are finished, though, it would be cool even if we would see 4 rooms at once. :P
Title: Re: [ndless 3.6] nVVVVVV
Post by: aeTIos on June 03, 2014, 09:35:54 am
I actually think you can port the full game. Maybe you could even ask Terry Cavanagh for the original map data? (I have heard he supports ports to other platforms)
Title: Re: [ndless 3.6] nVVVVVV
Post by: Eiyeron on June 03, 2014, 09:46:00 am
(I have heard he supports ports to other platforms)
He totally support ports, I perfectly remember how he was happy to see Super Hexagon on calcs!
Title: Re: [ndless 3.6] nVVVVVV
Post by: DJ Omnimaga on June 05, 2014, 12:06:59 am
Yeah I wish everyone had that philosophy, unlike people like the creator of that one popular and drug-like-addicting block/building game who I will not name, who are only in for the money.
Title: Re: [ndless 3.6] nVVVVVV
Post by: bb010g on June 05, 2014, 09:53:17 am
Yeah I wish everyone had that philosophy, unlike people like the creator of that one popular and drug-like-addicting block/building game who I will not name, who are only in for the money.
Guessing you're trolling. :) Mojang is a pretty relaxed company, with mods, mobile clones, and the like not being attacked.
Title: Re: [ndless 3.6] nVVVVVV
Post by: Eiyeron on June 05, 2014, 10:42:30 am
They were already attacked by Bethesda for using the word "Scrolls" in a future game.
Title: Re: [ndless 3.6] nVVVVVV
Post by: bb010g on June 05, 2014, 09:10:13 pm
They were already attacked by Bethesda for using the word "Scrolls" in a future game.
And then they challenged Bethesda to a Quake 3 tournament, but Bethesda dropped the charges... :D
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on June 12, 2014, 03:25:03 pm
So I'm working on implementing flip lines. Tests so far look good. I'll get you an update as soon as I can!
Title: Re: [ndless 3.6] nVVVVVV
Post by: aeTIos on June 14, 2014, 07:48:40 am
Keep it coming :D I'm so eager for this.
Also where's the time when I used to be good at coding :P
Title: Re: [ndless 3.6] nVVVVVV
Post by: nspireguy on June 16, 2014, 03:16:28 pm
i think that this is going to be awesome!!! especially if you can add a story to it!!! good luck!!!
Title: Re: [ndless 3.6] nVVVVVV
Post by: Streetwalrus on June 16, 2014, 03:25:47 pm
He's porting the original maps, there's a story with them. :P
Title: Re: [ndless 3.6] nVVVVVV
Post by: Matrefeytontias on June 16, 2014, 04:16:30 pm
Also now that I've fixed n2DLib, you should probably update your version. Apart from that I really can't wait for the game since that's the type of games that can actually be played on a monochrome Nspire :P
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on August 05, 2014, 11:10:57 am
Well, now I have a github repo for this: https://github.com/pimathbrainiac/nVVVVVV

You can now see my source and stuffs!
Title: Re: [ndless 3.6] nVVVVVV
Post by: DJ Omnimaga on August 06, 2014, 05:24:08 pm
Yeah I wish everyone had that philosophy, unlike people like the creator of that one popular and drug-like-addicting block/building game who I will not name, who are only in for the money.
Guessing you're trolling. :) Mojang is a pretty relaxed company, with mods, mobile clones, and the like not being attacked.
mojang did send C&D letters and emails before for Minecraft clones and games similar to it. I remember people wanted to stop their calc remakes of it because of that before. However I think the biggest issues are when you use graphics from Minecraft.
Title: Re: [ndless 3.6] nVVVVVV
Post by: 123outerme on August 06, 2014, 06:29:05 pm
Yeah I wish everyone had that philosophy, unlike people like the creator of that one popular and drug-like-addicting block/building game who I will not name, who are only in for the money.
Guessing you're trolling. :) Mojang is a pretty relaxed company, with mods, mobile clones, and the like not being attacked.
mojang did send C&D letters and emails before for Minecraft clones and games similar to it. I remember people wanted to stop their calc remakes of it because of that before. However I think the biggest issues are when you use graphics from Minecraft.
Or when you rip every single feature from the game, paste it hastily on to your own, add guns, and call it a day.
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on August 07, 2014, 02:27:38 am
/me mutters something about not derailing the topic.

Since I seemingly can't get back to sleep, I'm going to be working on this for a bit tonight. Wish me luck!
Title: Re: [ndless 3.6] nVVVVVV
Post by: leafy on August 07, 2014, 07:03:03 am
This is some awesome work! I'm glad you've decided to move to a platform that can show a bit more of its graphical fidelity :) I noticed in the screenshots that the sprite doesn't appear to change direction while in midair, or am I incorrect about that?

You may wish to get in touch with Terry Cavanagh about using his sprites (I'd hate for this project to go under because of a C&D).
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on August 07, 2014, 01:57:56 pm
I should probably do that, and considering other people have ported to other platforms and ripped his sprites as well, he'll probably be okay. Also the sprite does change direction :P

Also this is a completely separate project from VVVVVV 83+. I'm going to continue working on that, but I feel that this should end up my priority at the moment.
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on August 09, 2014, 09:06:17 pm
So I did a build of the current demo.

So all releases and pre-releases will be available here: https://github.com/pimathbrainiac/nVVVVVV/releases/ (https://github.com/pimathbrainiac/nVVVVVV/releases/)
I will also notify you guys of each release in this thread.

Also 1337!!!
Title: Re: [ndless 3.6] nVVVVVV
Post by: Matrefeytontias on August 09, 2014, 09:22:12 pm
Hum for me the tilemap never gets redrawn ... it's like the character leaves a black trail behind him.

EDIT : by the way I use Ndless 3.1, but that shouldn't cause any problem.
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on August 09, 2014, 11:12:41 pm
Hum for me the tilemap never gets redrawn ... it's like the character leaves a black trail behind him.

EDIT : by the way I use Ndless 3.1, but that shouldn't cause any problem.

Interesting. It doesn't for me...
Title: Re: [ndless 3.6] nVVVVVV
Post by: Hayleia on August 10, 2014, 02:20:31 am
I think I know why one has that problem and the other one doesn't. Monochrome vs CX.
I had that problem too when writing JetPack Impossible but I don't remember if it was when using nSDL or n2DLib and I don't remember how I fixed it o.o
Title: Re: [ndless 3.6] nVVVVVV
Post by: Matrefeytontias on August 10, 2014, 03:40:15 am
But we both have a TI-Nspire CAS.

We thought that he possibly released the wrong version.
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on August 10, 2014, 07:14:48 am
Matref was right. I uploaded a binary from the old (non n2DLib) version that was buggy. I deleted that folder on my computer now :P

Same link. I edited the release, so it's still 0.0.1-alpha.
Title: Re: [ndless 3.6] nVVVVVV
Post by: Matrefeytontias on August 10, 2014, 07:22:33 am
Now it works :)

(http://img.ourl.ca/nVVVVVV.gif)
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on August 10, 2014, 12:28:07 pm
New version! Now with frameskip for GS calcs!
(also will someone please test to make sure things run at the same speed on both models?)

EDIT:
link to the releases page, in case you missed that that is a thing now: https://github.com/pimathbrainiac/nVVVVVV/releases
Title: Re: [ndless 3.6] nVVVVVV
Post by: DJ Omnimaga on August 10, 2014, 08:03:23 pm
Glad to see this progressing again. Can't wait to see more levels added to it :)
Title: Re: [ndless 3.6] nVVVVVV
Post by: Vsod99 on August 19, 2014, 12:43:12 am
I can't wait to try this out tomorrow morning! Thanks for the port :D
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on September 29, 2014, 07:13:56 pm
Not really a progress update, but a "pimath is rebooting" update. I got nspire_emu to work, so here's a GS screenie:

(http://img.ourl.ca/test-4.gif)

EDIT: all jumpiness is due to my screencap software
Title: Re: [ndless 3.6] nVVVVVV
Post by: DJ Omnimaga on October 01, 2014, 11:07:50 am
I love those graphics, but you should try to make the colors the same as the original game or more present so it's truer to it.

(http://img.ourl.ca/vvvvvv.png)
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on October 01, 2014, 06:33:30 pm
They come from a spriterip :P I still have to get TC's permission before I use them officially, though :P
Title: Re: [ndless 3.6] nVVVVVV
Post by: DJ Omnimaga on October 01, 2014, 09:46:13 pm
Aaah ok, hopefully he gives you permission and soon :P. Else I guess you could ask in the pixel art thread or remake the 84+ ones into colors
Title: Re: [ndless 3.6] nVVVVVV
Post by: aeTIos on November 08, 2014, 06:57:43 pm
/me prods progress <_<

Seriously, I hope this game gets finished. I never played VVVVVV and I'm excited to try.
Title: Re: [ndless 3.6] nVVVVVV
Post by: DJ Omnimaga on November 08, 2014, 08:40:13 pm
Yeah I have been wondering if that had been progressing lately. I have seen Pimath around but then he can be missing for a few days without much notice.
Title: Re: [ndless 3.6] nVVVVVV
Post by: bb010g on November 08, 2014, 09:08:47 pm
/me prods progress <_<

Seriously, I hope this game gets finished. I never played VVVVVV and I'm excited to try.
Steam. It's cheap.
Title: Re: [ndless 3.6] nVVVVVV
Post by: aeTIos on November 08, 2014, 09:12:43 pm
Student. No money even €5.
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on November 13, 2014, 03:25:16 pm
While I am working on nReuben, this project is officially on hold. Sorry. *shrugs*
Title: Re: [ndless 3.6] nVVVVVV
Post by: neuronix on January 27, 2016, 11:34:52 am
Were is it possible to download the last version of this program?
Thank you in advance
Title: Re: [ndless 3.6] nVVVVVV
Post by: pimathbrainiac on January 27, 2016, 11:56:03 am
As linked in the OP: https://github.com/pimathbrainiac/nVVVVVV/releases/
Not sure why you want to download, though.