Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
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 ... 10
1  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > Now on Steam! < on: 2014-12-12 06:15:26
seems like there was "another way" to get gems, the auction just got taken down, because of people duplicating gems.
2  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > Now on Steam! < on: 2014-12-12 06:03:21
bought 50k gems from the market for $1.50, I had $1.57 in my steam wallet Smiley

36k gems left over still, not sure what to get or if I should buy more Tongue

gems are currently going for $0.03 USD (lowest possible amount) for 1000 gems, 50k gems = $1.50
3  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > Now on Steam! < on: 2014-12-12 05:48:37
you seem to be right.

according the FAQ the bid is the max you want to spend, and steam will automatically increase

Quote
Can I place a "max bid"?
Your bid should be the most you are willing to spend. Steam will automatically increase your bid up to that amount to keep yours the highest bid. Steam will never exceed your bid unless you increase it.

from what it looks like, steam puts it to the next nearest 100 gems
4  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > Now on Steam! < on: 2014-12-12 05:32:10
looks like you have a bot bidding on your game, every time I try and get into #1 spot, the bot has put 100 more then me before I even see my name as the highest bidder!
5  Discussions / General Discussions / Re: am thinking of getting this PC, for both gaming and developing on: 2014-12-10 07:30:33
@Catharsis

I chose that motherboard over a full size one, as it was the cheapest motherboard that supports overclocking.

To my research on the G3258, there was really only one motherboard that allowed overclocking, but ASUS released BIOS updates to allow overclocking because of the release of the G3258. I believe the one I chose allows overclocking, and if he overclocked the G3258, he would for sure benefit a lot more.

A lot like to overclock the G3258, so it should be really easy to find a guide to get a stable overclock.

So the motherboard I chose was more to get the maximum power possible. if philfrei will for sure not overclock the CPU (I probably recommend at least looking up guides and deciding if you think you could do it), you could save around $20 and go for a cheaper board, that will most likely not support overclocking.
6  Game Development / Game Play & Game Design / Re: Enemies Movement... How ? #TerrariaExample on: 2014-12-09 09:43:58
That would be really easy in a way,

Just have no path finding for the mob. check for collision and it will bump out, and just set a negative velocity.

so it will never know if a wall is in front of it, but if it hits it, it will bounce back.

EDIT: fixed it up, wrote character instead of mob
7  Discussions / General Discussions / Re: am thinking of getting this PC, for both gaming and developing on: 2014-12-09 06:12:25
http://pcpartpicker.com/p/xpyPYJ

That should be a lot better, and probably the best you can get for $450 (well, $490, but $45 in rebates).

That motherboard I think lets you overclock, I believe a lot more motherboards got updates to allow for overclocking to use for the G3258, but you may have to update the BIOS to get it to overclock.

if it is to much, you could scale down a little on the GPU, and save a little bit.

EDIT: Oops, looks like I forgot to put a case, you could either reuse your case on your current PC to save some money, or press Edit on the page, and choose a case, you can sort by cheapest to find one. probably be about $500 after rebates, so you may want to scale down on the GPU to something like a Radeon  r7 260x, or down to the GTX 600 series (where you could get a GTX 650 for like $60).
8  Discussions / General Discussions / Re: am thinking of getting this PC, for both gaming and developing on: 2014-12-09 05:44:38
I recommend you use: PC Part Picker

All CPU's can be a minecraft server really, im sure the Intel Pentium G3258 at $60 could probably run one.

the Intel Pentium G3258 dual core CPU may be a good option if you really don't want a good CPU, at around $60 and can be easily overclocked up to about 4.5ghz if you get the motherboard that allows overclocking. People compare it to the Intel i3 or i5 (cant remember which one) when its overclocked and it gives a great fight for its really cheap price.

That 750 TI, I saw one for like $128 on pcpartpicker, and it came with a $15 rebate, so it was even cheaper.

