Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (558)
Games in Android Showcase (150)
games submitted by our members
Games in WIP (602)
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 ... 39
1  Game Development / Newbie & Debugging Questions / Re: How to test a java game having a high-end PC on: 2015-02-17 14:47:26
I have a medium end computer for development, if I get hundreds of fps on that one then I hope it will work on low end computers too Smiley I use dynaTrace to profile the cpu/memory usage to try to get rid of potential bottlenecks on low end computers.

Mike
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-17 06:58:38
@Mike:
The number one rule of web design (and pretty much all digital content creation): Don't do something just because you can.

Parallax scrolling is the <marquee> of 2012-2015 Wink

- Jev

I couldn't, that's why I did it Smiley I think it'll look great with the additional menu to quickly go to a section. The good thing about the current layout is that the graphics get a very large attention on the page, which is the only thing the game has going for it at the moment.

I don't think we should put any more into this thread as it isn't about web design. Once I change it down the line I'll put in another "What I did today".

Mike

EDIT: I added the navigation as suggested. As it was only a few minutes of work I thought it was silly not to do it Smiley
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-16 23:30:29
Maybe a "floating control panel" on the right side and the images in the background (~as slideshow?)
@Mike you should add a automatic waypointed scroll system like on the Moto G webpage

Thanks for the ideas! I'll look into changing it again somewhere down the road, most likely based on your ideas. For now I got it working in IE9 and will go back to programming on the game itself Smiley

Mike
4  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-16 23:04:10
To be honest, I am not sure about the new website.
"I want all the options without scrolling"
And at least for me the images are jiggling around while I scroll.

Apparently the pictures don't even show up in IE9. I'll have a look for another library I guess. Sad

I could add some buttons on top to jump to the forum/download/credits section. Seeing as I don't have much text on the page I mainly wanted a website that points out the graphical quality, and the previous site didn't do that Smiley

