A downloadable game for Windows and Linux

Ninja Sphere!

This game was inspired by watching SMB1 speedruns. It's not really suitable for speedrunning itself as-is, but might be updated/etc at some point. There's a lot that needs fixed, and there's very little in the way of level content (due to time constraints), but the general idea is here.

How to Play

The controls are pretty simple:

  • Left/Right arrow, or J/K keys: Move left/right
  • Down arrow or K: Turn into sphere while held
  • Up arrow or I: Enter a door (or possibly other things...)
  • Z: Swing your sword, or when held down, run/roll faster
  • X: Jump

When you're in sphere form, you can bounce! But you're still a squishy ninja. The only way to kill things is by using your sword.

Collecting food and killing enemies gives you points. Every 1000 points, you get an additional life.

Source

This was done for the Lisp Game Jam 2017. You can get the source here:

https://github.com/rpav/ninja-sphere

Requirements

This requires:

  • SDL2 (on Linux; on Windows it comes with)
  • OpenGL 3.3

More information

Published 154 days ago
StatusReleased
PlatformsWindows, Linux
Rating
(1)
Authorrpav
GenrePlatformer
Tags2D, Pixel Art, Side Scroller

Install instructions

  • Download
  • Extract
  • Make sure your card supports OpenGL 3.3
  • Linux: Make sure you have SDL2 installed
  • Run ninja-sphere!

Download

Download
ninja-sphere-1.0-win64.zip (17 MB)
Download
ninja-sphere-1.0c-linux-x64.tar.xz (11 MB)

Comments

Log in with your itch.io account to leave a comment.

The game does not run for me:

```

STYLE-WARNING: Undefined alien: "SDL_main"
STYLE-WARNING: Undefined alien: "gk_create"
STYLE-WARNING: Undefined alien: "gk_destroy"
STYLE-WARNING: Undefined alien: "gk_process"
STYLE-WARNING: Undefined alien: "SDL_main"
Unhandled SDL2::SDL-RC-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
{1005266DF3}>:
SDL Error (-1): That operation is not supported

```

I have libsdl2 installed

Does your display support GL 3.3? The undefined alien thing is a red herring (functions being defined before the library is dlopened), but the RC error is new ... is there a backtrace? Unsupported GL is the only thing that comes to mind.

Here the backtrace:

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1005266DF3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SDL2::SDL-RC-ERROR {10053278B3}> #<unavailable argument>)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SDL2::SDL-RC-ERROR {10053278B3}>)
2: (INVOKE-DEBUGGER #<SDL2::SDL-RC-ERROR {10053278B3}>)
3: (ERROR SDL2::SDL-RC-ERROR :RC -1 :STRING "That operation is not supported")
4: (SDL2:GL-SET-ATTR :CONTEXT-MAJOR-VERSION 3)
5: ((LAMBDA NIL :IN NINJA-SPHERE:RUN))
6: (NINJA-SPHERE:RUN :W 1536 :H 864)
7: ((LAMBDA NIL :IN "/home/rpav/vcs/git/common-lisp/ninja-sphere/build.lisp"))
8: (SDL2::HANDLE-MESSAGE (#<FUNCTION (LAMBDA NIL :IN "/home/rpav/vcs/git/common-lisp/ninja-sphere/build.lisp") {100006D94B}>))
9: (SDL2::SDL-MAIN-THREAD)
10: ((FLET #:WITHOUT-INTERRUPTS-BODY-82 :IN SAVE-LISP-AND-DIE))
11: ((LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE))

unhandled condition in --disable-debugger mode, quitting


My pc should support opengl up to version 4.5

Looks like an error setting the version though (see frame 4); make sure your glxinfo shows 4.5 and/or you haven't updated nvidia drivers and not restarted Xorg or something? This is a common problem with me when using nvidia drivers. For AMD/Intel, not sure. I'm not sure it's possible to support 4.5 and not support 3.3, but maybe.