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-06-06 04:05:52

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

Open Surge 0.5.0

Open Surge 0.5.0

We're now moving to Open Surge version 0.5.0. The main changes you can expect to see for the engine in the future are:

  • Integration with SurgeScript

  • Upgrade to Allegro 5

Development builds are available here. Users are encouraged to upgrade.

I'll be releasing new updates soon. Stay tuned. cool

_____

By the way, the first change you'll notice is the screen size. We'll be using 16:9 now.

opensurge050.png

Note: 0.2.0 is now our legacy version.

Last edited by Alexandre (2018-06-06 17:29:44)

Offline

#2 2018-06-06 04:26:05

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

Re: Open Surge 0.5.0

Several questions:

1) will there be a linux build? Has building changed in any way with the port to Allegro 5?
2) Since it uses by default 16:9, and as can be seen in the screenshot above, background image doesn't fit properly, will there be a setting entry to configure aspect ratio (16:9 or 4:3)? What do you think about extending background theme script in order to allow and provide two background images for each aspect ratio? How can this change be managed by modders?

Offline

#3 2018-06-06 05:23:44

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

Re: Open Surge 0.5.0

The development builds come with the source code. They can be used to get the Linux build.

The engine isn't ported to A5 yet. What you're seeing is the first build of 0.5.0. More builds will come.

The background of the level will change, and so will other graphics. These graphics are not final.

The default now is 16:9, and it takes a bit of work to migrate. 4:3 continues to be used on legacy version 0.2.0.

Offline

#4 2018-06-06 13:50:53

SynfigMaster91
Member
Registered: 2017-10-10
Posts: 144

Re: Open Surge 0.5.0

Alexandre wrote:

The development builds come with the source code. They can be used to get the Linux build.

The engine isn't ported to A5 yet. What you're seeing is the first build of 0.5.0. More builds will come.

The background of the level will change, and so will other graphics. These graphics are not final.

The default now is 16:9, and it takes a bit of work to migrate. 4:3 continues to be used on legacy version 0.2.0.

I tested this version and I must admit. It gets better, but you could have added more levels. No offense, it's just a suggestion. smile

Btw, since you said it's integrated with SurgeScript, how can I go to SurgeScript?

Offline

#5 2018-06-06 17:40:58

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

Re: Open Surge 0.5.0

Hi SynfigMaster91,

I updated my post. Let me rephrase it. The port to A5, as well as SurgeScript, are the main changes you can expect to see in the future.

I'll be working on 0.5.0 from now on. This is the first build of many; I haven't released the final 0.5.0 yet. This is still a work-in-progress. The changes I have announced will come in this new version. The current 18.606 build has no SurgeScript and no Allegro 5. These can be expected in newer builds.

To benefit from the new features, one must upgrade. The first change that has already been implemented is the screen size. Upgrading to the new 16:9 configuration might demand a few adjustments from modders. Still, the upgrade is encouraged, as the old version (0.2.0) will not have SurgeScript, nor A5.

There are no new levels for now. These will come later.

Capiche? smile

Offline

#6 2018-06-06 19:01:31

Race the Hedgehog
Member
From: Sao Bernardo do Campo, Brazil
Registered: 2010-12-16
Posts: 163
Website

Re: Open Surge 0.5.0

It's so good to see Open Surge back on track! It brings me the will to redo the main sprites again, sadly time is still an obstacle for now. sad

Good work on integrating the new aspect ratio! It feels so much better.
I don't know if you already noticed, but it doesnt seem to work at higher or lower resolutions than the default one though (2X).
unknown.png


PunBB bbcode test
Creating and Editing Sprites.

Offline

#7 2018-06-06 21:27:10

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

Re: Open Surge 0.5.0

Race the Hedgehog wrote:

I don't know if you already noticed, but it doesnt seem to work at higher or lower resolutions than the default one though (2X).

That's what I was going to say. Engine crashes  if you try to go 1x or 3x. Going fullscreen bugs a few seconds the engine.

Offline

#8 2018-06-06 22:10:44

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

Re: Open Surge 0.5.0

CharlyTx wrote:
Race the Hedgehog wrote:

I don't know if you already noticed, but it doesnt seem to work at higher or lower resolutions than the default one though (2X).

That's what I was going to say. Engine crashes  if you try to go 1x or 3x. Going fullscreen bugs a few seconds the engine.

Haven't tested it on Windows. On Linux, it works fine. Can you guys send your logfiles?

Race wrote:

I don't know if you already noticed, but it doesnt seem to work at higher or lower resolutions than the default one though (2X).

Do you see a magenta screen or does the application crash?

Race the Hedgehog wrote:

It brings me the will to redo the main sprites again

yay! smile

Offline

#9 2018-06-07 00:20:52

Race the Hedgehog
Member
From: Sao Bernardo do Campo, Brazil
Registered: 2010-12-16
Posts: 163
Website

Re: Open Surge 0.5.0

Alexandre wrote:

Haven't tested it on Windows. On Linux, it works fine. Can you guys send your logfiles?

Here it is.

Alexandre wrote:

Do you see a magenta screen or does the application crash?

Just the magenta screen. Fullscreen doesn't work either, it restores to windowed mode after freezing for a few seconds.


PunBB bbcode test
Creating and Editing Sprites.

Offline

#10 2018-06-07 02:32:59

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

Re: Open Surge 0.5.0

