Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (489)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (555)
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 ... 16
1  Discussions / General Discussions / Re: Performance Test for the Voxel Thing on: 2014-09-01 11:11:13
58 fps
Lots of stuttering.
2  Game Development / Newbie & Debugging Questions / Re: Noob questions: Bitwise operators in screen movement on: 2014-09-01 10:55:42
Hmm I just thought of this so , depending on which endian you use if I were to shift 00000001 >>1 would it be 00000000 or 10000000?
3  Games Center / WIP games, tools & toy projects / Re: Airships: Conquer the Skies on: 2014-09-01 09:37:23
I have an idea for your boarding , you could either A: Have a marine cannon that shoots them into the enemy ship or B: have a little bay that sits at the bottom of the airship where the marines jump out and get little parachutes , they then float toward the enemy . Of course for B to work you would need to ensure that you were high enough up.
4  Games Center / WIP games, tools & toy projects / Re: Praxis LIVE v2 - live visual / coding env - request for testing / comment on: 2014-09-01 08:36:14
Ok thanks , ill have a play around with it when I wake up Smiley
5  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Nightmod - Rapid development live-coding game specific IDE on: 2014-09-01 08:35:11
I can sort of understand the syntax but I think if you are trying to make a rapid development language then you should probably make it rapidly understandable aswell.
for instance
1  
2  
3  
4  
5  
6  
7  
(File = "foo.clj")...
   (func(int a , string b))...
        (?(a>b))...
            print(b + a).
        ...
   ...
...

In that example its very obvious whats happening.
I do like the amount of code compression , what about creating a VBO ? if it can do that ofcourse   Tongue
6  Game Development / Newbie & Debugging Questions / Re: Noob Questions From Nickropheliac: Ive been practicing for 2 weeks and... on: 2014-08-31 23:24:37
4 years here , I started out a bit like you thinking it wouldnt take took long , even some of the newbie threads here I look at them and just go what on earth. But you also have to understand that as you move into programming some areas you will be very strong at and some areas you will be weak at , some of the threads I look at that I have no clue at whats going on is because its an area of java that just boggles me . Like polymorphism , when you first see it you go what on earth but when you get to use it you realise how useful it is.
7  Games Center / WIP games, tools & toy projects / Re: Praxis LIVE v2 - live visual / coding env - request for testing / comment on: 2014-08-31 22:33:33
Saw this and just thought it looked awesome . Definitely going to use this.
8  Discussions / Miscellaneous Topics / Re: Do you recommend a break on: 2014-08-30 23:24:20
Im on a day break at the moment , usually what happens is ill play a game , then when I die ill program for about 2 hours , implement some extra awesomeness then return the game oblivious to the fact my fingers were moving so fast that charlie sheen would be proud.
9  Game Development / Newbie & Debugging Questions / Re: Data structures for large arrays on: 2014-08-30 22:19:01
I'm not one of the experts here at all, but FWIW a few things I thought:

  • 1 million x 20-byte objects doesn't seem a lot of memory really. In what way were you worrying about inefficiency?
  • If it was me I would definitely take the animation info out and hold it in animation objects, and only manage animations for tiles on the screen.
  • Do you really need the x and y in there? Maybe most access to Tile objects will be via addressing by x,y into the array anyway, in which case you know x and y.
  • Only keeping the visible tiles in memory sounds iffy. What if you want to zoom in and out? Also won't regenerating from disk all the time lose any dynamic information that's been added by player actions?
  • For me a Tile object is the way to go though purely from an OO point of view, I mean Map and Tile are the obvious objects that surely any tile-based game has!? Even if you later come back and compress the map data as part of a tuning exercise.


