Show Posts
|
|
Pages: [1] 2 3
|
|
1
|
Discussions / Miscellaneous Topics / Re: Crappy Graphics Drivers for Linux?
|
on: 2013-04-28 23:52:04
|
|
Like I said, ATI stopped supporting older drivers for Linux, and as distributions evolve; more and more of them require recent drivers. So if you have an older card, your kinda boned. It may help us help you if we knew what card you have...?
As far as switching JREs, and staying true to openJDK: I absolutely love what openJDK is trying to do and I appreciate how far it has come in a relatively short time frame, but if we are talking about a way to 'instantly' solve an issue (no matter which party is to blame) and get something that is currently broken working again, which is what I thought we were talking/asked about, then I see nothing wrong with my solution.
|
|
|
|
|
2
|
Discussions / Miscellaneous Topics / Re: Crappy Graphics Drivers for Linux?
|
on: 2013-04-25 04:31:48
|
This is my exact situation as well and I was able to solve it, not without headache and diligence, by installing Oracle's JRE, and the proper ATI Catalyst driver. The later is the more difficult of the two, as older drivers are no longer supported by ATI. Run 'lspci' to find out what graphics card you have  then find an apropriate driver from here
|
|
|
|
|
3
|
Game Development / Performance Tuning / Re: Speeding up Minecraft?
|
on: 2013-04-07 16:54:42
|
If you are looking to get your performance back on linux playing minecraft, then you have to drop OpenJDK. If you are on Ubuntu or another Debian based distro here is a tutorial to install Oracle's JDK, which is far superior to OpenJDK. If you are using Fedora or another RPM based distro, go to java.com and simply download and install the .rpm Switching from the default to oracle's increased my performance greatly, better than what I was getting on Windows actually.
|
|
|
|
|
9
|
Games Center / Showcase / Re: Fleet Game
|
on: 2013-02-18 01:09:41
|
|
I just downloaded the Linux version and ran it, here is the exception and stack trace:
Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(Unknown Source) Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at org.lwjgl.Sys$1.run(Sys.java:73) at java.security.AccessController.doPrivileged(Native Method) at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) at org.lwjgl.Sys.loadLibrary(Sys.java:95) at org.lwjgl.Sys.<clinit>(Sys.java:112) at org.lwjgl.opengl.Display.<clinit>(Display.java:135) at FourExample.main(Unknown Source) ... 5 more
so the libraries are not linked correctly on the build path.
|
|
|
|
|
11
|
Games Center / Showcase / Re: Fleet Game
|
on: 2013-02-17 19:12:48
|
I am interested in playing this, but can't because I run a Linux box  Could you package a Linux version, and I am sure all the Mac users here would enjoy a Mac version.
|
|
|
|
|
12
|
Games Center / 4K Game Competition - 2013 / Re: tiny_world
|
on: 2013-02-17 19:06:50
|
|
I lost many an hour to this game! Great job. My only suggestion is to add the cost of buildings, maybe displayed on hover? Perhaps make different buildings cost different resources. If you have room. Otherwise this is an awesome game!
|
|
|
|
|
13
|
Game Development / Newbie & Debugging Questions / Re: Passing events back to Game
|
on: 2013-02-16 15:55:38
|
I normally will create a ScreenManager for this kinda stuff. Your game would have the ScreenManager, and all your screens would be in an list or map of some kind within ScreenManager. All your screens would have a reference to ScreenManager and when you need to switch it may look something like this: 1
| ScreenManager.switchScreen("ScreenID"); |
the switch method in the manager might look like this: 1 2 3 4 5 6
| public void switchScreen(String id) { currentScreen.dispose(); currentScreen = currentScreen.enter(); } |
|
|
|
|
|
14
|
Game Development / Newbie & Debugging Questions / Re: Changing scenes in a game (ex; from map to battle)
|
on: 2013-02-14 00:55:28
|
No one else better known has jumped in and said it, so I will!  We program in an OOP Language (JAVA) if you don't understand what OOP means, look it up (then do some serious thinking about your choice in hobby / career) We have these great things called Classes, and they allow up to group similar data and methods into a logical structure. The answer for hard to navigate, bloated, and confusing code is almost always going to be; "Lets make another class!" /rant For your particular scenario, I would recommend making a abstract class / interface (depends on mood this time  ) which is a state. I am assuming you have an update method and a render method somewhere in your big, giant, monolithic, dresser drawer of a main class. So instead of all your logic and all your rendering for the whole entire game being stuffed into these two (I hope they are separate) methods, simply have these call the current states update and render methods. When you transition from Battle to FinishBattle, simply swap out the current state. I could take another five minuets adding code examples, but honestly I believe in your intelligence, and would hate to insult you by giving you what you can already figure out. If this is not the case simply ask  BTW: Laugh with my words, and don't take offense. I am trying to help in the cheekiest way I know how.
|
|
|
|
|
15
|
Discussions / Business and Project Discussions / Online Space Game
|
on: 2013-02-10 19:31:48
|
For a while now I have thought about making an online empire game set in space. The main influences are online games such as: Cyber Nations
 Cyber Nations is a text based online nation simulator, fun for what it is but lacks any real graphical aspect. The main feature of cyber nations is the alliance system which adds social interactions into the game. Neptune's Pride
 Neptune's Pride is a game about building massive fleets and conquering the galaxy! It has minimalistic research and no built in alliance system which forces players to find other ways to communicate effectively and coordinate efforts. Games can take a few days to a few months to finish depending on the players. And the combat system is simple which makes it easy to play. All in all this game is very enjoyable to play! My idea is to sort of combine the two game concepts in some fashion. To have a persistent empire like in Cyber Nations, but also have a graphical combat system like Neptune's Pride. Perhaps more detailed planet / system management, resource gathering and the like. If this interests you at all, and you would like to work on it reply and let me know. I want to use libGDX's html wrapper for this project, and the code and other resources will be in a BitBucket repository, most likely a public repo. Right now it is just me and my artist buddy working on this.