If you want the i3 dual core, I would seriouesly maybe take a look at the G3258 if you want to overclock it to get the best for your money, there should be a lot of tutorial or even videos for overclocking it, just do a little research before you buy it.
9  Discussions / General Discussions / Re: am thinking of getting this PC, for both gaming and developing on: 2014-12-08 23:48:23
I would wait too, saving between $100-$200 USD more, and you could get a way better computer, in pretty much all areas.

an FX 8320 CPU (3.2ghz (or 3.6?) 8 core CPU)
8gb RAM
GTX 750TI (or could go for the r7 260x which would save you around $30 depending on which one you get)
1tb HDD

which would cost around about $600, maybe little more / little less.

but if you are able to I would hold off to get a better computer that will last a bit longer.
10  Java Game APIs & Engines / OpenGL Development / Re: LWJGL 3; how's it getting along? on: 2014-12-08 06:06:10
Just a note about one line of code that is wrong in the Guide:

at line 41:
1  
glfwSetErrorCallback(errorCallback = errorfunPrint(System.err));


should be:

1  
glfwSetErrorCallback(errorCallback = errorCallbackPrint(System.err));
11  Discussions / Miscellaneous Topics / Re: The C family, should I dig deeper? on: 2014-11-13 22:52:21
Learning assembly and C in college right now, I'm absolutely loving it. C really is a portable assembly language, there's very very little syntax sugar which makes it simple and beautiful. I'll be doing much more C now and C++ soon!

I just learnt C++ Tongue and had my final on Wednesday that just past.

We learnt java then C++. going from Java to C++ was kinda big step to begin with, but after you actually start its fairly easy lol, I seem to be able to learn programming languages really fast once I get into a course that we learn a new language.
12  Games Center / WIP games, tools & toy projects / Re: GNetLib V0.0.0.2 (A Simple Java Networking Library) on: 2014-10-20 03:23:49
you could give support for returning a string anyway by simply changing void to String

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
String print(final String message)
{
   if (debugging)
   {
      System.out.println("GNetServer -> " + message);
   }
   
   return "GNetServer -> " + message;
}

String printERR(final String message)
{
   if (debugging)
   {
      System.err.println("GNetServer -> " + message);
   }
   return "GNetServer -> " + message;
}


now, if the user has debugging mode off, he can still gather the messages as well.

for the 4 line change, it is probably worth it more to satisfy the users in all scenarios.

maybe they want to filter the messaging system, by only displaying messages in the text area that are important to the server host, e.g. someone connected, someone disconnected.
13  Discussions / Miscellaneous Topics / Re: Free or cheap java hosting for my server? on: 2014-10-12 01:38:20
you would buy the OpenVZ VPS from them.

install Putty

Connect via putty

upload your .jar to a webhost

download java onto the vps

create a folder on your VPS

wget your .jar file

run the jar file like you would through a command prompt.


how to connect? they will give you a IP, so you can connect via the IP or you could buy a domain.
14  Discussions / Miscellaneous Topics / Re: Free or cheap java hosting for my server? on: 2014-10-12 01:31:03
also, check out the Github student pack if your a student.

they have a $100 worth of hosting for digitalocean I believe, not sure if you can run java applications on it or if its just a webhost.

https://www.digitalocean.com/
15  Discussions / Miscellaneous Topics / Re: Free or cheap java hosting for my server? on: 2014-10-12 01:26:55
123systems.net

I would say its probably the best for the price, iv had days where its been laggy, but for the price I don't think you can really complain.

can be as little as $9 a year.

If you are just going to have a small amount of people on the server and its not commercial product, or really relied upon to work, then I am pretty sure 123systems will probably be enough for you.

I have had 2 years of hosting with it, when the server lags, its usually fixed for sure the next day. and that is mostly hosting a minecraft server when I am not using the server for my use for a friend. they will complain and be like restart the server, its laggy, sometimes restarting it fixes it, or i just tell them it should be fixed tomorrow.
16  Discussions / General Discussions / Github Student Pack on: 2014-10-12 00:57:49
I just found this out last night, I haven't seen anyone post about it on here, so I thought I would share so you don't miss out on it.

