Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (683)
Games in Android Showcase (196)
games submitted by our members
Games in WIP (751)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3
1  Discussions / General Discussions / Re: [libGDX] Photoshop-like filters on: 2016-02-18 23:03:01
I found this example online: https://github.com/JFixby/Tinto/blob/master/tinto-run-fokker-desktop/tinto-run-desktop/com/jfixby/tinto/run/desktop/GrayscaleTest.java
Is it what I'm looking for?

Will it work on Android/iOS?

Also I'm total noob in shaders. Is there some sort of an editor to test/debug shader code?
2  Discussions / General Discussions / [libGDX] Photoshop-like filters on: 2016-02-18 15:46:32
Hello everyone,

How can I get the following effect using libGDX:

Click to Play


Photoshop does that by using moving HueSaturation-layer with mask.

Is there a way to apply Photoshop-like filters (Multiply, Color-Dodge, etc) in a game?
3  Game Development / Newbie & Debugging Questions / [to delete] on: 2016-02-18 15:40:28
[to delete]
4  Game Development / Articles & tutorials / Re: How to draw Tinto the Fox on: 2015-09-14 13:18:49
Oh, sorry, I forgot to add the link: https://www.behance.net/gallery/27195277/Tinto-the-Fox-and-Magical-Brush
5  Discussions / General Discussions / [solved][libGDX] Texture compression with packed texture atlas? on: 2015-09-13 12:46:45
Is there a way to use texture compression with a TextureAtlas?

The doc (https://github.com/libgdx/libgdx/wiki/Texture-Compression) says there is a way to compress texture:

1  
2  
Pixmap pixmap = new Pixmap(Gdx.files.absolute("image.png");
ETC1.encodeImagePKM(pixmap).write(Gdx.files.absolute("image.etc1"));


And use it later:

1  
Texture texture = new Texture(Gdx.files.internal("image.etc1"));


How about atlas?

-------------------------------------

Ok, seems like the answer is:
1) Take atlas PNGs and compress them manually
2) Make surgery to the atlas file replacing all PNG-references to ETC1
6  Discussions / General Discussions / Re: [libGDX][GWT][HTML5] Bleeding on: 2015-09-02 10:06:19
I dunno. To me it seems like browser renders each texture to some buffer and then it renders the buffer's content to the browsers canvas using hardcoded Linear filter. The buffer is not gemserk-processed obviously and that gives the bleeding. Telling GDX to use Nearest filter somehow resolves the issue so I'll stick to that option.

So in summary if you have the same problem: Force Nearest/Nearest filter on the GWT/HTML5 back-end.

nice fox btw! Smiley

Thanx!
Here is the bonus tutorial for you from the artist: http://www.java-gaming.org/topics/how-to-draw-tinto-the-fox/36596/view.html
 Smiley
7  Game Development / Articles & tutorials / How to draw Tinto the Fox on: 2015-09-02 09:56:59
Hi everyone!

Here is the tutorial from my teammate explaining how to make simple yet candy graphics for your games:
If the Flash Player Plugin is disabled in your browser (and it should actually be disabled) here is the link to the video: https://youtu.be/nkchYSJu2PA

Have a nice day!

<a href="http://www.youtube.com/v/nkchYSJu2PA?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/nkchYSJu2PA?version=3&amp;hl=en_US&amp;start=</a>
8  Discussions / General Discussions / Re: Azul Zulu on: 2015-08-20 17:25:04
This is a good news.
Since this week the Oracle IT security executive announced that Oracle's primary concern is protecting its intellectual property, not security.
9  Discussions / General Discussions / Re: [libGDX][GWT][HTML5] Bleeding on: 2015-08-20 13:08:40
Weird fact: when I switch filtering to Nearest/Nearest the bleeding fades away BUT everything looks smooth like Linear/Linear was applied.
10  Discussions / General Discussions / [solved][libGDX][GWT][HTML5] Bleeding on: 2015-08-20 12:52:55
Hi

I use Gemserk-processed textures. However they bleed on the GWT-backend (black frame around the fox). Any ideas how to fix it?


Texture:


gwt-bleeding:

