Author Topic: nSMM - Super Mario Maker for TI-nSpire  (Read 1448 times)

0 Members and 1 Guest are viewing this topic.

Offline chalex

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +1/-0
  • Making the nSMM... and probably not much else.
    • View Profile
nSMM - Super Mario Maker for TI-nSpire
« on: July 04, 2022, 04:08:48 pm »

While my modification to Minecraft 2D is all but dead in the water, I've decided to take up my own project from scratch. Yes, I've had the terrible idea of making a platformer in Lua. Due to it running like piss due to hardware (and in my opinion deliberate) limitations, several compromises have been made:

First, the framerate is awful. I haven't measured it but it's pretty bad. In it's current state it's surprisingly very playable (could just be me used to it though) but as more features are added it will inevitably worsen. You are free to suggest and/or implement optimisations to my shoddy code if you like, it would be very much appreciated!

Secondly, TI-nSpire Lua does not support holding down buttons, except for arrow keys. This means that in order to maintain an input the button has to be repeatedly pressed. It does not have to frame perfect as I coded a timer which makes every press last longer. The arrow keys would be theoretically fine for movement as that's all that requires constant pressing, but there is a significant delay between initial press and it turning into "held button" mode that is not good enough. Both arrow keys and keypad buttons are supported and it's up to the player to decide which is less bad.

Why not code it for ndless? Because I like making my life difficult.

