Recent

Author Topic: Game Contest 2018  (Read 111071 times)

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: Game Contest 2018
« Reply #120 on: April 06, 2018, 12:36:34 pm »
Very artistic lainz  :)
Conscience is the debugger of the mind

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: Game Contest 2018
« Reply #121 on: April 06, 2018, 12:42:48 pm »
Just downloaded Lainz Wave Demo.
Tested on Windows 10, so much bright lights flickering like mad, be cautious if your sensitive to this, I suspect a bug, so a fix needed v quick......
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Game Contest 2018
« Reply #122 on: April 06, 2018, 01:15:02 pm »
Very artistic lainz  :)

Thankyou =)

Just downloaded Lainz Wave Demo.
Tested on Windows 10, so much bright lights flickering like mad, be cautious if your sensitive to this, I suspect a bug, so a fix needed v quick......

Wow, is like that? Or flickering is a bug? Maybe is a bug, try setting DoubleBuffered:=True OnCreate event.

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: Game Contest 2018
« Reply #123 on: April 06, 2018, 01:27:07 pm »

Adding doublebuffered to oncreate event does solve the problem:)

attached video of the issue; this is recorded at slower refresh rate to get to fit attachment; the flickering without doublebuffering was drastically worse than the video show.

video is mp4 zipped into zip
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Lulu

  • Full Member
  • ***
  • Posts: 226
Re: Game Contest 2018
« Reply #124 on: April 06, 2018, 02:08:24 pm »
good project Lainz, full colors !
wishing you a nice life

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Game Contest 2018
« Reply #125 on: April 08, 2018, 03:41:50 pm »
good project Lainz, full colors !

Thanks =)

Obviously it's not a game, and I can't participate, since I'm the organizer of the contest  :)

Adding doublebuffered to oncreate event does solve the problem:)

Yes, that happens on Windows, with themes not enabled, but on Windows 10 you can't disable themes, so what's the real problem?  :'(

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Game Contest 2018
« Reply #126 on: April 14, 2018, 09:40:40 pm »
Hi all, we already have 4 games (3 with sources) and 3 demos (these demos doesn't enter in the contest, 2 by me and one of my demos ported to another library by @turrican). See first post for the list.

Also there are some unfinished games we don't know too much abouth them. Any sort of progress?

We're in April, we have more than 3 months to finish this contest.

And maybe in the other half of the year we get back into the traditional Graphics Contest.
« Last Edit: April 14, 2018, 09:42:37 pm by lainz »

Paul_

  • Full Member
  • ***
  • Posts: 143
Re: Game Contest 2018
« Reply #127 on: April 15, 2018, 01:13:10 am »
I will finish my game to the deadline.

Btw. 20.4. starts Ludum Dare 41 - https://ldjam.com/
« Last Edit: April 15, 2018, 01:20:13 am by Paul_ »

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Game Contest 2018
« Reply #128 on: April 15, 2018, 03:22:25 pm »
I will finish my game to the deadline.

Btw. 20.4. starts Ludum Dare 41 - https://ldjam.com/

Cool.  :)

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Game Contest 2018
« Reply #129 on: May 07, 2018, 04:06:22 pm »
I made a game for the contest: 'Fire Wire'.
...
Compiled on Win10. Please can anyone compile and test it on Linux and Mac ?

I can't compile it on Lazarus 1.8.0 64-bit Gtk2 Linux FPC 3.0.4. I got an compile time error:
OGLCScene.pas(31,3) Fatal: Cannot find UTF8Utils used by OGLCScene.

Where can I get UTF8Utils?

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Game Contest 2018
« Reply #130 on: May 07, 2018, 07:03:34 pm »
I made a game for the contest: 'Fire Wire'.
...
Compiled on Win10. Please can anyone compile and test it on Linux and Mac ?

I can't compile it on Lazarus 1.8.0 64-bit Gtk2 Linux FPC 3.0.4. I got an compile time error:
OGLCScene.pas(31,3) Fatal: Cannot find UTF8Utils used by OGLCScene.

Where can I get UTF8Utils?

Compiled on 1.8.2 Windows, and works fine.

