Why php? Good question. I need to store some data in database and I get some data from database. But if I am sure, APE also can handle database.
In any case I will rethink the controller (the game logic), can you help me with some information about how to send data to APE insted of sending to php with AJAX request? Thank you for your opinion and your help! 2015. április 26., vasárnap 19:26:58 UTC+2 időpontban Nicolas a következőt írta: > > It is more direct this way. But of course, you need to program your game > logic in Javascript. I do it without any problem. The only think I had to > do (after realizing it 3 years later) was to recompile APE with a bigger > memory. Indeed, the basic APE can't handle more than 70,000 arrays and it > was a limitation for me (then it crashed without notice!) > > > > On Sunday, April 26, 2015 at 7:25:23 PM UTC+2, Nicolas wrote: >> >> Hi, >> >> I suppose it works like this, but why use PHP for the game logic? >> >> On my board gaming platform (www.happymeeple.com/en/), the game logic is >> on the APE server side too. So when a user makes a move, he sends the >> information to APE directly, which sends relevant information back to him >> and the other players. >> >> Good luck with playing with APE! >> >> >> >> On Sunday, April 26, 2015 at 7:05:03 PM UTC+2, Sándor Volenszki wrote: >>> >>> Dear All! >>> >>> Today I am very happy with APE Server, finaly I did all the >>> configurations and started the joyfull play with it! :) >>> >>> In an hour I sketched up a HTML5 board game, and in 6 more hours, I made >>> it operable. It's not perfect, but functionally sufficient. >>> >>> After a few tests I started to theroize, did I realy used all >>> the facilities of APE in my project, and now I want to know, what you think! >>> >>> What I did: >>> >>> I made a HTML5 boardgame for 4 players. >>> When the game started, and a player click on the board, then a jQuery >>> AJAX request interact with a php file, to make the game logic. >>> After the php finished, with inlinepush I return data to all 4 payers, >>> and in each client with jQuery I make all the neccesary changes. >>> >>> Is this a correct way to use APE in HTML5 app, or I need to learn more? >>> >>> Thank you for your opinion in advice! >>> >>> Sandor >>> >> -- -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/ --- You received this message because you are subscribed to the Google Groups "APE Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
