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

Offline Seefour

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

Re: 2d Development Frameworks/suits/engines

Reply #20 on: January 04, 2016, 01:31:19 am
I am currently using Unity2D with c#, and tiled (can assemble tilesets into maps, and then import into Unity with Collision)

I have tried Love, Python, C++, and I am currently settling on C#.

Scripting in Unity is very straight forward, and the engine seems solid, and supports every platform...

I am not sure why some of you are saying unity is not good for 2d, please elighten??





Offline lachrymose

  • 0010
  • *
  • Posts: 341
  • Karma: +0/-0
    • View Profile

Re: 2d Development Frameworks/suits/engines

Reply #21 on: January 04, 2016, 02:51:23 am
Unity still has a lot of small issues handling 2D graphics with pixel perfect precision. They, for the most part can be fixed. But it is annoying to have to work around them so strictly to avoid gaps, fragmenting, flickering...etc.

Offline Seefour

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

Re: 2d Development Frameworks/suits/engines

Reply #22 on: January 04, 2016, 03:09:02 am
will keep that in mind moving forward, thanks for the information :)

Offline Kurz

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

Re: 2d Development Frameworks/suits/engines

Reply #23 on: January 04, 2016, 07:29:10 am
Oh, nice theme!

In my opinion the JavaScript is a best language for casual game-development. Of course it is not so fast as C++ BUT - I repeat myself - it is good for casual games. Also there are lot of game engines written on pure JS.
Plus I would recommended to look at Phaser game engine which is use WebGL (extremely fast thing).

Offline Gil

  • 0100
  • ***
  • Posts: 1539
  • 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 #24 on: January 04, 2016, 12:23:01 pm
Of course it is not so fast as C++
Eh, give it a couple of years and Javascript is just as fast (compare to Java or C# being "slow" and now being just as fast as the compiled languages). In fact, there's reasons to believe Javascript could actually run faster than C++, if we were to put the Javascript engine in Ring 0 (no need for protecting a safe language). Javascript is about 80% as efficient as C++, Ring 0 would make it 20% faster (which, if you do the math, makes Javascript about 5% faster than C++). This is all very napkin-calculated, but it should be about right.

After all, we live in a world where for every 10 lines of code written, like 8 of those are Javascript, while less than 1 is an unsafe language like C or C++, there's a lot of incentive for companies to get it right.

Offline Kurz

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

Re: 2d Development Frameworks/suits/engines

Reply #25 on: January 04, 2016, 02:17:10 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.

Offline API-Beast

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

Re: 2d Development Frameworks/suits/engines

Reply #26 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: 329
  • Karma: +0/-0
  • fistful of pixels
    • View Profile

Re: 2d Development Frameworks/suits/engines

Reply #27 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: 1539
  • 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 #28 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 #29 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.