11  Discussions / General Discussions / [libgdx]How to import external Eclipse projects/ JARs into the GWT-HTML backend? on: 2015-01-28 18:36:54
Hello

Sorry if the question was answered already.

I'm having a problem running my project when depending on external JARs and other Eclipse projects.
The desktop version works fine. However the GWT/HTML projects seems unable to see dependencies
I can't run the html version - it crashes with this message like:
1  
2  
3  
4  
[ERROR] Line 6: The import com.jfixby.red cannot be resolved
[ERROR] Line 7: The import com.jfixby.red cannot be resolved
[ERROR] Line 8: The import com.jfixby.red cannot be resolved
...


while the referred lines are:
1  
2  
3  
4  
import com.jfixby.red.mp.TheGame; // inside other project
import com.jfixby.red.triplane.fokker.starter.gwt.FokkerStarterGwt; // inside other project
import com.jfixby.red.triplane.fokker.starter.gwt.FokkerStarterGwtConfig; // inside other project
...


Here is what I did:

1) I removed all required my (external) dependencies from the gradle-produced projects build path. So it shows red ("unable to compile") flags.
2) I compiled all my dependencies (eclipse projects) to *.JAR files
3) I edited the build.gradle file in the root project of the gradle-produced projects by adding the following text:
1  
2  
3  
4  
        compile fileTree(dir: 'D:/[DATA]/[DEV]/libs/red-triplane', include: '*.jar')
        compile fileTree(dir: 'D:/[DATA]/[DEV]/libs/red-triplane/examples', include: '*.jar')
        compile fileTree(dir: 'D:/[DATA]/[DEV]/libs/apache-commons', include: '*.jar')
        compile fileTree(dir: 'D:/[DATA]/[DEV]/libs/spine', include: '*.jar')

in each of these sections: html and desktop

4) Then I clicked Gradle->Refresh All and it removed all the red flags from the (1). Also it added my jars into the Gradle Dependencies section of the gradle-produced projects build pathes.

Now it all perfectly works for the Desktop gradle-produced backend.

However it doesn't work for the HTML backend. Still the same problems as described above.

Assuming I need source code of the jar to compile the GWT. (Not sure that is correct assumption)

I did the following:

1) I unpacked the first jar apache-commons-io.jar into the newly created eclipse project. Now I have the jar's source code.

2) I created ApacheCommonsIO.gwt.xml and placed it near the GdxDefinition.gwt.xml and GdxDefinitionSuperdev.gwt.xml files:
1  
2  
3  
4  
<?xml version="1.0" encoding="UTF-8"?>
<module>
   <source path="/org/apache/commons/codec" />
</module>


3) Then I add the following line: <inherits name='%package_name%.ApacheCommonsIO' /> into the GdxDefinition.gwt.xml and GdxDefinitionSuperdev.gwt.xml
so it looks like
1  
2  
3  
4  
5  
6  
7  
8  
9  
<module rename-to="html">
   <inherits name='com.badlogic.gdx.backends.gdx_backends_gwt' />
   <inherits name='com.badlogic.gdx.physics.box2d.box2d-gwt' />
   <inherits name='com.jfixby.redtriplane.fokker.gradle.GdxDefinition' />
...
   <inherits name='com.jfixby.redtriplane.fokker.gradle.ApacheCommonsIO' />
...

</module>


4) Then I edited ApacheCommonsIO.gwt.xml and explicitly wrote the source folder location:
1  
2  
3  
4  
<?xml version="1.0" encoding="UTF-8"?>
<module>
   <source path="D:/[DATA]/[DEV]/commons-io-2.4/src/org/apache/commons/io" />
</module>


I did the same steps for all other JARs. It passed successfully compiling all steps until reaching the same result "The import cannot be resolved".

I have no ideas what else I can do.

So... again: how to import external Eclipse projects/JARs into the GWT-HTML backend?
12  Games Center / WIP games, tools & toy projects / Re: I like smell of polygons in the morning on: 2015-01-10 02:02:17
Here is a demo of the Map Editor:

