Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (497)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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 ... 13
1  Game Development / Newbie & Debugging Questions / Re: Is it possible to add variable values to texture name when calling for a draw? on: 2014-09-18 11:56:11
I don't think so. But just for clarification, you are talking about having 3 separate texture variables which share all of the same letters in them except for one. You are then trying to stitch a number corresponding to the texture you want on the end of the variable tag when you call the texture for drawing. Basically treating it like a string?
2  Game Development / Newbie & Debugging Questions / Re: Is it possible to add variable values to texture name when calling for a draw? on: 2014-09-18 11:40:39
You can do that same thing if you store the textures in a texture array called player_0
3  Games Center / Android Showcase / Re: [Free] WaveRun (SoftKiwi) on: 2014-09-15 23:57:59
pic broken, I would suggest imgur for image hosting
4  Game Development / Newbie & Debugging Questions / Re: Calculating 2D tiled lights (additive behaviour of multiple sources) on: 2014-09-15 23:35:08
That seems right, I use a similar technique in my game Astrofirm (see gif). Just have a minimum light level and a maximum light level then have each rendered tile's light add a fraction their neighbors light level to itself until the fraction is too small to add to new tiles, but you must make sure that the light level variable is reset back to the minimum light level each frame or it will just continue rise. You can even have dynamic shadows if you make solid blocks not transmit much light.

Lights in Astrofirm (sorry if hard to see):
Click to Play