I couldn't compile source code. Linker keeps whining about undefined references of dlopen, dlclose, dlsym... which means it doesn't link libdl even when it has been explicitly asked to in CMakeLists. I have every dependency installed as required, libraries and developer packages of those libraries.

Offline

#11 2018-06-07 12:32:27

svgmovement
Member
Registered: 2011-11-24
Posts: 209

Re: Open Surge 0.5.0

CharlyTx wrote:

I couldn't compile source code. Linker keeps whining about undefined references of dlopen, dlclose, dlsym... which means it doesn't link libdl even when it has been explicitly asked to in CMakeLists. I have every dependency installed as required, libraries and developer packages of those libraries.

That sounds like a library ordering issue in the CMakeLists.txt. For CMake, the libraries must be added to the executable in a specific order for them to work.


-- svgmovement

Offline

#12 2018-06-07 13:45:32

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

Re: Open Surge 0.5.0

CharlyTx wrote:

I couldn't compile source code. Linker keeps whining about undefined references of dlopen, dlclose, dlsym... which means it doesn't link libdl even when it has been explicitly asked to in CMakeLists. I have every dependency installed as required, libraries and developer packages of those libraries.

Are you trying to compile on Linux? When you invoke cmake, invoke it with the -DUSE_OPENAL=OFF option.

cmake .. -DUSE_OPENAL=OFF

Please clear your current build before doing that (make clean and remove the build directory).


Race the Hedgehog wrote:
Alexandre wrote:

Haven't tested it on Windows. On Linux, it works fine. Can you guys send your logfiles?

Here it is.

Alexandre wrote:

Do you see a magenta screen or does the application crash?

Just the magenta screen. Fullscreen doesn't work either, it restores to windowed mode after freezing for a few seconds.

Thanks smile

Offline

#13 2018-06-09 13:49:47

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

Re: Open Surge 0.5.0

Let me ask you something: does it work with the 4x resolution on Windows?

On a Command Prompt, run Open Surge with:

opensurge --resolution 4

Offline

#14 2018-06-09 18:59:45

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

Re: Open Surge 0.5.0

Alexandre wrote:
CharlyTx wrote:

I couldn't compile source code. Linker keeps whining about undefined references of dlopen, dlclose, dlsym... which means it doesn't link libdl even when it has been explicitly asked to in CMakeLists. I have every dependency installed as required, libraries and developer packages of those libraries.

Are you trying to compile on Linux? When you invoke cmake, invoke it with the -DUSE_OPENAL=OFF option.
cmake .. -DUSE_OPENAL=OFF
Please clear your current build before doing that (make clean and remove the build directory).

I did that and could compile it successfully.

Also it works very well, without any errors.

Alexandre wrote:

Let me ask you something: does it work with the 4x resolution on Windows?

On a Command Prompt, run Open Surge with:

opensurge --resolution 4

Under a Windows system, I tried that and worked. There isn't any error unlike when you try to set screen size via OPTIONS screen.

Offline

#15 2018-06-10 16:53:49

G.E.R.
Member
From: Russia, Krasnodar
Registered: 2017-12-26
Posts: 177

Re: Open Surge 0.5.0

I'm glad to see a new Open Surge version. I see that screen size is 16:9 now, it's a good. We will wait the integration with Surge Script.

Offline

#16 2018-06-13 00:09:25

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

Re: Open Surge 0.5.0

G.E.R. wrote:

I'm glad to see a new Open Surge version. I see that screen size is 16:9 now, it's a good. We will wait the integration with Surge Script.

Yes, it's good. I hope after surgescript is integrated with the engine, user-configured aspect ratio could be an option in the future.

Offline

#17 2018-06-16 14:44:31

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

Re: Open Surge 0.5.0

Thanks for the new version!

Offline

#18 2018-06-18 03:02:03

JimitaMPC
Member
Registered: 2013-06-25
Posts: 36

Re: Open Surge 0.5.0

You actually did it, the madman. SurgeScript attracts me enough, will poke with it for a bunch.

Last edited by JimitaMPC (2018-06-18 03:02:39)

Offline

#19 2018-06-22 16:44:15

KZR
Member
Registered: 2010-07-14
Posts: 1,447
Website

Re: Open Surge 0.5.0

for me only resolution 2 works. 1 and 3 display magenta screen, 4 is unsupported by my monitor and causes CTD. fullscreen does not work for me.


SD_sml.pngSeD_sml.pngLTot_W_sml.png
https://discord.gg/w8JqM7m ---> Open Surge's Discord server

Offline

#20 2018-06-23 01:54:36

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

Re: Open Surge 0.5.0

I figured out the problem about the magenta screen. It turns out that the Windows version of Allegro requires the window width to be a multiple of 4.

I do not know if this limitation is due to DirectX or not. Either way, it will be working on the next build.

Offline

#21 2018-07-01 01:41:48

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

Re: Open Surge 0.5.0

New release!

Build 18.630-dev is the first SurgeScript-capable version of Open Surge! The API is still a work in progress. More is yet to come, but you can already play with it cool

s000.png

Download: http://opensnc.sourceforge.net/forum/vi … hp?id=1931
Documentation: https://alemart.github.io/surgescript/

Don't know where to start?
A tutorial is available on YouTube.

Offline

Board footer

Powered by FluxBB  hosted by tuxfamily.org