<a href="http://www.youtube.com/v/6Opf4gVd2dY?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/6Opf4gVd2dY?version=3&amp;hl=en_US&amp;start=</a>
13  Games Center / WIP games, tools & toy projects / Re: I like smell of polygons in the morning on: 2014-11-14 14:51:29
Just attaching the first rasterization attempt: http://jfix.by/wp-content/uploads/2014/11/raster.jpg

14  Games Center / WIP games, tools & toy projects / Re: I like smell of polygons in the morning on: 2014-08-18 19:01:49
This was just a mistake in the rotation's matrix.
Here is the new update:

15  Games Center / WIP games, tools & toy projects / Re: I like smell of polygons in the morning on: 2014-08-16 23:15:42





a bit buggy, but you can see the concept
16  Games Center / WIP games, tools & toy projects / Re: I like smell of polygons in the morning on: 2014-08-12 18:33:58
Thanx for comments.

Yep right now I'm working on the step 6: to tilt the surface and to see it through isometric view.

If you look at the picture (one with captions), you can distinguish a 14Patch pattern (usual 9patch for concave sprites and 5 more for convex). Basically I'm revers-engineering the StarEdit (StarCraft Map Editor)

Here are the steps I'm trying to revert:

Step 1: Start StarEdit and draw random level.





Step 2: Turn-on grid to see sprites.



Step 3: Stretch everything 200% vertical.



Step 4: Rotate 45 degrees.



Step 5: Let’s see now




17  Games Center / WIP games, tools & toy projects / libGDX-based ISO on: 2014-08-12 10:48:47
Hi everyone!

Just want to share some funny stuff I do on libGDX.


Step 1:
 Draw one png-file



Step 2.
 Read it as RGB-function and print to console in ASCII format:
 

Step 3.
 Each color represents one type of terrain: grass, water, dirt or snow. Process the RGB function to extract material-joints (borders?)

water vs dirt
 

dirt vs grass
 

grass vs snow
 

Step 4.
 Compose results from the step 3:



Step 5. Render it!
 

Check out these polygons!
 

Hope you like it!  Wink


Have a nice day
J
18  Discussions / General Discussions / Re: Are there any artists on this forum? on: 2014-05-23 10:11:28
Here are the rewarding postcards as was promised.



Have a nice day!
19  Discussions / General Discussions / [libGDX] How many cameras can I create? on: 2014-05-22 18:14:32
Is it ok to create multiple OrthographicCamera objects in libGDX?

Assume I'm trying to create a parallax screen with multiple layers. Each layer has it's own happy story:
- Far distant layer is showing us a sunset (5 sprites),
- mid-layer contains a group of dancing gnomes at a party (50 sprites and animations)
- and on front we have our Mario jumping on platforms (our game in action)

Is it a good idea to use one separated camera for each layer so I can imitate the parallax effect?
Isn't it too heavy java object? Are there better solutions?


20  Discussions / General Discussions / Re: Are there any artists on this forum? on: 2014-05-21 20:23:58
OK next theme is
http://picfight.org/2014/05/21/10-unusual-types-of-transport/
“Unusual Types of Transport”

Instructions:
1) Draw your transport and send it to pf10@picfight.org Don’t forget to attach your artwork and your profile link.
2) Try to do it by the end of the 26th of May (Monday). Or at least drop me an e-mail that you are drawing and you just need some more time.
3) Wait for the publishing day and claim your reward.

Have fun!
21  Discussions / General Discussions / Re: Are there any artists on this forum? on: 2014-05-20 15:55:20
Here are the results.
Behold!

http://picfight.org/2014/05/20/9-results-show-us-your-monsters/

Plum Tree
Click to Play


Ksen



[Tieller]



Tamri Nizharadze



Solid Air



Annelley:



Little Sherbul’s



J Fixby

22  Discussions / General Discussions / Re: Are there any artists on this forum? on: 2014-05-11 15:37:03
Last week some folks told me to make proper community website for the picfights. So I spent all days deploying this: http://picfight.org
Currently it is in beta mode. You are welcome to try it. Have a nice day!

23  Discussions / General Discussions / Re: Are there any artists on this forum? on: 2014-05-05 18:25:16
Well if you can make something that would make you REALLY proud of yourself, that would be enough.   Smiley
24  Discussions / General Discussions / Re: Are there any artists on this forum? on: 2014-05-05 11:31:03
25  Discussions / General Discussions / Re: Are there any artists on this forum? on: 2014-05-03 14:06:01