So the issue is that  5000 * 5000 = 25000000 , thats a lot of memory in terms of java , even if it is just 20 bytes thats *searches for phone *cannot find phone , over a quarter of a gig of data, which is a lot considering all we have done is load in a map . If you want to zoom out you simple change the memory read search preferences.
Hes storing an animation id (smart I hadnt thought of that  Smiley) which is a short.
Whats happening is all the information that is in view and a bit thats further out (to avoid tearing etc) is loaded into main memory , what happens is its edited here and then when its out of view its stored in the secondary memory along with the new player data. There is no constant regeneration simply reading and writing whats not seen back to memory.
10  Game Development / Newbie & Debugging Questions / Re: Handling movement on: 2014-08-30 22:10:48
To be honest if you know the distance from the point to the player then its much more efficient to just figure out the DX and DY through the equation of a straight line y = mx where m is the local variable in a loop , x is the gradient (Playery - pointy)/(Playerx - pointx) and y is y of course. If you then wanted to apply this to transforming your player position you would do transformfunction(m,y); As m is the increment and y is being increased by the increment * gradient. For implementing speed you would for example
1  
2  
3  
4  
float gradient = (Playery - pointy)/(Playerx - pointx);//calculate the gradient
for(int i = 0; i < (Playerx - pointx); i+=speed){//only go on for the distance (you might want to add checks because of that speed variable.
   transformfunction(i + Playerx,(i * gradient) + Playery);//apply the transformation.
}

11  Game Development / Newbie & Debugging Questions / Re: Data structures for large arrays on: 2014-08-30 16:38:48
You got it.
12  Games Center / WIP games, tools & toy projects / Re: SOLIS on: 2014-08-30 14:33:27
hmm google usually  just lets you share the folder
Download
13  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > Building Mechanics and AI < on: 2014-08-30 09:46:58
mind if I ask how you store the map data? do you use tiles or represent each tile with a data value?
14  Game Development / Newbie & Debugging Questions / Re: Data structures for large arrays on: 2014-08-30 09:46:02
Well you wouldnt be rendering it all at one time would you? so you load it in from secondary memory as required and then save the new data , so you have chunks of the map (2d I assume) so say only 256 by 256 tiles are visible but the player can move 5 tiles per tick then you need to have the next 5 tiles outward loaded but the rest can be stored on memory.
15  Game Development / Newbie & Debugging Questions / Re: LWJGL 3D I want to create a 3d game on: 2014-08-29 23:19:25
Ok that does look interesting , what are the performance comparisons ?
16  Games Center / WIP games, tools & toy projects / Re: SOLIS on: 2014-08-29 23:01:04
First toy released , very simple just a basic block placing system with functional inventory and GUI , --->https://drive.google.com/folderview?id=0B48ywWBymi3OUnV1RDFMX2l3SUk&usp=sharing

Also main post updated
17  Discussions / General Discussions / Re: Icebucket challenge ??? on: 2014-08-29 16:34:16
ALS is not that deadly of a disease , it only really effects people who are already at an age when its difficult to perform normal tasks anyway.

?

ALS can begin at any age as far as I am aware, and it most certainly IS deadly as your chance of a fatal hearth-failure is very high.
At least thats what my mother told me about ALS and what it does.
(And she should know what it does because some of her patients have it)

Or am I (and my mother) wrong?

- Longor1996
No you are nto wrong , my wording went a bit off there I meant its not as widespread or severe as other diseases , even looking at the values themselves almost a 100x more people die because of heart disease and yet the funding is only twice the amount of the funding for ALS .

Of course you should donate , dontating to any charity is good because it will always help someone , my point is that dont throw the money at one problem , it wont solve the rest. You should give money to ALS to Heart disease to cancer to unicef because it helps people but just giving all the money to one place leaves the others at difficulty, however going onto heart disease which is sometimes caused by people with things such as obesity and smoking whereas having ALS is currently not known to be caused by any human controllable factors.
18  Discussions / General Discussions / Icebucket challenge ??? on: 2014-08-29 15:23:14
So there has been a lot of icebucket challenges going around , over a million to be slightly more precise , however the question I want to raise is that firstly are we dontating to the correct charity  and secondly pouring ice with water is not the best way to do things  Wink . So for the first one : ALS is not that deadly of a disease , it only really effects people who are already at an age when its difficult to perform normal tasks anyway. More obvious charities to donate to would be ones for heart disease , this is currently one of the biggest killers in the western world and yet recieves moderately low funding compared to things such as breast cancer. 2: if you are going to pour something over your head to show that you care , add some form of absorbant salt to it, Drops the temperature hugely , if you are really going to do it though then use dry ice or if you are really daring use some liquid nitrogen.
19  Games Center / WIP games, tools & toy projects / Re: SOLIS on: 2014-08-29 11:24:35
Basics of construction have now been implemented , just need to fix up resource consumption and camera position.
20  Game Development / Newbie & Debugging Questions / Re: Trouble rendering using BufferedImage, pixels and for loops. on: 2014-08-29 00:02:36
So you cannot do this with pure java , I found this out. The best way to do this efficiently is to use OpenGL or librarys such as libdgx or LWJGL. There are a lot of tutorials out there.
21  Discussions / General Discussions / Re: Performance Test for the Voxel Thing on: 2014-08-28 21:40:39
61fps
I7 4700hq
GTX770m
6gb ram
22  Games Center / WIP games, tools & toy projects / Re: SOLIS on: 2014-08-28 17:06:18
Reading through your features, you sound like an avid EVE Online fan :p.
I gave eve online a go and found it just overwhelming, but also that the ships were not editable and you didnt have crew. I am to have entirely controllable crew with internal resources, research , training and weapons etc.
Ive been working on programming the inventory:


