Open Surge Forum

A fun 2D retro platformer inspired by Sonic games and a game creation system

You are not logged in.

Announcement

Our community has moved to Discord! https://discord.gg/w8JqM7m

#1 2018-05-21 15:18:27

lainz
Member
Registered: 2009-02-18
Posts: 202

Open Sonic JS

Hi, I started porting Open Surge to JS, and then I realized with a search that's already done by someone else big_smile

https://github.com/clarkeadg/opensonic-js

You can even play it online
https://clarkeadg.github.io/opensonic-js/

Offline

#2 2018-05-21 21:47:16

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,304
Website

Re: Open Sonic JS

Wow, what an awesome work this is.

You can even play it on mobile! Maybe you can pick it up? Do you think you can run MODs on it? That would be huge for the community.

It seems that the repository is not very well known. What a shame! I'm the creator of the engine myself and I did not know this project existed. I'll send an e-mail congratulating the author. smile

Offline

#3 2018-05-22 01:19:30

lainz
Member
Registered: 2009-02-18
Posts: 202

Re: Open Sonic JS

That was done by hand not with Emscripten so is easily customizable.

In the readme are the details on how to run it locally. Just install node.js

Offline

#4 2018-05-22 03:16:24

SilverstepP
Member
From: North Carolina
Registered: 2009-07-31
Posts: 1,545

Re: Open Sonic JS

Hey guys, I'm back.

So, wow.

It's been a while since I've posted here, but this is a huge deal, especially if this is all just native JS. Alex, this could be a really good opportunity to update everything, especially if there is a way to combine this and integrate it with the SurgeScript language you've been developing! It could even perform better than the current version, since it might be capable of reading scripts and mods faster.

Not sure what version he used as the base at just a glance, but this is honestly something I've wanted to see out of Open Surge for a while. This essentially allows for easy and real mods, ones that actually change the internal code of the engine and can be made without having to compile each time to debug.

This is such a big find, though I wonder why nobody has been told of it here before this? It would be nice if the guy could be contacted somehow.

Also, good to see everyone, and glad to see the community here is beginning to grow again. smile

Offline

#5 2018-05-22 13:26:39

CharlyTx
Member
From: Wesnoth
Registered: 2011-01-15
Posts: 144
Website

Re: Open Sonic JS

SilverstepP wrote:

Hey guys, I'm back.

So, wow.

It's been a while since I've posted here, but this is a huge deal, especially if this is all just native JS. Alex, this could be a really good opportunity to update everything, especially if there is a way to combine this and integrate it with the SurgeScript language you've been developing! It could even perform better than the current version, since it might be capable of reading scripts and mods faster.

Not sure what version he used as the base at just a glance, but this is honestly something I've wanted to see out of Open Surge for a while. This essentially allows for easy and real mods, ones that actually change the internal code of the engine and can be made without having to compile each time to debug.

This is such a big find, though I wonder why nobody has been told of it here before this? It would be nice if the guy could be contacted somehow.

Also, good to see everyone, and glad to see the community here is beginning to grow again. smile

Welcome back!

Offline

#6 2018-05-22 15:11:22

MatheusRRR
Member
From: Rio de Janeiro, Brazil
Registered: 2012-10-05
Posts: 335
Website

Re: Open Sonic JS

lainz wrote:

Hi, I started porting Open Surge to JS, and then I realized with a search that's already done by someone else https://github.com/clarkeadg/opensonic-js

You can even play it online
https://clarkeadg.github.io/opensonic-js/

WOW nice port bro...

SilverstepP wrote:

Hey guys, I'm back.

So, wow.

It's been a while since I've posted here, but this is a huge deal, especially if this is all just native JS. Alex, this could be a really good opportunity to update everything, especially if there is a way to combine this and integrate it with the SurgeScript language you've been developing! It could even perform better than the current version, since it might be capable of reading scripts and mods faster.

Not sure what version he used as the base at just a glance, but this is honestly something I've wanted to see out of Open Surge for a while. This essentially allows for easy and real mods, ones that actually change the internal code of the engine and can be made without having to compile each time to debug.

This is such a big find, though I wonder why nobody has been told of it here before this? It would be nice if the guy could be contacted somehow.

Also, good to see everyone, and glad to see the community here is beginning to grow again.

WB

Offline

#7 2018-05-23 14:45:25

lainz
Member
Registered: 2009-02-18
Posts: 202

Re: Open Sonic JS

Thanks, but I just found it smile

Is really simply to code with it:

- Install node.js https://nodejs.org/es/

Then, open a terminal, and type this:

npm install -g http-server
npm install -g webpack
npm install -g babel-loader
npm install -g babel-core
npm install -g babel-preset-es2015

That does these things:
- http-server is to run a local server, to run the game
- webpack 'compiles' the js into a js that you can distribute online
- babel is a tool to convert modern JS features to an older version, so it can run in any old browser as well, (features like modules for example "import" keyword)

Then you have two commands to develop:
- http-server is to run the game
- webpack is to 'compile' the game into a distributable bundle that you can upload somewhere, like in github pages

Offline

#8 2021-07-09 22:15:20

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,304
Website

Re: Open Sonic JS

I am reuploading this game for the purpose of historical preservation.

Title: Open Sonic JS by Brian Clarke
Made with: JavaScript (based on Open Sonic 0.1.4)
Year: 2017

Download game

Also runs on mobile!

Offline

Board footer

Powered by FluxBB  hosted by tuxfamily.org