A few differences:
1. My lighting algorithm uses RGB as the indication of brightness instead of Alpha values in order to support colored lights. (I recommend this way where total higher RGB values indicate brighter light and individual RGB values indicate color.
2. My bleeding might be a bit exaggerated   Wink

Hope this helped at all.
5  Discussions / Miscellaneous Topics / Re: What other programming languages do you use & why? on: 2014-09-15 22:53:37
I regularly use Java, HTML, and CSS and rarely use C++ and JavaScript

(ps: is it weird that my first language was C++ but then I found Java and totally abandoned C++?)
6  Games Center / Featured Games / Re: Altitude on: 2014-09-12 03:22:35
Don't know if you saw this:
<a href="http://www.youtube.com/v/iNQIWBkWFXI?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/iNQIWBkWFXI?version=3&amp;hl=en_US&amp;start=</a>
7  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > Building Info! < on: 2014-09-12 03:20:32
You should also consider adding Disqus support to your blog (only if you want comments though)
8  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-09-10 02:36:45
Resumed work on Astrofirm! Grin

I've added support for multiple planets, now onto Starmaps!  Pointing
9  Discussions / General Discussions / Re: Performance Test for the Voxel Thing on: 2014-09-07 19:51:19
max: 192 fps; avg: 170fps  Grin
10  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-09-03 04:30:44
I started a multiplayer space game  Pointing
Click to Play
11  Discussions / Miscellaneous Topics / Re: How to play split screen on Black Ops 2 Xbox? on: 2014-09-03 04:18:42
I think player 2 has to press "A" or "X" in the lobby in order to join the game (not sure though)
12  Discussions / Miscellaneous Topics / Re: How to play split screen on Black Ops 2 Xbox? on: 2014-09-03 02:10:18
http://bit.ly/1qZmQlF

13  Game Development / Newbie & Debugging Questions / Take shortest rotation on: 2014-09-02 20:58:25
Click to Play


So I have a spaceship that is rotating towards the mouse, but whenever the cursor crosses the positive x-axis (0-360) the spaceship takes the long route all the way around (see gif). How can I fix this?


LookAt code:
1  
2  
3  
public float lookAt(Vector2 target) {
      return (target.sub(new Vector2(position.x, position.y)).angle());
}


Other:
1  
2  
   rot = 270 + lookAt(new Vector2(tarX, tarY));//get rotation towards mouse position (tarX,tarY)
  angle += (rot - angle) * 0.1f;//smooth out rotation; this is what is applied

Thanks
14  Discussions / General Discussions / Re: How can I speed up my computer? (Gaming) on: 2014-09-02 16:05:24
As detailed as I can get:
Graphics Card: Radeon HD 7750 2Gb DDR3
Memory: 4gb RAM
Motherboard: Gigabyte Brand (not sure what model)
CPU: AMD FX-4100 Quad-Core Processor 3.6ghz
Hard Drive: 500gb max only about 90gb left
OS: Windows 8.1 x64 (dual-booted Xubuntu: 23GB partition*)
*gaming stats in OP taken before dual boot (if it matters)

15  Discussions / General Discussions / How can I speed up my computer? (Gaming) on: 2014-09-02 15:09:52
I have a 3.6 ghz processor, a mid-range graphics card (Radeon 7750), and 4gb of ram, but I feel like my computer lacks the performance power compared to other systems of similar specs or worse.  Like when I watch this video, The description says that he gets an average of 31 fps playing the Witcher 2 on Ultra with the same graphics card, a slightly worse cpu (@ 3.4 ghz) and 8 gb of RAM  but whenever I run the Witcher 2 on all Low settings, I can only get about 10 - 25 fps. I'm sure there other factors for this performance decrease but the fps difference is so drastic. So my question is, how much of a difference does some more ram make, and how can I speed up my system (preferably without overclocks).

PS: I clean out my processor and graphics card fans every month so I don't think heat is the issue.
16  Discussions / General Discussions / Re: Performance Test for the Voxel Thing on: 2014-09-01 20:40:40
133-147fps on this latest version
17  Discussions / General Discussions / Re: Performance Test for the Voxel Thing on: 2014-08-29 21:50:16
I don't see a difference either.
18  Discussions / General Discussions / Re: Performance Test for the Voxel Thing on: 2014-08-29 00:45:52
60 fps
Pro: 3.6ghz
Vid: Radeon 7750
Mem: 4Gb
19  Discussions / Miscellaneous Topics / Re: Killers/Murderers - Are they really wrong? on: 2014-08-29 00:04:20
You mean 'terrorist'.
You mean 'terrierist'
20  Discussions / Miscellaneous Topics / Re: Programmer Radio Station on: 2014-08-22 00:18:47
I was thinking he meant more of a talk show but those are known for being notoriously boring
21  Games Center / WIP games, tools & toy projects / Re: JGB (Java Game Boy) emulator on: 2014-08-21 23:25:32
very nice! I've been looking for a resource on making a GBA emulator but I haven't found any so far. If you have any links or tutorials, I would be vary appreciative.  Cheesy
22  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-13 22:27:40
Moved over to Gfycat
23  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-13 22:21:04
I'm done.

Click to Play
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-12 02:51:40
Some more fun with particles:
Click to Play

Just tryin' to keep busy  Tongue
25  Discussions / Miscellaneous Topics / Re: Life is like a strategy game sort off on: 2014-08-10 18:20:59
Quote
Let me guess.  Physics isn't one of your strong points.
I was generalizing about the atoms :/. My point was that the right atoms ended up in the right place at the right time to be pulled in by whatever is at the center of the earth (Probably a Racnoss  spaceship Pointing) in order to form this planet and eventually life.

Quote
Free will is and probably always will be unknowable.
That's what I'm saying. Since free will is unknowable, don't stress and debate over it.

Quote
What so bewildered about existence?
Maybe "bewildered" was the wrong word.
26  Discussions / Miscellaneous Topics / Re: Life is like a strategy game sort off on: 2014-08-10 02:44:23
Who freakin' cares about free will! I think you guys may be looking at the wrong big picture here! Life (scientifically) is the result of a bunch of a bunch of atoms randomly being placed together after a massive explosion. That alone should be enough. There is no reason to debate over free will when we will never have the answer to it so just kick back and be bewildered by the fact that you are alive.  Grin
27  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-09 01:39:02
Got bored and made a Particle Rain thing (Java2D, doesn't support multiple lights)Edit:added multiple lights (not shown in gif):
Click to Play
28  Discussions / Miscellaneous Topics / Re: Interesting Profile pictures on: 2014-08-05 00:56:00
My pic literally expresses the pinnacle of my art skills  Pointing
29  Games Center / WIP games, tools & toy projects / Re: [LibGDX] IsoQuest II: The Game with a name!! on: 2014-07-28 15:38:39
Okay Gave it a temporary name  Tongue

As for the low quality thing, you can change the resolution of the tiles by pressing "b" but it doesn't seem to improve or hinder performance.

30  Games Center / WIP games, tools & toy projects / Re: [LibGDX] Untitled Isometric Game!!! on: 2014-07-28 15:26:31
I'm only drawing and updating tiles within the frustum.
Pages: [1] 2 3 ... 13
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

BurntPizza (22 views)
2014-09-19 03:14:18

Dwinin (35 views)
2014-09-12 09:08:26

Norakomi (62 views)
2014-09-10 13:57:51

TehJavaDev (88 views)
2014-09-10 06:39:09

Tekkerue (44 views)
2014-09-09 02:24:56

mitcheeb (65 views)
2014-09-08 06:06:29

BurntPizza (47 views)
2014-09-07 01:13:42

Longarmx (35 views)
2014-09-07 01:12:14

Longarmx (40 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!