|
|
|
|
|
16
|
Game Development / Newbie & Debugging Questions / Re: Screen Tearing
|
on: 2013-02-04 06:28:57
|
I just checked out the java docs for BufferedCapabilities, and there is no vsync option there, the only way to get vsync in Java2D that I know of is to use a GraphicsDevice and a GraphicsEnvironment, then set fullscreen and it is enabled by default (I think) Aside from that the first thing you should do is cast your Graphics g into a Graphics2D object 1
| Graphics2D g = (Graphics2D) bufferStategy.getDrawGraphics(); |
|
|
|
|
|
19
|
Game Development / Newbie & Debugging Questions / Re: Screen Tearing
|
on: 2013-02-04 06:01:53
|
What graphics lib are you using? I am assuming it is Java2D, yes? If you are, then take a look at BufferCapabilities (off the top of my head) not sure if there is an option there or not, I haven't used Java2D in a long time.  Other than than, with my quick scan of your code, I didn't find any logic errors.
|
|
|
|
|
20
|
Game Development / Game Mechanics / Re: Particle Engine Physics
|
on: 2013-02-04 05:50:28
|
Pro tip #64: If you want help with code that isn't working how you expect it to work, then showing that code is very helpful. This does two things for us, the ones helping you. First it shows us what you have already, what you still need to implement, and exposes any logic errors you may have. Second, and in my opinion the most important, showing us your progress proves that you are actually working on solving the issue on your own, and are not just posting in hopes of free copy-paste code. Pro tip #128: Avoid at all cost the Double-Post-of-Doom  On a personal aside; expecting a lot of answers to a vague question over the course of 3 hours is a little unreasonable, given that this community if comprised of individuals from all over the World. Edit: I don't sugar coat anything 
|
|
|
|
|
23
|
Discussions / General Discussions / Re: Super Linux Expert Help Required!
|
on: 2013-01-26 21:44:12
|
It seems that all you need is the correct version of java (64 bit version) what Linux distribution are you using? Ubuntu? Mint? Fedora? If your on an RPM based distribution like Fedora, then Oracle provides a 64 bit version as an .rpm. If you are an a DEB system like Ubuntu or Mint, then you have to do it the long way and extract and set up the tar.gz yourself. Which isn't really that hard, but may be confusing for n00bs. Here is a good walk through if your on DEB. https://sites.google.com/site/easylinuxtipsproject/java
|
|
|
|
|
25
|
Games Center / 4K Game Competition - 2013 / Re: [WIP] 4096 A.D.
|
on: 2013-01-09 15:40:25
|
|
It must be just you. I can see all of its pixelly goodness! Really cool game. Though, if you can fit it within the size requirement, you should add keyboard input to move the player. Using the mouse to move is really annoying and anti-intuitive. But I love the particle effects and the destructible planet! Very pretty.
|
|
|
|
|
26
|
Game Development / Newbie & Debugging Questions / Re: File loads in eclipse but not in a runnable .jar [unsolved]
|
on: 2013-01-09 05:52:26
|
|
This might not help at all, as you said the images loaded fine, just not the midis; but...
Did you add your res folder as a class folder? (java build path, libraries, add class folder)
Did you tell eclipse to export your res folder to the jar? (java build path, order and export, check res folder)
Finally did you tell eclipse to bundle libraries with your jar when it generated it? If not users would need your jar file, plus a resources folder in the same directory.
Like I said, might not help (or you already did these) just didn't want something simple to be overlooked on accident.
|
|
|
|
|
28
|
Discussions / Miscellaneous Topics / Re: Linux and Dev?
|
on: 2012-12-08 16:13:49
|
|
I have been using various Linux Distros as my main system for years now. When I saw this post, and your mention of the AMD graphics card I feel I must give some advice.
AMD and Linux go together like balloons and tacks... I have an AMD HD Mobility 4200 discrete graphics card in my laptop (primary computer) and finding stable drivers for it has been a nightmare! ATI/AMD have dropped support for this card, as it has been fully optometry (their words) and only release patches for there old driver. This older driver only officially supports Linux Kernel version 3.4.x.x and Xorg 6.9 (I hope you know what both of those are) So to use their driver you have to keep your system honorably out of date. (Current Kernel version is 3.6, and Xorg is 11) or use a rebuilt driver for your kernel version. Which is kinda unstable. I will say from experience that, for AMD cards, Ubuntu and Linux Mint are the only major distros that the AMD driver will work with. Fedora and OpenSUSE are completely out.
I would check what card you have and look around to make sure it works on the Linux distro your thinking of installing. I wish you more luck than I had.
I currently use Linux Mint 13 Maya, and I have the AMD 12.6 Legacy Driver working. I don't know if I am daring enough to upgrade to Mint 14 yet...
|
|
|
|
|
30
|
Discussions / General Discussions / Re: Plan out or Dive In?
|
on: 2012-10-24 01:55:25
|
|
I just got a whiteboard for my 'office' and I don't know what I ever did without it! My next game is all drawn out in diagrams and trees... helps me stay focused and on task, scope creep has always been an issue with me!
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|