Right now I’d like to announce the next theme and anybody here is welcome to join.



PicFight #9: “Show your monsters!”
The task is to think out, to reveal your deep fears and to draw a monster. Otherwise you can draw any other monster fitting to a computer game or to a horror movie. Preliminary deadline is the 19th of May.

Here are the clear instructions:
1) Draw as many monsters as you want/can and send them to jgo-picfight @ jfixby.com Don’t forget to attach your artwork and your profile link.
2) Try to do it by the end of the 19th of May. Or at least drop me an e-mail that you are drawing and you just need some more time.
3) Wait for the publishing day. Deadlines are flexible: we prefer to wait a bit more but to get more fun in the end. So postponing deadlines is quite a regular practice in PicFights.

Everything we do is for the sake of fun!

Also the master of the game has a personal obligation to send to each participants a rewarding postcard.

Have fun!
26  Discussions / General Discussions / Re: Are there any artists on this forum? on: 2014-05-02 18:11:58
So how about next fight? Any volunteers?  Smiley
27  Games Center / WIP games, tools & toy projects / Re: Game Language Expressiveness through Landscape on: 2014-05-02 12:34:21
ok, have fun
28  Games Center / WIP games, tools & toy projects / Game Language Expressiveness through Landscape on: 2014-05-01 15:42:55

Let’s consider a square maze structure.



Square maze consists of two types of bricks: beams (walls) and joints. Both brick types have it’s length and width, and even being related, they still can be represented using 4 linearly independent variables. So in total we have 16 optional maze structures == (2 options: long/short)^(4 variables)

Let’s see how game language expressiveness is changing with the variables:
- large rooms connected with tiny Alien-style air shafts,
- anthill – small corridors, tiny walls,
- classic platformer with wide walls and tiny platforms,
- “aztec temples” – huge vertical rooms and tiny secret tunnels in between
- etc…

Also it is important to mention that tunnel sizes affect player’s impression of the game dynamics. For example, combining tiny corridors with big rooms will suggest frequent stops to rest, “aztec temples” bring some discomfort, no rooms at all provoke claustrophobia.

Here you are welcome to see all the 16 options, find the interesting ones among them, and try to describe your deep reactions. The player’s character is pink, btw.

Finally, the most amazing part is that we have these strong effects even with no game graphics at all. Now imagine what is going to happen when we have some.































29  Discussions / General Discussions / Re: Are there any artists on this forum? on: 2014-04-09 19:42:10
thanx,
authors really appreciate a lot of comments  Grin
30  Discussions / General Discussions / Re: Are there any artists on this forum? on: 2014-04-08 07:57:36
OK, people. Today I'm publishing the results.

Click, watch, be amused:  Grin

J Fixby:





Ksen:



Sherbul:







Maike Sommer:

http://jfix.by/wp-content/uploads/2014/04/gesamtvorschau_end1.jpg



Nodakemi:

Mirror shows players level of madness:





Don’t miss the gif file!
http://jfix.by/wp-content/uploads/2014/04/pony.gif
 
Click to Play




Pages: [1] 2 3
 
orrenravid (200 views)
2016-07-16 03:57:23

theagentd (272 views)
2016-07-11 14:28:54

Hydroque (356 views)
2016-07-06 05:56:57

Hydroque (512 views)
2016-07-03 08:52:54

GrandCastle (383 views)
2016-07-01 09:13:47

GrandCastle (376 views)
2016-07-01 09:09:45

CopyableCougar4 (430 views)
2016-06-25 16:56:52

Hydroque (408 views)
2016-06-22 02:17:53

SwampChicken (373 views)
2016-06-20 13:22:57

SwampChicken (300 views)
2016-06-20 13:22:49
Making a Dynamic Plugin System
by Hydroque
2016-06-25 00:13:25

Java Data structures
by BinaryMonkL
2016-06-13 21:22:09

Java Data structures
by BinaryMonkL
2016-06-13 21:20:42

FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!