Impulse — 2D Sonic the Hedgehog inspired platformer prototype (Feedback?)

Started by
4 comments, last by Emerald Streak 5 years, 12 months ago

Impulse is a 2D platformer inspired by classic Sonic the Hedgehog, with speedy momentum-based movement and 360-degree slopes and loop de loops.  As this is a prototype, there is one level, but it's pretty big, with lots of hidden coins to find for those who like to explore.

I created this in Unity using my own raycast engine for handling slope detection and high-speed collision. I made this mostly for practice and as a portfolio piece, but I may develop it further in the future. I'm a huge fan of the classic 2D Sonic games and their momentum-based physics!

I hope you all enjoy the game and would love to hear feedback!

You can play it in your browser on itch.io here:

https://emeraldstreak.itch.io/impulse

Screenshot (40).png

Screenshot (49).png

Screenshot (51).png

Screenshot (67).png

Screenshot (71).png

Screenshot (78).png

Advertisement

I would like to play but am getting a lot of error messages in the console.

Spoiler

Loading player data from data.unity3d
blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Initialize engine version: 2017.3.1f1 (fc1d3344e6ea)

UnityLoader.js:1 Creating WebGL 2.0 context.
blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Renderer: WebKit WebGL

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Vendor:   WebKit

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Version:  OpenGL ES 3.0 (WebGL 2.0 (OpenGL ES 3.0 Chromium))

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 GLES:     3

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2  EXT_color_buffer_float GL_EXT_color_buffer_float EXT_texture_filter_anisotropic GL_EXT_texture_filter_anisotropic OES_texture_float_linear GL_OES_texture_float_linear WEBGL_compressed_texture_s3tc GL_WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb GL_WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info GL_WEBGL_debug_renderer_info WEBGL_debug_shaders GL_WEBGL_debug_shaders WEBGL_lose_context GL_WEBGL_lose_context

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 OPENGL LOG: Creating OpenGL ES 3.0 graphics device ; Context level  <OpenGL ES 3.0> ; Context handle 1

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 WARNING: Shader 
blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Unsupported: 'Hidden/BlitToDepth' - Pass '' has no vertex shader

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 WARNING: Shader 
blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Unsupported: 'Hidden/BlitToDepth' - Setting to default shader.

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 WARNING: Shader 
blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Unsupported: 'Hidden/BlitToDepth_MSAA' - Pass '' has no vertex shader

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 WARNING: Shader 
blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Unsupported: 'Hidden/BlitToDepth_MSAA' - Setting to default shader.

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 The referenced script on this Behaviour (Game Object 'Canvas') is missing!
 
(Filename:  Line: 1758)


_JS_Log_Dump @ blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2
blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 UnloadTime: 116.200000 ms

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Setting the main camera Main Camera
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/WebGL/runtime/DebugBindings.gen.cpp Line: 51)


blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Portrait detected...?
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/WebGL/runtime/DebugBindings.gen.cpp Line: 51)


blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 currentAspectRatio = 1.777778, wantedAspectRatio = 1.777778
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/WebGL/runtime/DebugBindings.gen.cpp Line: 51)


2blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 warning: 2 FS.syncfs operations in flight at once, probably just doing extra work
blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 UnloadTime: 137.100000 ms

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Setting the main camera Main Camera
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/WebGL/runtime/DebugBindings.gen.cpp Line: 51)


blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Portrait detected...?
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/WebGL/runtime/DebugBindings.gen.cpp Line: 51)


blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 currentAspectRatio = 1.777778, wantedAspectRatio = 1.777778
 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/WebGL/runtime/DebugBindings.gen.cpp Line: 51)


blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Unloading 5 Unused Serialized files (Serialized files now loaded: 0)

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 
Unloading 10 unused Assets to reduce memory usage. Loaded Objects now: 3891.

blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 Total: 86.700000 ms (FindLiveObjects: 0.900000 ms CreateObjectMapping: 0.100000 ms MarkObjects: 66.100000 ms  DeleteObjects: 19.600000 ms)


blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 warning: 2 FS.syncfs operations in flight at once, probably just doing extra work
22[Violation] 'requestAnimationFrame' handler took <N>ms
3blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 warning: 2 FS.syncfs operations in flight at once, probably just doing extra work
blob:https://v6p9d9t4.ssl.hwcdn.net/be2284d2-c998-4529-8e05-ea82248b6058:2 warning: 2 FS.syncfs operations in flight at once, probably just doing extra work

 

Interesting... Is the game not running for you then? And what browser are you using?

Testing it now in Chrome, I get much of same output in the console, but the game runs just fine... except I don't get the "22[Violation] 'requestAnimationFrame' handler took <N>ms" line.

Otherwise, the game runs fine even with lines like "The referenced script on this Behaviour (Game Object 'Canvas') is missing!".

If anyone else is having issues running the game, please let me know!

Using Chrome, problem is the frame rate is very low, to be unplayable.  I checked the console and then was when I saw the whole host of stuff.  Not sure what to do, this would be the first Unity plug-in I've had difficulty with.  Could be my end but...

Can someone around here give it a shot so we can determine where the problems lay? 

I think the console output is mostly unrelated to any framerate slowdown. It's mostly debug logs I left in, or complaints about certain assets being unused, which should be harmless. I'm not sure exactly how to go about optimizing the game further.

I added downloads for Windows, Mac OS X, and Linux builds of the game to the itch.io page. Testing on an older laptop, the Windows build runs much faster for me than the in-browser WebGL build (which runs a bit slower, but not unplayable). So feel free to try the downloadable version!

This topic is closed to new replies.

Advertisement