https://education.github.com/pack

You just really need to add your edu email address if you have one, and you should get automatically approved.

I believe if you don't have a edu email address, you just have to upload some other kind of proof.

notable things included:
Unreal Engine 4, github micro account (5 private repos), a .me domain, cloud host
(from digitalocean, $100 worth)
17  Discussions / General Discussions / Re: FlipFlop - Examn f(CLK) on: 2014-09-15 04:11:19
we never did questions like this, so I tried to adapt questions that we did to this.

From google searching you are right. its Frequency division. which we never learnt about.

So sorry Longarmx, but I think this full theory could also help Andre Lopes, in the understanding of how JK Flip Flops work.

so the correct answer is actually 3.75 Hz. (which from my little research only works for toggle flip flops I believe? (where a JK flip flop with J and K both are 1 is a toggle) )

and all my replies is on how Toggle works in a JK Flip Flop.
18  Discussions / General Discussions / Re: FlipFlop - Examn f(CLK) on: 2014-09-15 03:52:47
the clock is not required, as the clock only means how often it is executed, in this case it is a falling edge executed, and by the little timing diagram, is it executed straight away.

there for the JK flip flops are currently active.
19  Discussions / General Discussions / Re: FlipFlop - Examn f(CLK) on: 2014-09-15 03:49:55
I believe it would be 5 defined by a high = 5Hz and low = 0hz,

where 60Hz is a high, so it starts high, goes low, goes high, goes low and finishes on the last flip flop as a high.

now work out what the value of a high is.

By what a flip flop does, at J = 1 and K = 1, the value is flipped between high and low.

Also, i just worked out the answer.

the clock is 60 Hz (non required information).

we have 2 possible answers, if we start at a low, we will end with a low, if we start with a high we will end with a high.

No answers are low ( 0 Hz), so it starts as a high, and finished with a high.

at no point does it say what a high is (at least not in english).

One of the standard is like 0 hz and 5hz i think, so, high = 5 Hz, and low = 0Hz.

possible answers are

0hz (starting as a low)

5Hz (starting as a high)
20  Discussions / General Discussions / Re: FlipFlop - Examn f(CLK) on: 2014-09-15 03:41:08
Longarmx: By the answer, you are still wrong though, as the answer is 5Hz (marked by red).

also there is 4 JK flip flops, so the answer would be 7.5Hz (by your definition).

We never really had a question like this, we answered if the output was high or low, or a timing diagram.
21  Discussions / General Discussions / Re: FlipFlop - Examn f(CLK) on: 2014-09-15 03:32:36
like I said it is badly written.

The output should be what the input theres no answer for 60Hz.

so I assume default high in that circuit is 5 Hz. so a high in the circuit is 5, and a low is 0.

on the outputs of each of the JK flip flops will be

JK (1) = low (toggled from a high to output a low)
JK (2) = high (toggled from a low to output a high)
JK (3) = low (toggled from a high to output a low)
JK (4) = high (toggled from a low to output a high)

as the output just toggles between high and low, because when both J and K are high, it makes a toggle.

by the answer, I am assuming high = 5Hz, and low = 0hz.

JK (1) = 0hz
JK (2) = 5hz
JK (3) = 0hz
JK (4) = 5hz

You shouldn't be sitting an exam you know nothing about. circuits can get complicated very fast, especially when you start using flip flops. But if you know the theory behind it, it is a very easy class (at least at my uni).
22  Discussions / General Discussions / Re: FlipFlop - Examn f(CLK) on: 2014-09-15 03:19:23
JK Flip Flops:

if J and K are both 0, then theres no change.
if J = 0 K = 1, its a reset
if J = 1 K = 0, it is a set
if J = 1 and K = 1, it toggles (light a light switch, if its on, then it becomes off, if its off then it becomes on).


so were using toggle always.

