Jump to content
SubSpace Forum Network

Recommended Posts

Posted (edited)

Going to go ahead and clean OP...

 

Added poll for the name.

 

Here is a example image of what has already been done thus far:

http://i559.photobucket.com/albums/ss31/XDreamersMS/Continuum/Aphelion/Screenshot-1324327159377.png?t=1324327175

 

 

 

Will Implement a roadmap sometime soon. (todo list).

Edited by jabjabjab
  • Replies 391
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

The problem with java isn't the memory. It's the lack of client side protection. You won't be able to stop cheaters without introducing a hell of a lot of lag by making everything server side.

 

If you're really clever you may be able to minimize the impact of this, or you may not be able to.

Posted

Ehh, true.

 

But then again, what is a game to protect without it's people (Im not saying im going to finish this, Im just stating that if something was to be had, it would be better than stagnating in security)

 

But honestly, I don't want to turn this topic into a discussion about something weighing pro's and con's and what not. I just want to do something different for a change.

Posted (edited)

I've used lwjgl for 2D stuff and it is not incredibly hard.

 

Anyhow, the big thing to avoid in java is massive object creation in hot spots.

Edited by JoWie
Posted
Well I have my little 800x600 window of blank space flying a warbird with workable thrust, magnitude, collision of the borders and slowing down using booleans, and Am working on energy and weaponry atm.
Posted

http://i559.photobucket.com/albums/ss31/XDreamersMS/Continuum/ScreenShot.png?t=1314604233

 

Moving everything over to a stable timer thread to keep the data from slowing from render ticks.

 

Im also having an issue involving pressing more than one arrow key. Anyone know where to point me to fix this?

Posted

public class Main extends JPanel implements KeyListener, Runnable {
boolean isUpPressed, isDownPressed, isSpacePressed;
static JFrame f;
public static void main(String[] args) {
   	f = new JFrame();
   	f.setSize(600,300);
   	f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
   	f.setContentPane(new Main());
   	f.setVisible(true);
}
public Main() {
   	setFocusable(true);
   	addKeyListener(this);
   	new Thread(this).start();
}
public void keyTyped(KeyEvent ke) {
}
public void keyPressed(KeyEvent ke) {
   	switch(ke.getKeyCode()) {
       	case KeyEvent.VK_UP: isUpPressed = true; break;
       	case KeyEvent.VK_DOWN: isDownPressed = true; break;
       	case KeyEvent.VK_SPACE: isSpacePressed = true; break;
   	}
}
public void keyReleased(KeyEvent ke) {
   	switch(ke.getKeyCode()) {
       	case KeyEvent.VK_UP: isUpPressed = false; break;
       	case KeyEvent.VK_DOWN: isDownPressed = false; break;
       	case KeyEvent.VK_SPACE: isSpacePressed = false; break;
   	}
}
public void run() {
   	while(true) {
       	try {
           	String s = "up pressed: " + isUpPressed + ", down pressed: " + isDownPressed +
                   	", spacePressed: " + isSpacePressed;
           	f.setTitle(s);
           	Thread.sleep(200);
       	} catch(Exception exc) {
           	exc.printStackTrace();
           	break;
       	}
   	}
}
}

 

sauce: http://ubuntuforums.org/showthread.php?p=9285209

Posted (edited)
tm_master told me he codes java for a living. He said he works on all those java updates your computer needs. Java 6 etc. He works for the actual company. Maybe you can ask him if you need any tips. Plus I am curious if he actually knows anything. =) Edited by Avast
Posted

lol @ oracle.

 

 

What I do know is this: I can do some major obfuscation to the class file compilations.

 

Im actually pretty damn good from bringing code from obfuscation level, though this takes a severe amount of patience, is possible, but if you dont know what your doing you will fail bad at it.

 

I taught myself how to do this by doing minecraft in a decompile (the classic, and it was harder) but no I do know a little about the obfuscation world.

Posted
Security by obscurity is not good enough, you need to implement proper security measures. Anyway, do what you think is right. You'll likely not use Continuum/Subspace encryption as that will be more of a ball ache than getting ASSS to work with your client. If that's the case then security is something you can think more about once you get to that hill.
Posted

Well I have the multiple keys working now.

 

I dont want this to be moved to the dev forum because this forum gets most activity btw.

 

When I get the weapons working, I will throw a jar out there for silly proof of work and not photoshops :p

Posted

Working on the Font Engine now.. woot.. (/kills self)

 

if you want to see what it looks like atm, http://pastebin.com/7YEedQ0X

 

I've completely moved off the rediculous render update method (which lags when a load is heavier) and duped the delta int method from the API so I could retain this in my update thread.

Posted

Im having a tough moment right now...

 

When I applied the settings for the ships using a cfg, everything just went whack, so I tried to weigh down the equations to suit a ship, then jump to the next one and try to fix this to where I could just weigh the settings to make identical with continuum's physics.

 

Unfortunately, Im having a lot of issues trying to do this. I think my method of moving the ship around isnt right. I may need to recode this. Dunno... Im using X, Y, MagnitudeX,MagnitudeY, and rotation of 40 from 0-39 and going back to 0 or 39 depending on rotation. I dont know why I'm not using the vector libraries java has, but I think doing it this way is fine..

 

I think It's just the type of ticks im using... Im just updating a variable asking if it is greater than 0, then subtracting it, and when it is 0 to do the action. I think I have this idea wrong....

 

 

Other than that, I have all the settings loading from a cfg into variables in the SettingsManager class I've made.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...