Hello Gautier,

I'm happy to see you finally got it.
Well, points 1 and 2 should be automatically done by the Makefile.
Just type in Gnoga root directory:
$ make gnoga
$ make tests

Moreover the Makefile sets some environnement options specific to your 
platform, copies Ada and Javascript files...
That's why make_on_windows.bat is no longer existing.
Is your system provided GNU make utilities?
On macOS it comes with:

cmd$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0

What is yours?
If Makefile don't work as expected please send output.
Other Windows users feedbacks are welcome.

8080 : good point, it should be added in documentation.

I didn't know http://slither.io, it's cute ;-)
I'd like Gnoga to allow to be able to program something like that.

HTH, Pascal.
http://blady.pagesperso-orange.fr


> Le 13 févr. 2017 à 16:38, Gautier de Montmollin <gdem...@hotmail.com> a écrit 
> :
> 
> Now the pixi sprites: 
> 
> 1) In test.gpr,
>    for Source_Dirs use (".");
> needs to be changed to:
>    for Source_Dirs use (".", "../components/pixi/src");
> Or perhaps the files will be moved to the main "src" directory at some point ?
> 
> 2) Something obvious but that could disturb a newcomer: pixi.js needs to be 
> copied to the main "js" directory.
> 
> Then: the demo is working - a (positive) can of worms is now open! Speaking 
> of worms: do you know http://slither.io/ ?
> 
> slither.io
> slither.io
> The smash-hit game! Play with millions of players around the world and try to 
> become the longest of the day!
> 
> From: Gautier de Montmollin <gdem...@hotmail.com>
> Sent: Monday, February 13, 2017 3:01:11 PM
> To: Gnoga support list
> Subject: Re: [Gnoga-list] PIXI support with sprites.
>  
> I'm testing 1.3 as a real "freshman" - I even had to google how to get to the 
> 8080 port in a browser!
> 
> Read carefully the steps below, it will be useful to fix the missing bits in 
> the installation.
> 
> 0) Warm-up: gnoga 1.1a release (the "solid ground"): I run 
> make_on_windows.bat and there is a working snake.exe at the end.
> 1) Git-ball of 1.3, unzipped. I copy make_on_windows.bat from gnoga 1.1a 
> (hint here: it should be added in the git repository)
> 2)  I run make_on_windows.bat, 1st error:
> gnoga.gpr:2:06: unknown project file: "lib_components.gpr"
> Fix: replace:
>  with "lib_components.gpr"
> by:
>  with "../deps/simple_components/lib_components.gpr"
> 3) Retry: lib & obj directories not found -> after some trial & error, the 
> following lines had to be added to make_on_windows.bat:
> if not exist deps\simple_components\obj\components\static mkdir 
> deps\simple_components\obj\components\static
> if not exist deps\simple_components\lib\components\static mkdir 
> deps\simple_components\lib\components\static
> 4) Retry: snake.exe is there and is working!
> 
> Now, cannot wait to test the sprites - thanks Pascal!
> 
> Cheers
> Gautier
> From: Pascal <blady-...@users.sf.net>
> Sent: Saturday, February 11, 2017 10:52:57 AM
> To: Gnoga support list
> Subject: [Gnoga-list] PIXI support with sprites.
>  
> Hello,
> 
> I've pushed on dev_1.3 branch some support to PIXI javascript library 
> (https://github.com/pixijs/pixi.js).
> This 2D graphic lib comes with sprites.
> 
> It's a very first version commited to request comments, tested API are 
> included in test/pixi_sprite_test.adb.
> 
> Feel free to send code review:
> https://sourceforge.net/p/gnoga/code/ci/dev_1.3/tree/components/pixi/src/
> 
> Next steps will be on texture support.
> PIXI is wide, I'll add API step by step, feel free to point out some API you 
> want to be available.
> 
> A short clip (60 s) featuring Gnoga mascots is on Orange cloud:
> https://share.orange.fr/#TJET1aIfpf19a973b407
> 
> Regards, Pascal.
> http://blady.pagesperso-orange.fr
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to