With my manifesto dealt with, you can download the latest version from Github (which I don't know how to use) or the Discord server I created (which I know how to use):

DISCORD
(contact me here if you want to contribute or you have a query)
GITHUB

CURRENT STATUS:
Basic level collision is finished. Enemies and death are working. Mushrooms work. There is no editor but blocks can be placed ingame (temporarily)

FUTURE:
I intent to make the original SMB on the NES playable by remaking the objects from there as a priority. There are no plans for other styles. A main menu will be made at some point along with a saved levels menu (after a significant portion of the game is done and the editor is made). A standalone application to save exported levels will be made too with the idea of housing a set of levels made by someone to be downloaded and played.

The latest version as of writing is attached but will become quickly outdated, I may periodically post newer versions.
« Last Edit: July 11, 2022, 05:20:28 pm by chalex »
Wow! I am working on:
that's amazing!

Discord: onlypuppy7#5131

Offline chalex

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +1/-0
  • Making the nSMM... and probably not much else.
    • View Profile
Re: nSMM - Super Mario Maker for TI-nSpire
« Reply #1 on: July 11, 2022, 06:02:46 pm »
I didn't add screenshots, so I'm gonna make a reply and attach the newest version 0.4.0a as well.


You can crudely make levels now: use J and K to cycle through blocks and objects (watch 'select:' in the top left) and left click to place, right click to remove. Pressing C prints the code to the console.

0.4.0a (11/07/22):
- added scrollstop to end of stage
- support for exporting and importing levels as codes!
- fixed goomba squish animation issue
- added red and green koopas (red loops, green falls off ledges)
- added shells! features: bounce powerups, kill other enemies, hit blocks, kill mario etc
0.3.2a (07/07/22):
- streamlined code (adding blocks is simpler and finally the mess at the beginning is categorised)
- added semisolids support
- added bridges
Wow! I am working on:
that's amazing!

Discord: onlypuppy7#5131

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 728
  • Rating: +153/-23
    • View Profile
Re: nSMM - Super Mario Maker for TI-nSpire
« Reply #2 on: July 14, 2022, 08:56:50 am »
Hi Chalex,
Please continue on the good work, it helps your neurons stay healthy, and maybe invite others to do likewise.

Offline chalex

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +1/-0
  • Making the nSMM... and probably not much else.
    • View Profile
Re: nSMM - Super Mario Maker for TI-nSpire
« Reply #3 on: August 28, 2022, 01:47:21 pm »

Progress is currently coming along nicely, with a plethora of additions since I last replied here. These include but are not limited to:
- piranha plants
- multi coin blocks
- fire flowers and stars
- decorations
- a hud

The full changelog since 0.4.0a is presented here:

Code: [Select]
0.6.1a (28/08/22):
- fixed enemies not giving points after being killed by fireballs
- fixed definitively all 'framesPassed' related bugs
- much improved bumped block boundary processing
- added 1-up mushrooms
- improved gravity physics for: shells, koopas & goombas
- added invisible blocks
- major reshuffling of block ID's
- more accurate death anims for when hit by fireball/star
- added piranha plants with variants for 4 directions: up down left & right
- added multi-coin blocks
- made the block bounce animation twice as fast (4 frames) to give the illusion that it is less clunky (it isn't)
- fixed 50/50 chance of being invisible when powering up during iframes
- fixed despawing (...not actually despawning)
0.6.0a (22/08/22):
- added fireflowers and progressive fireflowers
- added power up and down animations (for fire)
- added fire mario
- added full support for star anims
- vastly improved drifting
- rewritten shell hits
- rewritten input handling
- added fireballs
- fixed shells sometimes not going into holes
- added star powerup
- improved smoother y axis movement for: powerups
- many new blocks:
   ~ pipes
   ~ decoration: hills, bushes, clouds
   ~ star bricks and ? blocks
   ~ hard block
0.5.1a (26/07/22):
- added layer: background
- added bullet bills
- added blasters, with three shooting variants (L,R,L+R); they do not shoot if a solid block is in the way
- added two new blocks: blaster top and blaster body
0.5.0a (19/07/22):
- improved despawning
- added shell function: respawn koopa after time
- fixed some shell bugs
- updated level-code format to v2: start pos added
- fixed stuttery jumps when bumping a row of blocks
- fixed stuttering when running into blocks
- debug strings disabled by default - massive performance increase! pre-included drawString sucks
- added new default level
- added a hud finally! coin counter, points and timer are all implemented
- added coins
- added points from shell kicking, successive enemy kills, powerups, breaking bricks and coins
- added points particles
- added coin collect animation
- improved bumped block animation
- added collecting coins by hitting below
- new blocks:
   ~ entity only block -> solid to mario but lets everything else through
   ~ mario only block -> reverse of entity only block
   ~ coin ? block -> get coins
   ~ coin brick block -> get coins

Truthfully, I would appreciate interest in this project, as so far no one has given feedback on this. There could be some obvious issues that I don't encounter that would improve it. You can join the (miniscule) community here. Updates are posted there, but 0.6.1a is attached here too.


Hi Chalex,
Please continue on the good work, it helps your neurons stay healthy, and maybe invite others to do likewise.
Uh, thanks! Neuron health is one of my priorities at this time indeed.
Wow! I am working on:
that's amazing!

Discord: onlypuppy7#5131

Offline Muitozika

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: nSMM - Super Mario Maker for TI-nSpire
« Reply #4 on: August 29, 2022, 05:59:42 pm »
hii this project is too amazing, i would like can help you with something but my skills about Lua are very minors than i would like.

I'm sorry my english is rusty


Offline Batprime11

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
    • View Profile
    • TICalc
Re: nSMM - Super Mario Maker for TI-nSpire
« Reply #5 on: August 29, 2022, 10:57:57 pm »
Join the discord. It's much more updated. The link is in his post.
Sig Last Updated: Aug 28 2022

TI-83/84+ Programmer

My current projects:
Minecraft 2D
The BasAxe
 
Finished:
Chrome Dino
Block Run
Gravity dude

My ticalc profile:
https://www.ticalc.org/archives/files/authors/117/11744.html

My Discord account:
batprime11#3495

My (Empty) Github:
https://github.com/Batprime11

My omnimaga account:
bruh...

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 728
  • Rating: +153/-23
    • View Profile
Re: nSMM - Super Mario Maker for TI-nSpire
« Reply #6 on: September 03, 2022, 09:03:59 am »
Uh, thanks! Neuron health is one of my priorities at this time indeed.
Spot-on!
Join the discord. It's much more updated. The link is in his post.
Sorry but I disagree. Omnimaga is still the oldest and the best platform to exchange programming experiences  :P.
Please do keep posting here!


Offline Batprime11

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
    • View Profile
    • TICalc
Re: nSMM - Super Mario Maker for TI-nSpire
« Reply #7 on: September 03, 2022, 09:41:13 pm »
Sorry but I disagree. Omnimaga is still the oldest and the best platform to exchange programming experiences  :P.
Please do keep posting here!



Sure, but he doesn't upload the files here as much as the discord.
Sig Last Updated: Aug 28 2022

TI-83/84+ Programmer

My current projects:
Minecraft 2D
The BasAxe
 
Finished:
Chrome Dino
Block Run
Gravity dude

My ticalc profile:
https://www.ticalc.org/archives/files/authors/117/11744.html

My Discord account:
batprime11#3495

My (Empty) Github:
https://github.com/Batprime11

My omnimaga account:
bruh...

Offline chalex

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +1/-0
  • Making the nSMM... and probably not much else.
    • View Profile
Re: nSMM - Super Mario Maker for TI-nSpire
« Reply #8 on: September 10, 2022, 04:31:51 pm »
Today I released 0.7.0a, which is milestone in the development of nSMM as the editor is at last implemented! Though lacking in GUI at the moment, it is functional.

The following gifs may load slowly, however they demonstrate some of what is currently possible. They are also quite slow.
Editor selecting and other functions showcase:

Theme painting showcase:

Completed level showcase:

Gameplay showcase:



Changelog since last post:
Code: [Select]
0.7.0a (10/09/22):
- added editor, press 'e' to edit level. in an early state, but quite robust so far. just a gui is needed. see readme for controls. currently in place is: eyedropper tool, eraser, selecting areas, theme painting and more
- improved level codes so that they fill areas that are blank
- added night theme
0.6.4a (04/09/22):
- added startup loading screen
- added level start transition
- added level load screen
0.6.3a (03/09/22):
- added moving platforms!! working with all objects affected by gravity, with inherited velocity (they move with the platform)
- fixed brick break particles not having a theme accurate colour palette
- made jumping in a one block tall space look less weird
- updated physics of most entities for moving platforms
- press esc to cycle through 5 levels: demo stage, 1-1, 1-2, blank level and a debug stage
- fixed multicoin blocks not replacing the block if camera has scrolled
- rgb block selecter: cool
- added some more pipe blocks: connectors and accurate tops for north, south, east and west
- fixed bug where koopas would crash the game when falling into a pit
- fixed bug where stars spawned from blocks at y level 8 or above would immediately despawn
0.6.2a (29/08/22):
- added themes! certain blocks will change appearance when placed inside a designated theme zone. currently only underground is present
- minor rendering optimisations

hii this project is too amazing, i would like can help you with something but my skills about Lua are very minors than i would like.

Feel free to contact me

Join the discord. It's much more updated. The link is in his post.
Sorry but I disagree. Omnimaga is still the oldest and the best platform to exchange programming experiences  :P.
Please do keep posting here!
Can't guarantee it'll be regular but I suppose some activity on the forum is good :)
Wow! I am working on:
that's amazing!

Discord: onlypuppy7#5131