its starts at 60 Hz, then it gets ouputted as 0, it goes in the second JK flip flop, and becomes 5 (very badly written question, it makes you assume you know the voltage that is supplied). the third JK flip flop makes it a 0, and the fourth returns it to be ouputted as 5.

therefor the answer to the question is 5 Hz.

How the answer is 5 Hz, well I cant read your exam, so I cant tell if it says what the voltage supplied to all circuits is, or if you got taught to always use a certain voltage.

EDIT: If I had to answer the question as non multiple choice, I would of probably wrote 60 Hz.
23  Game Development / Newbie & Debugging Questions / Re: Voxel game bad-ish fps on gaming computer and high fps on laptop!?! on: 2014-08-18 10:54:03
bind your block textures before you start your chunk rendering.

once its bound, the texture coordinates you pass in have to be a value between 0 and 1.

coordinate (0, 0), being the top left, and (1, 1) being the bottom right. so you need to find out the coordinates of where each block is on your texture.

chances are you could probably even combine your enemy textures into the same file, even if they are different sizes to your blocks, some extra code for the texture coordinates for mobs (if required), and you could do it all in one texture bind.
24  Game Development / Newbie & Debugging Questions / Re: Voxel game bad-ish fps on gaming computer and high fps on laptop!?! on: 2014-08-18 10:39:04
if you are using immediate mode rendering, then that is your problem, and if you want to make a 3D sandbox game, you should probably look into VBO's.

Though, there's still a small chance you could improve performance.

make sure you only start one draw call ( GL11.glBegin() and GL11.glEnd() ). you want as little as those calls as possible, and have all your textures in a one texture, so you don't have to keep rebinding different textures.

if you have already done that, then either make your world render less blocks, or exactly what you should do, learn a more modern OpenGL approach.
25  Game Development / Newbie & Debugging Questions / Re: Bullet shooting in mouse direction on: 2014-08-10 05:36:58
or if you don't want to use ClickListener, you could do something like

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
   boolean hasReleasedMouse = true;

   public void shoot(){
      if(Input.mousePressed){
         if(hasReleasedMouse){
            hasReleasedMouse = false;
            //shoot
         }
      }else{
         hasReleasedMouse = true;
      }
   }
26  Games Center / WIP games, tools & toy projects / Re: Jumproom on: 2014-07-30 13:41:18
It also does the same thing for the Galaxy S5, screen rotates, and it hangs for like 5 seconds when i open the recent apps to exit out of it, pressing the home button while in the recent apps has another like 5 second hang.
27  Discussions / General Discussions / Re: BrickBroken2 ? SLDT's GameEngine ? on: 2014-07-25 10:44:21
First of all, you shouldn't ask this community if we want you to make BrickBroken2, we are a forum filled with Developers, if you really want to know if there is a community for BrickBroken2, another website would be the best, as the chances are this site wont have a heavy community for your game, especially when to create a account you need to know a little about Java, or you will probably get scared of the activation quiz.

But in my opinion, if you like BrickBroken, and you really want to make the game, create it, post it on here, and improve from the feedback, but ONLY IF YOU WANT TO DEVELOP IT. if you do not want to, move on to your next game idea, if it is something you really want to make, the chances are its going to be a much better game then the game you don't want to develop.

The only time you should develop a game you do not want to make is if you are contracted with someone to develop a game for them (and I would find out about the game they plan before even accepting the contract, as you may not be able to deliver the project they require), and this is definitely not that scenario.

You mentioned you made a Scrabble game with your new engine, why don't you post it to show off what your game engine you made is capable of? Maybe you could extend on your Scrabble Game, and turn it into something more advanced and polished.