Mike
5  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-16 22:48:25
Made a new website for State of Fortune (same url as before: http://stateoffortune.com/). Was mainly to try out parallax scrolling and having much larger pictures without having to click on small thumbnails. The picture quality isn't great in jpeg, but the size difference is huge, which is nice for mobile devices so I'll stick with jpeg over png for now Smiley

Mike
6  Discussions / General Discussions / Re: Future career in programming and school suggestions? on: 2015-02-16 09:59:35
It's definitely my choice to go to MIT, it's been a dream of mine for as long as I can remember.

In that case, go for it Smiley


Mike
7  Discussions / General Discussions / Re: What's your day job? on: 2015-02-15 22:11:21
I work as a delivery architect in the application performance management sector. It involves a lot of customer facing activities as well as application troubleshooting/monitoring and SLA/KPI automation.

Been doing it for 6 years now and the nicest parts about it is the diversity of different customer environments which keeps me up to date with new technologies, the good salary and the satisfaction of helping people out in their daily jobs.
8  Discussions / General Discussions / Re: Future career in programming and school suggestions? on: 2015-02-15 22:03:19
Make sure that you study hard because you want to go to the top universities, and not because your parents want you to. I had good grades and went to a good university mainly because it was expected of me. Long story short: I grew more and more bored, dropped out after the first year, moved to another country and jumped around at a few low paying jobs until I came to where I've worked for the past 9 years.

Spending years on something that you don't want to do is a great shortcut to boredom and depression. On the other hand, if you want to go to MIT, try to get your motivation up and just do it. Try to envision what you think that your life will be if you do go and what it'll be like if you don't.

Mike
9  Discussions / General Discussions / Re: New feature: mentions in posts on: 2015-02-06 12:39:57
What happens when I mention myself, @princec?

You get a community that looks weirdly at you for talking to yourself in written form... Smiley

Mike
10  Discussions / General Discussions / Re: New feature: mentions in posts on: 2015-02-05 22:47:30
Also with a dot like mike.emery

Well, they aren't active on the forum anymore so let's just call it a hidden feature Smiley

Mike
11  Discussions / General Discussions / Re: New feature: mentions in posts on: 2015-02-05 22:22:54
One more thing, every quote of someone with a username that starts with "Mike" is now showing up as my latest mentions. At the moment I don't think there are too many of them active, but maybe that will mess it up for someone else's name as well.

Mike
12  Discussions / General Discussions / Re: New feature: mentions in posts on: 2015-02-05 21:40:11
Really nice feature. I usually read most posts, but now I won't miss all the times that I'm being back talked in some obscure thread Smiley

I was notified by the way so I think you missed something Pointing

Mike
13  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-04 23:09:09
Today I realized what a difference good looking clouds and normal mapping on the ground can do for the graphics! Smiley

(Click for full size)


Mike
14  Discussions / General Discussions / Re: New feature: appreciation results in post medals on: 2015-02-04 15:54:39
Oh, I'm Spiffy, how would one become Bitwise? Smiley

Mike
15  Games Center / Featured Games / Re: State of Fortune on: 2015-02-02 20:46:01
After Mr. Agent helped out with the fps drop due to AA he also gave me some hints on how to add AA to transparent objects like the trees and the grain without sorting them. I am now using GL_SAMPLE_ALPHA_TO_COVERAGE, which gives a much calmer look. Here are two new screenshots while using that technique.

As always, click for a larger version Smiley




Mike
16  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-31 22:33:03
First I think I only one, who put the monitor on the stand(books, etc ^^)
But now when I see same like 10 times from different ppl I think its normal XD

It's all about ergonomics Smiley

https://www.youtube.com/watch?v=CqOheOnMLe4#t=53

Mike
17  Discussions / Miscellaneous Topics / Re: Laptop hardware on: 2015-01-30 16:24:41
I just got a new gaming laptop for the missus. After looking for quite some time I ended up choosing between the MSI and the Asus Republic of Gamers. I ended up buying the Asus one (http://www.newegg.com/Product/Product.aspx?Item=N82E16834231631) after having heard a lot of bad things about the heat, noise and general lack of quality of the MSI laptops. Asus was a bit more expensive (or with a bit lesser hardware) but so far it runs fine Smiley

Mike
18  Game Development / Newbie & Debugging Questions / Re: Access violation with glDrawArrays on: 2015-01-28 15:15:02
Decrease the size of the triangles with a lot and see what happens Smiley

Mike
19  Game Development / Newbie & Debugging Questions / Re: Access violation with glDrawArrays on: 2015-01-28 15:02:00
EDIT2: The fullscreen quad thing seems to be a major FPS killer, why is this the case?

http://en.wikipedia.org/wiki/Fillrate Read it and weep Smiley

Mike
20  Games Center / Featured Games / Re: [Android] Crazy Shooter - Shoot'em up & Pixel art on: 2015-01-27 13:57:08
Err... You are aware that you have pretty much plagiarized from puppygames with the man in the corner... right?
While there are similarities I wouldn't say it is enough to be plagiarized.

*Off topic: is Riven still with puppygames? Was that even a thing or am I slightly delirious?
Nope, but he was working for them in the past indeed. Smiley

It's borderline fraudulent to use this really nice artwork to draw people into your game with the promise of quality that you obviously cannot deliver yourself.
If it indeed is straight away copied then Oasix should keep the game for himself until he can switch out the graphics for something he created himself. I don't mind copying things off the internet if it is a game that you're playing with a friend, but if you publish it on several forums you should make sure that all the art is either under a free to use license or owned by yourself.

Also, this game doesn't belong in featured games (you shouldn't create games in this section, you can create it in the showcase section and then a moderator will move it to featured if it is good enough).

Mike
21  Discussions / General Discussions / Re: Old Forum Stuff on: 2015-01-26 14:57:51
This topic was discussed a couple of years back as well Smiley
http://www.java-gaming.org/index.php?topic=28710.0

Mike
22  Discussions / General Discussions / Re: RESOLVED: am thinking of getting this PC, for both gaming and developing on: 2015-01-22 15:16:47
Also, the CPU came with a fan, so the separate fan I purchased is going back.

Seperate fans have the plus point of being quieter and allowing you to overclock the cpu more. But if that isn't a requirement then you should indeed return it.

High on the agenda--figuring out how to kill all the ads that are popping up on the new browser.

Adblock plus Smiley
23  Games Center / Featured Games / Re: State of Fortune on: 2015-01-19 23:41:48
Have a well deserved medal! As it looks now the rendering time on my (non-game) laptop with all the effects on max has decreased with 70-80%.

I'm still finishing it up but will have the new version up and running later this week. Smiley

Mike
24  Game Development / Newbie & Debugging Questions / Re: Texture always facing the camera on: 2015-01-19 15:54:24
Config.getRenderDistance() in the code above is the far perspective. You can just try out values that works out well for you.

The up and the right vector is calculated as such (you won't have the crossproduct and such functions but you can find that very easily by googling).
        Point3DFloat normalizedLookVector =
            normalizeVector(new Point3DFloat(Camera.getPosition().getX() - Camera.getLookingAt().getX(), Camera.getPosition().getY()
                - Camera.getLookingAt().getY(), Camera.getPosition().getZ() - Camera.getLookingAt().getZ()));
        rightVector.setLocation(crossProduct(upVector, normalizedLookVector));
        normalizeVector(rightVector);
        upVector.setLocation(crossProduct(rightVector, normalizedLookVector));
        normalizeVector(upVector);

Good luck!

Mike
25  Games Center / Featured Games / Re: State of Fortune on: 2015-01-19 13:19:51
The planting is due to a horrible bounding box, I'll fix that when I can start the game again. I'm currently focusing on a bit of a rewrite to get a big performance improvement, courtesy of feedback from our great shader expert theagentd Smiley If all goes well the impact of turning on post processing, light scattering, high quality water and anti aliasing will be a lot smaller.

Mike
26  Game Development / Newbie & Debugging Questions / Re: Texture always facing the camera on: 2015-01-18 18:56:08
Something like this (You should use a VBO or something though instead of direct mode, but at least it gives you a point of reference) Smiley
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
80  
81  
82  
83  
84  
85  
86  
87  
88  
89  
90  
91  
92  
93  
94  
95  
96  
97  
98  
99  
100  
101  
102  
103  
104  
105  
106  
107  
108  
109  
110  
111  
112  
113  
114  
115  
116  
private void drawSun(final Point3DFloat upVector, final Point3DFloat rightVector) {
        float sunSize = 7;
        float sunDistance = Config.getRenderDistance() / 2;
        GL11.glBindTexture(GL11.GL_TEXTURE_2D, TextureContainer.getTexture(PictureContainer.SUN[0]));
        GL11.glBegin(GL11.GL_TRIANGLES);
        GL11.glTexCoord2f(0, 1);
        GL11.glVertex3f(
            Camera.getPosition().getX()
                + LIGHTPOSITION.get(0)
                * sunDistance
                - (rightVector.getX() + upVector.getX())
                * sunDistance
                / sunSize, Camera.getPosition().getY()
                + LIGHTPOSITION.get(1)
                * sunDistance
                - (rightVector.getY() + upVector.getY())
                * sunDistance
                / sunSize, Camera.getPosition().getZ()
                + LIGHTPOSITION.get(2)
                * sunDistance
                - (rightVector.getZ() + upVector.getZ())
                * sunDistance
                / sunSize);
        GL11.glTexCoord2f(1, 1);
        GL11.glVertex3f(
            Camera.getPosition().getX()
                + LIGHTPOSITION.get(0)
                * sunDistance
                + (rightVector.getX() - upVector.getX())
                * sunDistance
                / sunSize, Camera.getPosition().getY()
                + LIGHTPOSITION.get(1)
                * sunDistance
                + (rightVector.getY() - upVector.getY())
                * sunDistance
                / sunSize, Camera.getPosition().getZ()
                + LIGHTPOSITION.get(2)
                * sunDistance
                + (rightVector.getZ() - upVector.getZ())
                * sunDistance
                / sunSize);
        GL11.glTexCoord2f(1, 0);
        GL11.glVertex3f(
            Camera.getPosition().getX()
                + LIGHTPOSITION.get(0)
                * sunDistance
                + (rightVector.getX() + upVector.getX())
                * sunDistance
                / sunSize, Camera.getPosition().getY()
                + LIGHTPOSITION.get(1)
                * sunDistance
                + (rightVector.getY() + upVector.getY())
                * sunDistance
                / sunSize, Camera.getPosition().getZ()
                + LIGHTPOSITION.get(2)
                * sunDistance
                + (rightVector.getZ() + upVector.getZ())
                * sunDistance
                / sunSize);
        GL11.glTexCoord2f(1, 0);
        GL11.glVertex3f(
            Camera.getPosition().getX()
                + LIGHTPOSITION.get(0)
                * sunDistance
                + (rightVector.getX() + upVector.getX())
                * sunDistance
                / sunSize, Camera.getPosition().getY()
                + LIGHTPOSITION.get(1)
                * sunDistance
                + (rightVector.getY() + upVector.getY())
                * sunDistance
                / sunSize, Camera.getPosition().getZ()
                + LIGHTPOSITION.get(2)
                * sunDistance
                + (rightVector.getZ() + upVector.getZ())
                * sunDistance
                / sunSize);
        GL11.glTexCoord2f(0, 0);
        GL11.glVertex3f(
            Camera.getPosition().getX()
                + LIGHTPOSITION.get(0)
                * sunDistance
                - (rightVector.getX() - upVector.getX())
                * sunDistance
                / sunSize, Camera.getPosition().getY()
                + LIGHTPOSITION.get(1)
                * sunDistance
                - (rightVector.getY() - upVector.getY())
                * sunDistance
                / sunSize, Camera.getPosition().getZ()
                + LIGHTPOSITION.get(2)
                * sunDistance
                - (rightVector.getZ() - upVector.getZ())
                * sunDistance
                / sunSize);
        GL11.glTexCoord2f(0, 1);
        GL11.glVertex3f(
            Camera.getPosition().getX()
                + LIGHTPOSITION.get(0)
                * sunDistance
                - (rightVector.getX() + upVector.getX())
                * sunDistance
                / sunSize, Camera.getPosition().getY()
                + LIGHTPOSITION.get(1)
                * sunDistance
                - (rightVector.getY() + upVector.getY())
                * sunDistance
                / sunSize, Camera.getPosition().getZ()
                + LIGHTPOSITION.get(2)
                * sunDistance
                - (rightVector.getZ() + upVector.getZ())
                * sunDistance
                / sunSize);
        GL11.glEnd();
        GL11.glBindTexture(GL11.GL_TEXTURE_2D, 0);
    }


Mike
27  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-13 11:10:19
Looks much better than before!
Although there is one thing I would suggest, simply using linear interpolation to transition from grass to sand looks kinda... boring? When you look at an actual image of a beach the has grass edges, it really doesn't just kinda fade but nor is there a sharp border. It kinda ends, then you see patches of grass inwards to the shore a little bit. For example:

Thanks for the input! Something like this?


I made the beach bigger as well, I love going to the beach so why should it be so small? Smiley The transition to stone and snow also uses the new formula.

Mike
28  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-12 09:14:01
I was wondering when you were going to smooth out that water line! Very nice job Mike!
How did you do it?

It was actually a lot easier than I first imagined. I always thought that I had to add more vertices to create the effect, which I didn't want to do due to performance reasons. I was messing with it for about an hour yesterday and came up with the above results.

What I did was to change "getHeight(x, y)" to return an average height of the tile and the 8 tiles around it when the camera is within 300 units/meters (which is plenty enough, any more than that and the landscape is LOD'ed anyway). The function then makes sure that a single corner doesn't change more than 0.125 units/meters in either direction, to still give you feedback when altering the landscape. A tile is normally raised/lowered 0.25 units/meters with each mouse click.

Considering the amount of medals I would say that it was a success Smiley

Mike
29  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-11 23:36:53
Today I created a nice look by smoothing out the landscape. It works wonders on rolling hills and beaches, not only graphically but running over the landscape is also a better "experience". Here is a before and after:

Before:


After:


I'm satisfied with the results, but I'm biased Smiley

Mike
30  Games Center / Featured Games / Re: State of Fortune on: 2015-01-11 13:51:38
I managed to reproduce a fps problem and resolved it. Can you check if it is better now? Just send me a PM if not so we don't have to spam the forum.

While posting anyway, here is a new screenshot Smiley



As always, click for a bigger version.

Mike

EDIT: The Java 7/8 bug is resolved for the ones who wanted to test but didn't have Java 8 installed.
Pages: [1] 2 3 ... 39
 
Pippogeek (18 views)
2015-03-05 14:36:23

Pippogeek (14 views)
2015-03-05 13:56:12

Pippogeek (12 views)
2015-03-05 13:55:41

Pippogeek (14 views)
2015-03-05 13:23:02

Pippogeek (14 views)
2015-03-05 13:15:28

Pippogeek (10 views)
2015-03-05 13:15:04

Pippogeek (17 views)
2015-03-05 13:13:24

Pippogeek (21 views)
2015-03-05 13:11:33

BurntPizza (47 views)
2015-02-27 06:09:35

BurntPizza (36 views)
2015-02-27 05:56:17
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27
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!