Recent

Poll

Vote: What's the best project of this year?

"ball" by raw
1 (3.7%)
"bgragraphics" by j-g (pocket watch)
2 (7.4%)
"duplo6" by bylaardt
7 (25.9%)
"glslideshow" by handoko
2 (7.4%)
"mariocronch" by ericktux
0 (0%)
"movingdots" by lainz
1 (3.7%)
"movingdotsgl" by lainz
0 (0%)
"relogio" by bylaardt
5 (18.5%)
"starsfieldshooter" by turrican
0 (0%)
"steampunkclock" by bylaardt
1 (3.7%)
"sudoku" by user137
5 (18.5%)
"furiouspaladin" by handoko
3 (11.1%)
"educrace" by lulu
0 (0%)

Total Members Voted: 26

Author Topic: Graphics Contest 2017, please vote now!  (Read 199901 times)

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: Graphics Contest 2017
« Reply #150 on: July 18, 2017, 09:49:18 am »
I should do some testing yet but I think we have the Allegro.pas 5.2 Demonstration Game (if I have your authorization and sources to add it to the official repository, and apply the zlib/png LICENSE to it, of course).  ;) Thanks Handoko.
« Last Edit: July 18, 2017, 09:57:36 am by Ñuño_Martínez »
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

User137

  • Hero Member
  • *****
  • Posts: 1791
    • Nxpascal home
Re: Graphics Contest 2017
« Reply #151 on: July 20, 2017, 05:34:11 am »
Still working on Sudoku app, but i had a very long break. This won't have much of features at all, but i think it goes well enough for a small graphical demonstration. A little more work needed before giving out source, as it doesn't yet even congratulate you on a finished game  8)  It's playable though, and some number animation is shown while the worker thread is finding a playble grid.

Handoko

  • Hero Member
  • *****
  • Posts: 5129
  • My goal: build my own game engine using Lazarus
Re: Graphics Contest 2017
« Reply #152 on: July 20, 2017, 06:18:12 am »
The graphics looks good. What graphics library did it use? Is it nxPascal?

User137

  • Hero Member
  • *****
  • Posts: 1791
    • Nxpascal home
Re: Graphics Contest 2017
« Reply #153 on: July 20, 2017, 07:15:46 am »
Yes, it's nxPascal. This should be a working source (too big to upload on forum):
https://www.dropbox.com/s/19jsdyo79ktmpmn/nxPascal_LazDemo_2017.zip?dl=0
Tested with Win10 64-bit compiling. Your Lazarus needs OpenGLContext package installed, it comes with Lazarus but not installed by default.

Handoko

  • Hero Member
  • *****
  • Posts: 5129
  • My goal: build my own game engine using Lazarus
Re: Graphics Contest 2017
« Reply #154 on: July 20, 2017, 08:23:14 am »
Compile succeed but I got SIGSEGV error immediately when I run the demo. Tested on Lazarus 1.6.4 64-bit on Ubuntu Mate 16.10, it has OpenGLContext installed properly.

User137

  • Hero Member
  • *****
  • Posts: 1791
    • Nxpascal home
Re: Graphics Contest 2017
« Reply #155 on: July 20, 2017, 08:33:42 am »
I'm not entirely sure if this is the why, but the game uses TThread in sudokuUnit.pas. Maybe this is needed in topmost uses list
Code: Pascal  [Select][+][-]
  1. {$ifdef unix}
  2.   cthreads,
  3.   cmem, // the c memory manager is on some systems much faster for multi-threading
  4. {$endif}

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: Graphics Contest 2017
« Reply #156 on: July 21, 2017, 09:38:08 am »
I should do some testing yet but I think we have the Allegro.pas 5.2 Demonstration Game (if I have your authorization and sources to add it to the official repository, and apply the zlib/png LICENSE to it, of course).  ;) Thanks Handoko.

I'm doing a Allegro 5.2 game example too :)

Handoko

  • Hero Member
  • *****
  • Posts: 5129
  • My goal: build my own game engine using Lazarus
Re: Graphics Contest 2017
« Reply #157 on: July 21, 2017, 10:10:19 am »
I'm doing a Allegro 5.2 game example too :)

That's great. Allegro is good game library, it should get more publicity.

I'm not entirely sure if this is the why, but the game uses TThread in sudokuUnit.pas. Maybe this is needed in topmost uses list
Code: Pascal  [Select][+][-]
  1. {$ifdef unix}
  2.   cthreads,
  3.   cmem, // the c memory manager is on some systems much faster for multi-threading
  4. {$endif}

I tried your suggestion, but didn't help.

I found nxPascal many years ago. I believe it has good potential but I didn't try it because I found no tutorial. Learning a new framework without tutorial is hard, please consider to add some tutorials for beginners.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11382
  • FPC developer.
Re: Graphics Contest 2017
« Reply #158 on: July 21, 2017, 10:49:07 am »
The graphics looks good. What graphics library did it use? Is it nxPascal?

I like the visual bit also, looks very sharp

Thaddy

  • Hero Member
  • *****
  • Posts: 14197
  • Probably until I exterminate Putin.
Re: Graphics Contest 2017
« Reply #159 on: July 21, 2017, 11:24:22 am »
« Last Edit: July 21, 2017, 11:27:32 am by Thaddy »
Specialize a type, not a var.

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: Graphics Contest 2017
« Reply #160 on: July 21, 2017, 11:56:23 am »
I'm looking for all the examples and we have quality but not quantity. So, we need more people here!

Pascal have no limits! We need to make this contest more popular.


Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: Graphics Contest 2017
« Reply #161 on: July 21, 2017, 06:42:26 pm »
I should do some testing yet but I think we have the Allegro.pas 5.2 Demonstration Game (if I have your authorization and sources to add it to the official repository, and apply the zlib/png LICENSE to it, of course).  ;) Thanks Handoko.

I'm doing a Allegro 5.2 game example too :)
Cool, somebody else doing my work. ;D That's fine.  I can do other things then (i.e. documentation).
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

User137

  • Hero Member
  • *****
  • Posts: 1791
    • Nxpascal home
Re: Graphics Contest 2017
« Reply #162 on: July 22, 2017, 03:58:07 am »
@Marco
I suspect you mean this?
http://forum.lazarus.freepascal.org/index.php?action=dlattach;topic=35313.0;attach=19516;image

Great game!! Sometimes I win!  8)
I did mention i only made it work in Win10. I don't have a Linux, and it's never been kind to me when trying to run Linux on virtual machine with hardware accelerated graphics. It said it compiled too, so i don't have any possible suggestions to give. If anyone can tell what goes wrong it would be appreciated. Either it's a threading problem with sudoku algorithm or something might be going wrong with dglOpenGL on Linux. Only you guys can tell how to fix it, private message or anything.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Graphics Contest 2017
« Reply #163 on: July 29, 2017, 08:27:59 pm »
A month and two days left, or we should start voting right now?

balazsszekely

  • Guest
Re: Graphics Contest 2017
« Reply #164 on: July 29, 2017, 08:34:22 pm »
@lainz

In order to vote, we need a link, where all the projects can be downloaded at once. I'm almost certain you already have a link for us(us --> those who did not follow the thread in details, but are interested enough to vote).
Thank you!

 

TinyPortal © 2005-2018