If you want someone to use your game engine you create, put it up on github or provide a link for someone to play around with, we do not know if we want to use a game engine that we only know has rendering (what type of rendering? is it OpenGL? Immediate Mode? VBO's? ), input and new features (what are these features?), until we know what exactly it is and how it helps to develop a game and examples of what it can achieve, the answer is probably no.
28  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-07-24 11:56:51
Tune Locks 2

A sequel to my Ludum Dare game "Tune Locks" for LD26.

EDIT: Link to my Tune Locks LD26 Entry
What the player can see without placing down lights:


When the player places lights down:


It it not all done today, I have been working on it for ages, now and again on and off. For a long time, it turned into my "tech demo" where I was just updating the rendering to VBO's, and trying to get more performance, as well as playing with shaders.

The game started out with just Immediate Mode rendering, then I learnt how to do VBO's more, so I changed the rendering. Then it became my text rendering test. I then decided to learn more about shaders, so I had to learn how to send the VBO data to the shader, and started to learn how to create lights.

By about the time that I learnt all of those, I set the project as "tech demo", planning to never finish the game, but use the current state to just learn new stuff. University started shortly after, and I didn't do much for a while, other then redo my text rendering, it is definitely not great, but idea was, lets just get text working, how ever ugly it looks, then polish it later, not just the code, but the image for the text is definitely not great and some letters are to far over, or to far up.

I then improved on the rendering again, fairly recently (within the last 2 or 3 weeks), I use to cap my lights at 10 or 20, because I would started to get like 300 FPS, down from like 2500 FPS with like 2 lights, and any more it would just go down a lot more. By the time i fixed the rendering, I was getting about 5000 FPS with 2 lights, and 300 FPS with about 126 lights. I can probably increase it a bit better, at the current state, the light is not limited to a certain distance. As well as making the puzzles a lot more easier and cleaner to implement into the game.

What I have done today, and yesterday was removed the limitation of having the level restricted to 32x20 pixels, as well as made the camera follow the player, but not go past the edge of the level, the player will stay in the middle until the camera locks to the side, then the player can gets unlocked until moved in the opposite direction to unlock the camera. I have also decided that I am going to remove it from my "tech demo" and try and finish the game, I have always wanted to, but never got around to it.
29  Game Development / Newbie & Debugging Questions / Re: How to reset the game ? on: 2014-07-19 13:50:12
If you want to reset a game, you don't want to "close the game" and restart it within the application.

To achieve the reset, just reset any variables back to the default.

I am going to assume you have an array of aliens, where you first put the aliens in the array, you could put it into a new method

1  
2  
3  
4  
5  
6  
7  
8  
9  
   public void createLevel(){
      aliens = new Alien[levelSize];
      for(int i = 0; i < levelSize; i++){
         alien[i] = new Alien();
      }
     
      //recreate or have a method inside player to change it back to the default values
      //and anything else you need to create for your game level
   }


something like that, and you can create new levels of any size pretty fast.

Edit: Ninjad, I hate formatting inside the post, so I always open up eclipse to format Sad just as i finished the code you posted it, but it was to much effort to delete!
30  Game Development / Performance Tuning / Re: Efficient Fog of War on: 2014-07-02 13:26:42
I am assuming it is 2D.

First of all, you shouldn't need to search through every tile, you should just check the tiles being rendered on the screen.

you can just recheck the fog of war when an actor moves.

you could only update the fog of war in locations where an actor moves, instead of checking every actor within view every time it updates, you could have only the tiles around the actor to update.

if your using shaders, you could just send an array of vectors, and create lights around the points, with the rest of the tiles being black / darkened.
Pages: [1] 2 3 ... 10
 

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (35 views)
2014-12-15 09:26:44

Mr.CodeIt (26 views)
2014-12-14 19:50:38

BurntPizza (57 views)
2014-12-09 22:41:13

BurntPizza (92 views)
2014-12-08 04:46:31

JscottyBieshaar (52 views)
2014-12-05 12:39:02

SHC (68 views)
2014-12-03 16:27:13

CopyableCougar4 (70 views)
2014-11-29 21:32:03

toopeicgaming1999 (130 views)
2014-11-26 15:22:04

toopeicgaming1999 (121 views)
2014-11-26 15:20:36

toopeicgaming1999 (34 views)
2014-11-26 15:20:08
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

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
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!