Recent

Author Topic: 2D Platformer Game Contest 2018/2019  (Read 3873 times)

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 833
    • Burdjia
Re: 2D Platformer Game Contest 2018/2019
« Reply #30 on: November 22, 2018, 07:43:52 pm »
I have an issue so I don't konw if I'll can do something.  As I've said here, can't compile my engine after updating Xubuntu.  I'll try to reinstall and see what happens.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

lainz

  • Hero Member
  • *****
  • Posts: 2915
    • Home
Re: 2D Platformer Game Contest 2018/2019
« Reply #31 on: November 24, 2018, 05:08:46 pm »
I'm in! I will use my Tilengine wrapper to do things up!

Nice, where I can find that to take a look?

@lainz: Now it's different story, good job :)

Thanks, anyone can use it for the contest if want to.

I think I will keep updating this, now it works better thanks to "vsync".

I have an issue so I don't konw if I'll can do something.  As I've said here, can't compile my engine after updating Xubuntu.  I'll try to reinstall and see what happens.

Uh, ok. Hope you can fix that!

In the meantime, maybe try allegrojs with Pas2JS?

Edit: My game is now getting into a platformer!
https://lainz.github.io/AllegroPas2JS-Demo-Game/index.html

Edit2: music is not working on chtome due to autoplay policy, maybe this game needs a menu with a button 'start' or something, so user interaction is first triggered and then music will work.
« Last Edit: November 25, 2018, 07:12:58 pm by lainz »

lainz

  • Hero Member
  • *****
  • Posts: 2915
    • Home
Re: 2D Platformer Game Contest 2018/2019
« Reply #32 on: December 07, 2018, 03:39:58 am »
My game (https://lainz.github.io/AllegroPas2JS-Demo-Game/index.html) works fine on an i7 4th gen, but slowly on an i5 2nd gen... this shows the limitations of using Canvas2D, blitting a few 2d images is slower than using WebGL. I can run some webgl games with no problems on that i5.

Need to try something different, maybe go all Native and forget Pas2js for now.

Any news with your games?

Handoko

  • Hero Member
  • *****
  • Posts: 2686
  • My goal: build my own game engine using Lazarus
Re: 2D Platformer Game Contest 2018/2019
« Reply #33 on: December 07, 2018, 04:14:31 am »
My game (https://lainz.github.io/AllegroPas2JS-Demo-Game/index.html) works fine on an i7 4th gen, but slowly on an i5 2nd gen...

The link only shows a blank white page if opened using Pale Moon. But it runs correctly if opened using Firefox.

The performance seems okay when running on my Core2 Quad cpu + NVidia 9600 GT. But I can hear my cpu fan was crying to spin at the maximum speed. This simple game is too cpu intensive, I guess it does not use graphics hardware for rendering. My Linux computer has NVidia driver installed properly.

Also I noticed, when jumping the sprite will become a ball. Is it a bug?

HeavyUser

  • Full Member
  • ***
  • Posts: 214
Re: 2D Platformer Game Contest 2018/2019
« Reply #34 on: December 07, 2018, 06:47:41 am »
My game (https://lainz.github.io/AllegroPas2JS-Demo-Game/index.html) works fine on an i7 4th gen, but slowly on an i5 2nd gen...

The link only shows a blank white page if opened using Pale Moon. But it runs correctly if opened using Firefox.
no script?

Handoko

  • Hero Member
  • *****
  • Posts: 2686
  • My goal: build my own game engine using Lazarus
Re: 2D Platformer Game Contest 2018/2019
« Reply #35 on: December 07, 2018, 07:01:53 am »
I've just checked my Pale Moon. No Script is not installed. It only has User Agent Switcher installed.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 833
    • Burdjia
Re: 2D Platformer Game Contest 2018/2019
« Reply #36 on: December 07, 2018, 11:09:50 am »
Any news with your games?
I think I'm in again, as I've fixed the compilation problems (I think it was a ".so hell").

I'm commiting the game sources in to the MinGRo SourceForge project as it will be the demonstration game.  Any problem whith it?
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

lainz

  • Hero Member
  • *****
  • Posts: 2915
    • Home
Re: 2D Platformer Game Contest 2018/2019
« Reply #37 on: December 07, 2018, 01:23:02 pm »
Yes is just canvas2d game, allegrojs is not webgl. I just tested it on chrome, edge, Firefox , safari.

No, it's not a bug is my buggy Sprite of jumping only  :D

Ñuño no problem at all.