CodeWalrus

Development => Calculators => Calc Projects, Programming & Tutorials => Topic started by: tr1p1ea on March 13, 2015, 01:00:54 am

Title: [TI-84+CE] Pirate Space Kitties (Formerly Meowio)
Post by: tr1p1ea on March 13, 2015, 01:00:54 am
I posted this screenie in chat a little while ago when talking about some CSE scrolling issues. It's from my doomed Cemetech contest entry that I am *hoping* to have more progress on in coming months.

Basically it's like Mario, but featuring cats (due to the contest).

I think I might only get it to demo stage (especially due to the CE coming out), with a level to run and jump in, some simple enemies and stuff.

To satisfy the space element, well it is a different planet and all, but I was going to have a starfield effect in the background as well.

(http://tr1p1ea.net/files/downloads/screenshots/meowio2.gif)

Note that for some reason its really jerky in the emulator, not so much on calc.
Title: Re: Contest Entry: Super Meowio World (Barely started)
Post by: CKH4 on March 13, 2015, 01:08:37 am
Very cool, I can't wait to see how this develops. What kind of gravity are you planning? Linear or with acceleration (or something that doesn't really fall into either category (I have no idea what that would be))?
Title: Re: [CSE] Old Contest Entry: Super Meowio World (Barely started)
Post by: tr1p1ea on March 13, 2015, 01:10:01 am
Not really sure at this point. I think i'll build it with acceleration in mind and tweak it for best fit ... even if that means it ends up constant :P.
Title: Re: Old Contest Entry: Super Meowio World (Barely started)
Post by: CKH4 on March 13, 2015, 01:12:18 am
Ok, sounds great. The scrolling looks nice and the starry background would be cool. Good luck.
Title: Re: Old Contest Entry: Super Meowio World (Barely started)
Post by: DJ Omnimaga on March 13, 2015, 01:28:04 am
I was shocked when you said you got 60 FPS out of this maximum earlier on IRC. This truly looks amazing and this could be a nice Mario spinoff if you can pull it off (and have time to do so).  :) A demo would be fine IMHO. Much better than being lost in (yet) an(other) hard drive crash next year <_<
Title: Re: Old Contest Entry: Super Meowio World (Barely started)
Post by: Thecoder1998 on March 13, 2015, 03:31:58 pm
hey this looks pretty awesome :)
Title: Re: [CSE] Old Contest Entry: Super Meowio World (Barely started)
Post by: Snektron on March 13, 2015, 03:36:09 pm
Looks awesome tr1p1ea :) I'm actually surprised of the speed, since i heard so many bad things about CSE :/ (in regards of being slow)
Title: Re: Old Contest Entry: Super Meowio World (Barely started)
Post by: DJ Omnimaga on March 13, 2015, 09:16:38 pm
Looks awesome tr1p1ea :) I'm actually surprised of the speed, since i heard so many bad things about CSE :/ (in regards of being slow)
The reason why this runs ao fast is because the LCD hardware has an horizontal screen wrapping and offset feature. It's instant and it allows smooth scrolling. He also uses 160*240 mode for twice faster speed
Title: Re: [CSE] Old Contest Entry: Super Meowio World (Barely started)
Post by: Snektron on March 13, 2015, 09:20:51 pm
Still looks cool though :P
Title: Re: Old Contest Entry: Super Meowio World (Barely started)
Post by: Duke "Tape" Eiyeron on March 13, 2015, 09:54:54 pm
The scrolling mode onl works on half mode IIRC.
Title: Re: Old Contest Entry: Super Meowio World (Barely started)
Post by: DJ Omnimaga on March 13, 2015, 10:15:07 pm
Nah it works in full mode as well. But double-buffering is only available in half mode. Also, there is an inverted screen mode and a 3-bit color mode (the latter isn't emulated properly by any emu):

(http://img.codewalr.us/mfstatic2.png)
Title: Re: Old Contest Entry: Super Meowio World (Barely started)
Post by: Streetwalrus on March 15, 2015, 12:06:04 pm
Looks neat. I forgot you could scroll maps this fast on the CSE.
Title: Re: Old Contest Entry: Super Meowio World (Barely started)
Post by: DJ Omnimaga on March 15, 2015, 04:12:01 pm
Yep it's really fast. Even my hybrid BASIC Tunnel had decent speed. The only drawback is that unlike on the NES, only horizontal scrolling is supported. Vertical scrolling has to be done the same way as in Super Mario Bros 2 USA/Doki Doki Panic (where gameplay stops entirely and it scrolls several tiles up at a time).
Title: Re: [CSE] Old Contest Entry: Super Meowio World (Barely started)
Post by: tr1p1ea on January 19, 2017, 11:41:27 pm
OK it's been a while but I have been toying with porting this to the CE. Progress is slow as always however some minor things like sprites/tile collisions are working:

(https://img.ourl.ca/cemap_6.gif)
(https://img.ourl.ca/cemap_7.gif)
Title: Re: Old Contest Entry: Super Meowio World (Barely started)
Post by: DJ Omnimaga on January 20, 2017, 01:11:33 am
Nice to see some progress. It runs pretty smooth so far. I am curious what kind of game you will come up with if this progresses further. :)
Title: Re: [CSE] Old Contest Entry: Super Meowio World (Barely started)
Post by: kotu on January 20, 2017, 01:13:33 am
OK it's been a while but I have been toying with porting this to the CE. Progress is slow as always however some minor things like sprites/tile collisions are working:

(https://img.ourl.ca/cemap_6.gif)
(https://img.ourl.ca/cemap_7.gif)

this looks amazing

i would call it blockjumper
Title: Re: [CSE] Old Contest Entry: Super Meowio World (Barely started)
Post by: MateoConLechuga on January 20, 2017, 01:14:49 am
Nice work tr1p1ea! I too appreciate how smooth the movement is, especially the physics. How many pixels do you move per frame?
Title: Re: [CSE] Old Contest Entry: Super Meowio World (Barely started)
Post by: tr1p1ea on January 20, 2017, 02:47:29 am
Thanks guys :).

The movement is based on the velocity of the player which is in 8.8 fixed-point (so 1 pixel = 256 sub-pixels).

The 'character' sprite in the screenshot accelerates at ~0.11 pixels per frame to a max velocity of 1.25 pixels per frame.

Object acc/max vel are just part of a table.
Title: Re: Old Contest Entry: Super Meowio World (Barely started)
Post by: DJ Omnimaga on January 20, 2017, 02:50:23 am
What's the frame rate? If it's high enough, then maybe you could do something inspired from Sonic?
Title: Re: [CSE] Old Contest Entry: Super Meowio World (Barely started)
Post by: tr1p1ea on January 20, 2017, 04:13:06 am
Currently the map is redrawn each frame and with a couple of sprites on screen with gravity, tile collisions applied it runs at over 70fps, though this is capped to around ~60fps (64fps?) due to VRAM flipping etc.
Title: Re: Old Contest Entry: Super Meowio World (Barely started)
Post by: DJ Omnimaga on February 05, 2017, 06:36:45 am
Impressive. Even on the CE I always thought that redrawing an entire map every frame would still cause some slowdowns. I guess it depends of how complex the engine is and how many objects collision need to be checked each frame. What's the actual TI-84+CE LCD frame rate?
Title: Re: [TI-84+CE] Pirate Space Kitties (Formerly Meowio)
Post by: tr1p1ea on February 24, 2017, 12:56:54 pm
I have been working on the sprites for the main character and decided to give it a crazy theme (like Cat's in Space isn't crazy enough...) and call it "Pirate Space Kitties", hence the eye-patch.

Pretty slow progress but working on the main sprite animation at present as well as a basic star-field for some depth ... maybe.

(http://tr1p1ea.net/files/downloads/screenshots/psk_00.gif)
Title: Re: Pirate Space Kitties (Formerly Meowio)
Post by: WholeWheatBagels on February 24, 2017, 02:52:43 pm
That cat sprite is great. XD

Maybe make the stars move up when you go up (eg backwards from what it is now)? May look a bit more like parallax.


Looks good!
Title: Re: [TI-84+CE] Pirate Space Kitties (Formerly Meowio)
Post by: tr1p1ea on February 25, 2017, 12:13:46 am
Thanks! The stars vertical scrolling is just for testing, it wont scroll like that in the finished product, only when the camera has to scroll vertically.

Like this :):

(http://tr1p1ea.net/files/downloads/screenshots/psk_01.gif)
Title: Re: Pirate Space Kitties (Formerly Meowio)
Post by: DJ Omnimaga on February 25, 2017, 04:16:19 am
Wow that cat sprite is awesomely cute :D, nice job again and I'm glad this is progressing nicely.  Also I love how you added parallax scrolling

/me mumbles something about :walrii: easter egg since walruses are 3 times larger than kitties :P


Maybe make the stars move up when you go up (eg backwards from what it is now)? May look a bit more like parallax.
There are SNES game that used backwards parallax scrolling O.O. Super Ghouls and Ghosts in one of the stages did it and Jim Power in every stage

https://www.youtube.com/watch?v=8tN_TPTIrYs
Title: Re: [TI-84+CE] Pirate Space Kitties (Formerly Meowio)
Post by: tr1p1ea on February 26, 2017, 12:38:36 am
LOL yeah that looks a little crazy.

Added a dual starfield, thoughts?

(http://tr1p1ea.net/files/downloads/screenshots/psk_02.gif)

Hoping to get more time to work on enemies and stuff soon.
Title: Re: [TI-84+CE] Pirate Space Kitties (Formerly Meowio)
Post by: xMarminq_ on March 01, 2017, 10:46:00 pm
Looks good. It adds a great feeling of dimension.  :thumbsup:
Title: Re: Pirate Space Kitties (Formerly Meowio)
Post by: DJ Omnimaga on March 01, 2017, 11:55:42 pm
Wow it looks even better with the double star field layering. Nice job. Also I'm glad you managed to keep the speed intact even at full-screen scrolling.
Title: Re: [TI-84+CE] Pirate Space Kitties (Formerly Meowio)
Post by: tr1p1ea on March 20, 2017, 11:45:29 am
Took a little break from coding the engine to work on the titlescreen ...

This is what I have so far:

(http://tr1p1ea.net/files/downloads/screenshots/psk/psk_04.gif)

And it gives away that there are going to be 4 different characters that have different abilities that you can use in levels ... though I haven't fully decided what just yet :).

Let me know what you think (Also the sprites 'breaking up' at the bottom is to make it look more 'space-y' cause it kind of looked weird them standing there ...)
Title: Re: [TI-84+CE] Pirate Space Kitties (Formerly Meowio)
Post by: p2 on March 20, 2017, 11:57:03 am
looking at the star background, I keep wondering if there'll be a nyancat easteregg somewhere   9_9

It looks really awesome, it's perfect for your game, well done!!  :love:
Title: Re: Pirate Space Kitties (Formerly Meowio)
Post by: _iPhoenix_ on March 21, 2017, 10:16:30 am
Maybe one of the kitties could have a rainbow trail?

This is purely amazing, great job!
Title: Re: [TI-84+CE] Pirate Space Kitties (Formerly Meowio)
Post by: Alvajoy123 on March 23, 2017, 11:29:19 pm
This is look good :thumbsup:
i like it so much and it look like oiram
i can not wait for it to come out  :thumbsup:
Title: Re: [TI-84+CE] Pirate Space Kitties (Formerly Meowio)
Post by: tr1p1ea on March 24, 2017, 04:45:15 am
Thanks for the encouragement guys!

I'm still debating as to whether or not I should have characters on the titlescreen or something else, but I should probably work on the engine more first :).
Title: Re: Pirate Space Kitties (Formerly Meowio)
Post by: DJ Omnimaga on March 24, 2017, 08:35:16 pm
Woah, that title screen looks amazing @tr1p1ea O.O
Title: Re: Pirate Space Kitties (Formerly Meowio)
Post by: _iPhoenix_ on March 24, 2017, 09:04:03 pm
The titlescreen is amazing, leave it!

Also, the green one should be able to slime enemies, freezing them for like 1/2 a sec.