Posts by KlanPaia • 97 points
4 posts
-
0
votes2
answers442
viewsA: Help with sounds in Libgdx
Try this it times 2 seconds and activates something, you can activate a sound and stop, if you want more than 2 seconds just change the 2000, if you want it to happen only once each call improve the…
-
-1
votes4
answers1482
viewsA: How to change the color of the text in a Jtextpane?
Just as an alternative, if you are going to learn try using Javafx. It is much simpler and much more dynamic, in it you would use only label1.setTextFill(Color.web("#0076a3"));, actually has even an…
-
0
votes2
answers250
viewsA: How can I receive names via a text field in an HTML page and save them to an array in the browser’s Local Storage?
var fs = require('fs'); var file = fs.createWriteStream('array.txt'); file.on('Erro', function(err) { /* houve um erro */ }); arr.forEach(function(v) { file.write(v.join(', ') + '\n'); });…
-
9
votes7
answers20768
viewsA: How to protect source code?
Well I already download apk and have applied reverse engineering in the program of others to see how they were made. In my case as a programmer of Games I wanted to get some ideas, but I never got a…