Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: LDStudios on August 06, 2014, 05:18:22 pm

Title: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on August 06, 2014, 05:18:22 pm
Since my calculator broke, I have released very few projects. I attempted several large scale projects this summer, but all of them were abandoned due to poor speeds on calc. My latest project however, an unnamed medieval platformer, is taking great shape.

The game will be set up similar to Mario, with multiple levels/worlds. So far, i have most of the first level complete. The game also features a lot of my own pixel art, as well as some that was ripped from Mario :P (no, this is not a mario game)

In this topic, I will be uploading screenshots as well as releases of the game. I would greatly appreciate any suggestions you might have! Stay tuned!

Spoiler For screenshots:
(http://img.ourl.ca/title-1.png)    (http://img.ourl.ca/knight12.png)

(http://img.ourl.ca/knight9.png)    (http://img.ourl.ca/wizards.png)


Spoiler For video:
video by ElementCoder


Spoiler For thanks:

I would like to thank
  • Jens_K for his assistance with lua images
  • Matref for testing on a BW calc
  • ElementCoder for testing on a CX multiple times and for recording the results

Planned Features:
Controls (Also included in the document)
!!!Beta Release vB1.1!!!
Added Information on backdrop controls
VVVVVVVVVVVVVVVVVV
Title: Re: Unnamed Medieval Platformer
Post by: Sorunome on August 06, 2014, 05:23:00 pm
Already saw tons of screenies about this lurking in the chat room, and i must say, it is looking awesome! :D
Title: Re: Unnamed Medieval Platformer
Post by: TIfanx1999 on August 06, 2014, 08:29:43 pm
Wow, that looks really nice so far! :D
Title: Re: Unnamed Medieval Platformer
Post by: DJ Omnimaga on August 07, 2014, 01:08:27 am
This is coming along very nicely and it looks very nice too. My suggestion would be to setup Nspire Student Software so that it emulates the calculator at 1x screen size rather than 1.5x or 2x. It would make more realistic and nice screenshots. :P
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on August 08, 2014, 10:47:19 am
Here's the current sprite-sheet (part mine, part ripped)

(http://img.ourl.ca/spritesheet-4.png)
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on August 10, 2014, 09:32:01 am
Here's a mockup with DJ Omnimaga's background implemented:
(http://img.ourl.ca/Mock.png) (http://img.ourl.ca/Mock.png)
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: TheCoder1998 on August 10, 2014, 09:35:57 am
looks awesome :D
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: DJ Omnimaga on August 10, 2014, 12:13:50 pm
That came out nicely. you should add some clouds at the top. :D

Also for some reasons the graphics kinda reminds me of Adventure Time DS games :P
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on August 10, 2014, 12:18:56 pm
That came out nicely. you should add some clouds at the top. :D

Also for some reasons the graphics kinda reminds me of Adventure Time DS games :P

The problem with clouds is the repetition is very obvious (especially with the backdrop repeating 5 across the width of the screen)

Also, I am going to take out some of the grass and add sky at the top, the mountains look a bit high in my opinion.
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: DJ Omnimaga on August 10, 2014, 05:40:37 pm
Aah ok, and yeah those backgrounds were designed for a 160x120 resolution so it might not fit well in some 320x240 games.
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on August 12, 2014, 03:36:29 pm
I implemented the parallax background.
Unfortunately, it causes some lag on OS<3.6, so I have the option to turn it on and off.

Also, wizards:
(http://img.ourl.ca/wizards.png)
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: DJ Omnimaga on August 12, 2014, 11:17:59 pm
looks nice but hard O.O
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: Adriweb on August 13, 2014, 06:54:09 am
Good job, nice graphics as usual :D
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on August 13, 2014, 02:02:49 pm
Good job, nice graphics as usual :D
Thanks, I spent a lot of time on the characters!

This is coming along very nicely and it looks very nice too. My suggestion would be to setup Nspire Student Software so that it emulates the calculator at 1x screen size rather than 1.5x or 2x. It would make more realistic and nice screenshots. :P

How's this? :P
(http://img.ourl.ca/blob.png)

Title: Re: [lua] Adventure- A Medieval Platformer
Post by: DJ Omnimaga on August 13, 2014, 11:51:10 pm
Looks better :D, and I also I like that enemy sprite. :)
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on August 23, 2014, 10:33:03 pm
I added ice!
(http://img.ourl.ca/ice.png) (http://img.ourl.ca/ice.png)

Anyways, the game is basically functional, so once I finish designing a few solid levels, I'll release a beta version for testing.
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: DJ Omnimaga on August 24, 2014, 12:35:05 am
I can't wait for the beta. :D
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on August 29, 2014, 11:46:22 am
The first level is released as a beta version!
See the original post!
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: DJ Omnimaga on August 29, 2014, 09:25:34 pm
Awesome! I'll test to see if it works under OS 3.1 :)

EDIT: Kinda slowish on that OS although I guess I can live with it. What are the controls by the way? It might be a good idea to put them in the first post. I also recall an option to disable the background, right?
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on August 30, 2014, 10:04:04 am
Awesome! I'll test to see if it works under OS 3.1 :)

EDIT: Kinda slowish on that OS although I guess I can live with it. What are the controls by the way? It might be a good idea to put them in the first post. I also recall an option to disable the background, right?

Ahh yes thankyou! It will run slowly on OS 3.1 with background enabled. Controls can be viewed by pressing the help button while on the home screen (but I forgot to mention that tab toggles background). It should run well on OS 3.1 if you turn the background off. I'll add that to the help screen, and also I'll put the controls on the first post.
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on August 31, 2014, 09:42:21 pm
Finished designing level 2!
If anyone wants to help with level design, let me know, I could really use the help!
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: DJ Omnimaga on September 14, 2014, 12:24:45 am
Does the first post version now include the 2nd level? Also is it still currently being worked on?
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on September 14, 2014, 09:00:22 am
Does the first post version now include the 2nd level? Also is it still currently being worked on?
No, first post doesn't include the second level. It is being worked on, but slowly now that school has started again. 123outerme is helping me design levels though, so hopefully by October i can release all of the first kingdom. I'm also starting to fix up a few things in the code.
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: DJ Omnimaga on September 14, 2014, 10:19:58 am
Aaah ok I see now. :D That reminds me, will there be trampolines? Also did you try non-parallax scrolling backgrounds (backgrounds that scrolls exactly at the same speed as the rest) to see if the frame rate is faster on OS 3.1? Or perhaps you could just make backgrounds part of the tilemap rather than a second layer or even make them non-fullscreen and get rid of sky gradients.
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on September 14, 2014, 01:48:55 pm
I've already gotten rid of the sky gradient :P
As far as non-parallax backgrounds, i don't think they'll help, because the game is slow on 3.1 with backgrounds, even when you aren't scrolling. I'm not sure there is any real way I'll be able to make backdrops run well on 3.1 :(
As far as trampolines, I wasn't planning on adding that. I am working on red platforms that move/fall though.
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: DJ Omnimaga on September 27, 2014, 10:25:13 am
I assume that the speed is entirely based on how many tiles there are on the screen? Eg the more tiles the map has, the slower it gets?
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on September 28, 2014, 07:59:00 am
I assume that the speed is entirely based on how many tiles there are on the screen? Eg the more tiles the map has, the slower it gets?

Yes, somewhat, but that shouldn't have a huge impact, because i only draw the tiles that are actually visible. What could potentially slow it down is one part of a level that's very dense with objects.
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: DJ Omnimaga on September 28, 2014, 11:54:45 am
Aah ok, so basically a level where the background is part of the tilemap would definitively be slower, unless it was only like 20 tiles (such as clouds in Super Mario Bros)

I still don't get why a 150 MHz Lua language can't even compete with xLIBC+BASIC on a 15 MHz color calc, though. >.< Even Flappy Bird 84+C, which is written in BASIC with the help of xLIBC, scrolls faster than sprite-based OS 3.1 games. At least I'm glad that OS 3.6 solves this, but I don't want to use that OS because Ndless has to be re-installed every reboot and I don't want to fill my memory with two OSes to use nLaunch dual-booting.
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: LDStudios on September 28, 2014, 01:50:25 pm
Aah ok, so basically a level where the background is part of the tilemap would definitively be slower, unless it was only like 20 tiles (such as clouds in Super Mario Bros)

I still don't get why a 150 MHz Lua language can't even compete with xLIBC+BASIC on a 15 MHz color calc, though. >.< Even Flappy Bird 84+C, which is written in BASIC with the help of xLIBC, scrolls faster than sprite-based OS 3.1 games. At least I'm glad that OS 3.6 solves this, but I don't want to use that OS because Ndless has to be re-installed every reboot and I don't want to fill my memory with two OSes to use nLaunch dual-booting.

I didn't really have much of a problem with reinstalling ndless every reboot. It only takes about a minute or two, and I honestly didn't reboot my calculator that often.
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: Hayleia on September 28, 2014, 01:57:32 pm
At least I'm glad that OS 3.6 solves this, but I don't want to use that OS because Ndless has to be re-installed every reboot and I don't want to fill my memory with two OSes to use nLaunch dual-booting.
You can also use nlaunch but keep only the 3.6 OS (so you don't fill your memory with two OSes). Nlaunch will add the reboot-proof functionnality to Ndless ;)
Title: Re: [lua] Adventure- A Medieval Platformer
Post by: DJ Omnimaga on September 28, 2014, 02:00:59 pm
Oh I thought that nLaunchy required two OS to be installed. And yeah as an HP Prime, Prizm and 8x user where booting takes 1 second, waiting 1-2 minutes for my Nspire CX to boot feels quite long