AuthorTopic: 2d Development Frameworks/suits/engines  (Read 26378 times)

Offline API-Beast

  • 0010
  • *
  • Posts: 291
  • Karma: +0/-0
    • beast_pixels
    • http://pixeljoint.com/p/35725.htm
    • View Profile

Re: 2d Development Frameworks/suits/engines

Reply #30 on: January 04, 2016, 02:20:59 pm
@Gil: C++ has literally zero performance and memory overhead, going below zero is impossible, so you can't go faster than multi-threaded and heavily optimized C++ code. In the best case you have a JIT compiler that compiles the loop into the exact same machine code as the C++ compiler does, but the JIT compiler itself has execution time, e.g. is overhead.

That said, what really matters is the code itself, not the language it is written in. If you execute something 1.000.000 times the overhead of the JIT compiler becomes trivial. Use the language you can write good code in.

According to this test for counting prime numbers in a range is C about 4 times as fast as Javascript (in Node). Which is really really good already, Ruby and PHP are both 6 times slower than Javascript.
« Last Edit: January 04, 2016, 02:25:07 pm by Mr. Beast »

Offline ErekT

  • 0010
  • *
  • Posts: 330
  • Karma: +0/-0
  • fistful of pixels
    • View Profile

Re: 2d Development Frameworks/suits/engines

Reply #31 on: January 04, 2016, 03:35:02 pm
Gil, I think that interpreted language can't be faster than compiler one. And before started learn one you have to ask yourself - what for all of this? If you want to make games with open-world and high quality graphics - your way is C++. But if your target is just a small indy game (3D or 2D) - the javascript is right a decision.

It is only my mind and of course there are lot of tricks & little things which will affect the choice.
The only real bottleneck these days is on the gpu-side (unless you're writing an emulator). I have a desktop computer from 2006 with a new gfx card and it runs any modern game I tried at killer framerates.

Offline Gil

  • 0100
  • ***
  • Posts: 1543
  • Karma: +1/-0
  • Too square to be hip
    • http://pixeljoint.com/p/475.htm
    • View Profile
    • My Portfolio

Re: 2d Development Frameworks/suits/engines

Reply #32 on: January 04, 2016, 03:45:22 pm
Guys, notice what I'm talking about. The performance hit of Ring 3 protection is about 20%, C++ can never ever run without Ring 3 protection, so no, C++ does NOT have 0 overhead. Javascript could, as it's safe. There's a lot of scientific research going on, because people expect that placing a VM in Ring 0 might mean that VM languages would get a 20% boost in speed, potentially making them even faster than compiled languages. This is not a claim I make, this is scientific and we'll see the results really soon, though a consumer product might be years away.

Offline Waxtor1

  • 0001
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile

Re: 2d Development Frameworks/suits/engines

Reply #33 on: October 02, 2016, 10:55:58 pm
Try monogame havent tried it yet but apparently its great for 2d games it's similar to the old xna the creator of stardew valley recommended it to me.He said that he is most likely going to use it for his next game.

Offline allaze-eroler

  • 0001
  • *
  • Posts: 75
  • Karma: +0/-0
    • View Profile
    • allaze-eroler's deviantart

Re: 2d Development Frameworks/suits/engines

Reply #34 on: March 28, 2017, 05:02:37 pm
I would suggest you to check this interesting software called Pixel Vision 8 Game Creator which I'm using it at the moment for my short game, the reason why I choose it was because it can simulate the actual 8bits game console which it can have NES, Game Boy, Master System, Game Gear and soon Pico-8 restrictions. as you can see, it's perfect for the challenge! imagine that you can create a NES game in the spirit of "Castlevania 2" or "Ducktales"!

Another good thing about this game engine is it use the lua language like with Pico-8 but with a few differences.

However, I must warn you that game engine is currently in alpha test but it will soon enter in the beta phase in few months. and for at the time of today (march 28th, 2017) it's a paid software which cost only 10$ but they will have the free version once they're in beta phase.

Well, i hope it will help you guy to find your ideal game engine :)

Offline Arethrid

  • 0001
  • *
  • Posts: 9
  • Karma: +0/-0
  • "AKA Theoden"
    • Arethrid
    • http://pixeljoint.com/p/29255.htm
    • TheodenN
    • Arethrid
    • View Profile

Re: 2d Development Frameworks/suits/engines

Reply #35 on: July 31, 2018, 09:35:59 pm
I would also suggest MonoGame with C# which is a spiritual and structural successor of the legendary XNA Framework.
Plus Unity is also using MonoGame so if you learn it you can use the knowledge in Unity as well.

Offline encelo

  • 0001
  • *
  • Posts: 5
  • Karma: +0/-0
    • encelo
    • View Profile
    • nCine - A multi-platform 2D game engine

Re: 2d Development Frameworks/suits/engines

Reply #36 on: January 31, 2020, 01:37:30 am
For all my prototypes and experiments I use nCine, my 2D multi-platform engine and framework.
It supports Linux, Windows, macOS, Android and Emscripten and it can optionally use Lua for scripting.
It's written in C++ and after some years of developing it seems pretty capable and quite fast when dealing with sprites.  ;)

Have a look at this web test for an example.