Edit: That file comes with the game sources, units\UTF8utils.pas

But it's mixed case, maybe on Linux the IDE or Compiler can't find that.. Just try renaming it or changing the case in uses.

UTF8Utils <> UTF8utils
« Last Edit: May 07, 2018, 07:20:42 pm by lainz »

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Game Contest 2018
« Reply #131 on: May 08, 2018, 01:49:50 am »
@lainz
Thank you, yes that was the problem.


I managed to make it compilable on Linux, with these changes:

=== OGLCScene.pas Line #31 (in uses clause)

Wrong:
UTF8Utils

Correct:
UTF8utils

=== common.pas Line #26..#30 (in const declaration)

Wrong:
PARTICLES_FOLDER = 'DATA'+DIRECTORYSEPARATOR+'Particles'+DIRECTORYSEPARATOR;
IMAGES_FOLDER = '
DATA'+DIRECTORYSEPARATOR+'Images'+DIRECTORYSEPARATOR;
DRAWINGS_FOLDER = '
DATA'+DIRECTORYSEPARATOR+'Drawings'+DIRECTORYSEPARATOR;
AUDIO_FOLDER = '
DATA'+DIRECTORYSEPARATOR+'Audio'+DIRECTORYSEPARATOR;
SCENARIO_FOLDER = '
DATA'+DIRECTORYSEPARATOR+'Scenario'+DIRECTORYSEPARATOR;

Correct:
PARTICLES_FOLDER = 'Data'+DIRECTORYSEPARATOR+'Particles'+DIRECTORYSEPARATOR;
IMAGES_FOLDER = '
Data'+DIRECTORYSEPARATOR+'Images'+DIRECTORYSEPARATOR;
DRAWINGS_FOLDER = '
Data'+DIRECTORYSEPARATOR+'Drawings'+DIRECTORYSEPARATOR;
AUDIO_FOLDER = '
Data'+DIRECTORYSEPARATOR+'Audio'+DIRECTORYSEPARATOR;
SCENARIO_FOLDER = '
Data'+DIRECTORYSEPARATOR+'Scenario'+DIRECTORYSEPARATOR;

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: Game Contest 2018
« Reply #132 on: May 08, 2018, 10:29:32 am »
I made a game for the contest: 'Fire Wire'.
...
Compiled on Win10. Please can anyone compile and test it on Linux and Mac ?

I can't compile it on Lazarus 1.8.0 64-bit Gtk2 Linux FPC 3.0.4. I got an compile time error:
OGLCScene.pas(31,3) Fatal: Cannot find UTF8Utils used by OGLCScene.

Where can I get UTF8Utils?

Compiled on 1.8.2 Windows, and works fine.

Edit: That file comes with the game sources, units\UTF8utils.pas

But it's mixed case, maybe on Linux the IDE or Compiler can't find that.. Just try renaming it or changing the case in uses.

UTF8Utils <> UTF8utils
That shouldn't be the solution.  I mean, AFAIK FPC is case insensitive when looking for units so it should find "utf8utils" despite the letter casing and the operating system.  May be you configured the project in a way it is case sensitive?  I'm not sure it is possible though.
« Last Edit: May 08, 2018, 10:31:05 am by Ñuño_Martínez »
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Game Contest 2018
« Reply #133 on: May 08, 2018, 12:12:42 pm »
Adding doublebuffered to oncreate event does solve the problem:)

Yes, that happens on Windows, with themes not enabled, but on Windows 10 you can't disable themes, so what's the real problem?  :'(

For me too, or use Paint instead of Invalidate in OnTimer-Event.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Game Contest 2018
« Reply #134 on: May 08, 2018, 12:38:21 pm »
I mean, AFAIK FPC is case insensitive when looking for units so it should find "utf8utils" despite the letter casing and the operating system.  May be you configured the project in a way it is case sensitive?  I'm not sure it is possible though.

Linux is case sensitive, your suggestion that FPC should find the lower case sounds a solution. But it is not a good solution. I personally prefer CamelCase instead of lower case. For example:
sysexecutable.pas vs SysExecutable.pas

 

TinyPortal © 2005-2018