Hello World,
Today I want to share some nice stuff to learn Java with you.
I found a very nice mobile application available online and for Android, IOS and Windows phone, I'm actually following the Java course and I found it very well explained, I recommend it for beginners, I use it when I'm on my way to go to work, I have 4h of train transportation per day so it allow me to spend this time efficiently :)
The application is separated in concepts divided in small subjects each subject into small paragraphs, you have to complete a little quiz at the end of each paragraph and a big quiz at the end of each concepts.
You can earn some badges and get a Solo Learn certificate for each course completed.
Here is the link:
www.sololearn.com
I also purchased a book: Learn Java the Hard Way from Graham Mitchell which is really good book for making a first step to learn Java, I wish I had this one when I was studying.
It didn't talk about Object Oriented Programming but it cover the basis in a way that anyone can understand it.
Each subject is separated in two: lesson + excercice.
The author statement is that many development books are quite hard to read from start to end for a beginer as they are not written for real beginners, so for him to write a book about learning a language you have to get the point of view of a real beginner and focus on simple things first and learn from zero, instead of going anywere using APIs...
I personnaly strongly agree with him and confirm his approach is a very good way to learn Java from the beginning.
For your information the author is actualy writing another book about Object Oriented Programming.
Here is the link:
https://learnjavathehardway.org/
Affichage des articles dont le libellé est Ressources. Afficher tous les articles
Affichage des articles dont le libellé est Ressources. Afficher tous les articles
vendredi 8 juillet 2016
mercredi 6 juillet 2016
How to assign a variable with Sightly/HTL
Hello World,
I'm actually working as a Java JEE developper on Adobe Experience Manager, sometimes we build mockups to test our code using Sightly template language. As the documentation is not very clear about how to assign a variable I'll provide you a tip. To assign a variable with Sightly you have to use data-sly-test and not data-sly-use as below:
Then you can call your variable value as below:
You can also use your variable in a test:
I hope this can help a bit.
I'm actually working as a Java JEE developper on Adobe Experience Manager, sometimes we build mockups to test our code using Sightly template language. As the documentation is not very clear about how to assign a variable I'll provide you a tip. To assign a variable with Sightly you have to use data-sly-test and not data-sly-use as below:
<sly data-sly-test.yourvariable="${yourvalue}"></sly>
Then you can call your variable value as below:
<textarea rows="4" cols="50" name="name">{"Myvariable":${yourvariable}</textarea>
You can also use your variable in a test:
<sly data-sly-test="${yourvalue==true}">displaysomething</sly>
I hope this can help a bit.
mercredi 27 janvier 2016
Licence
Hello world,
All the content of this blog is available under the following licence:

MonsieurZad de Zadwarf est mis à disposition selon les termes de la licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.
Fondé(e) sur une œuvre à http://monsieurzad.blogspot.fr/
All the content of this blog is available under the following licence:

MonsieurZad de Zadwarf est mis à disposition selon les termes de la licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.
Fondé(e) sur une œuvre à http://monsieurzad.blogspot.fr/
jeudi 11 juin 2015
Libgdx issue with RGB color not appearing correctly (glClearColor)
Hello world,
Today i'll give you a tip I found while I searching on the internet about an issue related to RGB color not displayed correctly in Libdgx.
I was searching for a nice blue background for sky in Piou with GraphicsGale and get the RGB code for it:
So in my Java code I wrote:
And finally get the blue sky correctly displayed:
Hope this will help some people arround here.
Today i'll give you a tip I found while I searching on the internet about an issue related to RGB color not displayed correctly in Libdgx.
I was searching for a nice blue background for sky in Piou with GraphicsGale and get the RGB code for it:
So in my Java code I wrote:
Gdx.gl.glClearColor(0, 187, 249, 0);but when I launched the game the color appears as an eye bleeding cyan:
Aaaaargh Y_Y it burns my eyes !!!!
So I searched why the blue didn't appears as it must be and I've found an answer on Stackoverflow so I modified my code with:
Gdx.gl.glClearColor(0/255f, 187/255f, 249/255f, 0);
Fiuuuu, it's faaaaaar better :)
vendredi 6 février 2015
How to connect Eclipse with GitHub
Hello world,
I tried to learn how to connect Eclipse with GitHub and i found some usefull ressources:
Pro Git book by Scott Chacon and Ben Straub available for free.
Tutorial explaining how to configure Eclipse and Egit (in french) by Larent Guérin.
Another tutorial explaining how to connect Eclipse with GitHub (in french) by Benjamin Besse.
I tried to learn how to connect Eclipse with GitHub and i found some usefull ressources:
Pro Git book by Scott Chacon and Ben Straub available for free.
Tutorial explaining how to configure Eclipse and Egit (in french) by Larent Guérin.
Another tutorial explaining how to connect Eclipse with GitHub (in french) by Benjamin Besse.
And it works now \o/ !!!
[UPDATE FROM 20/10/2016]
I encountered some issues when trying to make Eclipse Neon and GitHub working together. After getting multiple error messages I found the solution:
Install EGit and Mylyn plugins
Go to Help ->
Install New Software
With your internet browser, you have to go to the link
provided here :
You have to install EGit
plugin :
and then Mylyn connector plugin
:
You can encounter errors while trying to push your code, connection errors and so on like this one:
if
it happen go to Help -> Install New
Software again and use the following link as indicated in the message:
Select all the updates.
Once they are installed Eclipse
will work correctly with GitHub now
mercredi 4 février 2015
Books i'm reading about Libgdx
Hello world,
Today i'll show you some books i read to learn Libgdx game development
LibGDX Game Development Essentials by Juwal Bose is a step by step book to make a flappy bird clone game with additionnal stuff. I didn't fully read it yet but from what i saw the book explain many way how to create a Libgdx project. The quality is same to Learning Libgdx Game Development book.
Libgdx Cross-platform Game Development Cookbook by David Saltares Márquez and Alberto Cejas Sánchez contains code recipes with illustrated examples. I didn't read it yet but it looks very interesting as it covers many aspect of Libgdx and game development (2D sound system, Box2D...).
https://github.com/libgdx/libgdx/wiki the official Libgdx wiki
http://steigert.blogspot.fr/ (in english) a blog with Libgdx tutorials
http://tutoriel-libgdx-android.blogspot.fr/ (in french) a blog with Libgdx tutorials
http://obviam.net/ (in english) a blog with Libgdx tutorial
http://www.creationjeuxjava.fr/home (in french) Libgdx video tutorials
https://anthdeldeveloper.wordpress.com (in english) a game developper blog with an asteroid game tutorial
http://www.codeproject.com/Articles/702957/Create-your-first-Android-Game-with-libgdx complete example of simple game made with Libgdx
http://www.java-gaming.org/ (in english) a great community of Java game developpers
http://www.b4x.com/ (in english) forum post introducing to Libgdx
http://stackoverflow.com/ usefull website based on question/answer system
http://dmentrard.free.fr/ mathematics and physics notion explained with animations
http://opengameart.org/ free graphics to use with your game
Today i'll show you some books i read to learn Libgdx game development
Learning Libgdx Game Development by Andreas Oehlke is the first book i bought about Libgdx. the book is really clear to understand and allow us create a platform game step by step. The code is correctly explained and accompanied by illustrations. There is a second edition of this book i didn't read yet. The publisher Packt Publishing allow us to get the physical or digital version of the book or both, which is really nice as we sometimes cannot carry physical books for practical reason.
LibGDX Game Development Essentials by Juwal Bose is a step by step book to make a flappy bird clone game with additionnal stuff. I didn't fully read it yet but from what i saw the book explain many way how to create a Libgdx project. The quality is same to Learning Libgdx Game Development book.
Libgdx Cross-platform Game Development Cookbook by David Saltares Márquez and Alberto Cejas Sánchez contains code recipes with illustrated examples. I didn't read it yet but it looks very interesting as it covers many aspect of Libgdx and game development (2D sound system, Box2D...).
Also you can find many ressources online about Libgdx here is some usefull links:
https://github.com/libgdx/libgdx/wiki the official Libgdx wiki
http://steigert.blogspot.fr/ (in english) a blog with Libgdx tutorials
http://tutoriel-libgdx-android.blogspot.fr/ (in french) a blog with Libgdx tutorials
http://obviam.net/ (in english) a blog with Libgdx tutorial
http://www.creationjeuxjava.fr/home (in french) Libgdx video tutorials
https://anthdeldeveloper.wordpress.com (in english) a game developper blog with an asteroid game tutorial
http://www.codeproject.com/Articles/702957/Create-your-first-Android-Game-with-libgdx complete example of simple game made with Libgdx
http://www.java-gaming.org/ (in english) a great community of Java game developpers
http://www.b4x.com/ (in english) forum post introducing to Libgdx
http://stackoverflow.com/ usefull website based on question/answer system
http://dmentrard.free.fr/ mathematics and physics notion explained with animations
http://opengameart.org/ free graphics to use with your game
Inscription à :
Articles (Atom)