Currently im at the stage were annoying bugs are appearing , the kind of bugs that require commenting out single lines of code.
23  Discussions / Miscellaneous Topics / Re: How often do you code on: 2014-08-28 11:00:55
Ive been getting the urge to do more coding at the moment , when you start programming after a long break its daunting and you don't really want to , but when you get back into it , it's really enjoyable and you find lots of projects to work on. I currently have the urge to learn c++, you know for funsies.
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-28 10:58:20
1: Theres no textures as such here, the shadows are just voxels that have changed colour based on them being in shadow of something else. It's a fixed shadow direction right now.

2: Not sure what you meant on this one, again, no textures, they're just little blocks shaded.

Cheers,

Kev
2: for this one I mean the shading on the voxel should control how the tree is shaped , so if they are dark voxels they are close to the trunk whilst if they are light voxels then they are away from the center of the tree.
25  Game Development / Newbie & Debugging Questions / Re: Reloading a texture on: 2014-08-27 23:43:15
What was happening is I was requesting a texunit from the user , when I did this it changed what was being rendered so that all the textures were equal to what is curently on this texunit , so I removed that and it works now. Implementing my inventory, im in very early stages but I have big plans for this. check it out , SOLIS under WIP
26  Game Development / Newbie & Debugging Questions / Re: Reloading a texture on: 2014-08-27 21:53:05
traced it down to a method Bindtexture call. It set the active texture slot .
27  Game Development / Newbie & Debugging Questions / Re: Reloading a texture on: 2014-08-27 21:44:33
im slowly isolating the issue but this will take a while.
28  Game Development / Newbie & Debugging Questions / Re: Spam Killing on: 2014-08-27 21:43:08
temp.hideRobot();
            listOfRobots.remove(temp);
its probably that bit there . Where is temp defined , you might be assigning it a value you dont want to. Also the reason why its spamming is because the second you press down the button the action continues to fire , you can implement a few boolean checks to stop this.
29  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-27 19:59:39
2 things:
1: are the shadows just added so say are they textures drawn next to it or are they calculated from a light source OR are they rotated and manipulated rectangles or other drawn shapes just to add some texture .
2: for your tress (auto generating talk here) the darker the colour the deeper it is within the texture, so for instance if the tree was quite light with very light greens then it would be rather large but if the tree was dark it would follow the trunk.
30  Game Development / Newbie & Debugging Questions / Re: Reloading a texture on: 2014-08-27 19:42:26
So it turns out that thats not the issue , the issue appears to be caused by the way the text is rendered itself , ill have to play around with it . It was overloading the textures because I was loading in the texture before the constructor directly as a variable. Dont know why that messed it all up but that bits fixed now to stop it blanking the screen.
Pages: [1] 2 3 ... 16
 

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

The first screenshot will be displayed as a thumbnail.

Nickropheliac (12 views)
2014-09-01 03:59:12

TehJavaDev (23 views)
2014-08-28 23:26:30

CopyableCougar4 (27 views)
2014-08-23 00:31:30

atombrot (40 views)
2014-08-19 14:29:53

Tekkerue (38 views)
2014-08-16 11:45:27

Tekkerue (34 views)
2014-08-16 11:22:17

Tekkerue (24 views)
2014-08-16 11:20:21

Tekkerue (34 views)
2014-08-16 11:12:11

Rayexar (72 views)
2014-08-11 07:49:23

BurntPizza (47 views)
2014-08-10 02:09:32
List of Learning Resources
by Longor1996
2014-08-16 15:40:00

List of Learning Resources
by SilverTiger
2014-08-06 00:33:27

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

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

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

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

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

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