Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (577)
games submitted by our members
Games in WIP (498)
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
1  Game Development / Newbie & Debugging Questions / Re: Applets still viable? on: 2010-05-07 15:58:43
yeh, just being able to go to the site and have the game instantly start up is in applets favour.
2  Game Development / Shared Code / Re: 2D Map editor on: 2010-05-07 14:44:54
 ;)you will one day.
3  Game Development / Newbie & Debugging Questions / Re: Help with rendering of game objects on: 2010-05-04 18:05:41
http://javaboutique.internet.com/tutorials/Java_Game_Programming/

Its by no means the correct way to do it, but heres some quick little tutorials thatll get you started,
move onto more sophisticated tutorials after youve mastered everything here.

That link is actually my hand me down, cause I used it. Smiley
4  Game Development / Newbie & Debugging Questions / Re: Applets still viable? on: 2010-05-04 09:02:58
I thought applets were THE way, just sign it and thats all you have to do.
5  Discussions / General Discussions / Re: environment modelling on: 2010-05-04 07:16:16
Added a bit of colour and specular, quite pleasing results even just for flat shaded.

6  Discussions / General Discussions / Re: environment modelling on: 2010-05-03 20:01:24
Hey thanks... this whole system was just a stab in the dark!
But this blockyish tile based system should be good enough for a game, ive got a few ideas for slanting and curving walls but ill need to get the basic block dungeon finished before I add more.

I was actually going fine frame rate wise till right now, and its starting to lag a little now ive added the real tiles.
Ive got a trick i can employ still, I havent implemented PVS (potential visible set) yet so ill only draw the room your in and possibly connecting rooms and the framerate should be smooth as.

Im not implementing texturing as im not using the video card, maybe ill leave that till later when ive got the whole thing finished and ill shift it all over to open gl then ill think about prettyifying it a little more.

Ill have a signed applet online in a couple of days where you can explore a randomized dungeon, it might go in this thread or I might just start a new one in showcase.
7  Discussions / General Discussions / Re: environment modelling on: 2010-05-03 12:52:03
Thanks, heres another after a bit more development (got real tiles now, just havent written the tile based dungeon generator yet)
8  Game Development / Newbie & Debugging Questions / Re: The gremlins in my computer on: 2010-05-02 21:44:16
Cool.

Im just glad I didnt give up and worked out the problem, cause my little program was going great until this happened, now I can keep developing it. Grin
9  Game Development / Newbie & Debugging Questions / Re: The gremlins in my computer on: 2010-05-02 21:22:20
So it doesnt even sound suprising to you, im learning lots me, gosh.
10  Game Development / Newbie & Debugging Questions / Re: The gremlins in my computer on: 2010-05-02 21:15:41
Dropped from 60 to about 5.

GUESS WHAT THE HELL IT WAS!!

I had too much code in the "run" function for my applet, All I did was drop some code into a function and it restored the speed.

Have you ever heard of that before anyone?!?  Thanks Riven anyway.
11  Game Development / Newbie & Debugging Questions / Re: The gremlins in my computer on: 2010-05-02 21:06:31
Ive even tested multiple IDE's now, and both have the same output, slowness - what the hell could be going wrong dammit!
12  Game Development / Newbie & Debugging Questions / Re: access denied on load file on: 2010-05-02 21:05:54
Changed IDE's fixed my problem.
13  Game Development / Newbie & Debugging Questions / Re: access denied on load file on: 2010-05-02 19:53:06
I know I have to sign the applet, but I was wondering is there some quick way to do it in JCreator just so I can at least launch it off my own computer?
14  Game Development / Newbie & Debugging Questions / access denied on load file on: 2010-05-02 18:42:56
Im using JCreator Pro, and its giving me "access denied" when I load a file off the disk, how can I configure
it to let me?

Do I have to manually make my applet signed or something?
15  Game Development / Newbie & Debugging Questions / Re: The gremlins in my computer on: 2010-05-02 17:48:04
You wouldnt believe it, now ive added more code ive just commented the WHOLE thing out and now its going slow and im doing nothing.
16  Game Development / Newbie & Debugging Questions / Re: Load in local file on: 2010-05-02 17:44:52
I cant really help, all I could say is just try another valid method, cause your code looks right to me but Ive never done it quite the same way as you before.
17  Game Development / Newbie & Debugging Questions / Re: The gremlins in my computer on: 2010-05-02 17:41:11
Its strange, I got it going quick again by commenting out code, then all I did was add more code that I didnt even call and it went slow again.

Maybe I should try changing editors, whats another editor like Eclipse out there?  Ill try and install it...  thanks if anyone can help me.

I REALLY want this program to work... Its my next big thing if I can finish it, and I feel like throwing the computer out the friggin window!
18  Game Development / Newbie & Debugging Questions / Re: The gremlins in my computer on: 2010-05-02 17:13:06
Ive in fact mucked around with it more, and I got it working from commenting out completely safe code thats not doing any work at all just returning false and not even chaining to it and it still triggers off the slowness!!!  what could be the problem?!?!?
19  Game Development / Newbie & Debugging Questions / Re: The gremlins in my computer on: 2010-05-02 16:58:18
Its not because im using too much ram, because I checked that... anyone can help me with this really strange problem, like, can anything else you know of could slow a program down for virtually no reason?
20  Game Development / Newbie & Debugging Questions / The gremlins in my computer on: 2010-05-02 15:52:02
I know being superstitious isnt what a programmer should be, but im a little that way when it comes to really strange bugs.
At the moment, my application suddenly stopped cycling quickly and started going with a really poor framerate... All I do is uncomment
this for loop and then all of sudden it starts going really slow.

all tiles have 0 astones so it shouldnt even be accessing the loops even though it somehow is, and the simple commented out for loop iterating
the v variable is enough to make it go slow for no reason.
I thought maybe it was because I had too much stuff in a single file, so I broke the program up to another file but it didnt make a difference, for
some reason its going slow and I have NO IDEA WHY.

As soon as I comment out the for loop it decides to go quick, and note ITS NOT RENDERING ANYTHING.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
 for(i=0;i<btile[edit_tile].astones;i++)
   {
   if(btile[edit_tile].astone[i].enabled)
   {
     if(btile[edit_tile].astone[i].selected && fading_trim==false && fading_trim_depth==false && fading_depth==false)
     {
 //      eng.render(btile[edit_tile].astone[i].vs,btile[edit_tile].astone[i].v,btile[edit_tile].astone[i].ts,btile[edit_tile].astone[i].t,id,false, btile[edit_tile].astone[i].blight);    
    }
     else
     {
//     eng.render(btile[edit_tile].astone[i].vs,btile[edit_tile].astone[i].v,btile[edit_tile].astone[i].ts,btile[edit_tile].astone[i].t,id,true, btile[edit_tile].astone[i].blight);
    }    
   }
   }

   
   int v;
   for(v=0;v<8;v++)
   {
/*      
   switch(v)
   {
    case 0:trans.set_trans(-2, 0, 2);break;  
    case 1:trans.set_trans(0, 0, 2);break;  
    case 2:trans.set_trans(2, 0, 2);break;  
    case 3:trans.set_trans(-2, 0, 0);break;  
    case 4:trans.set_trans(2, 0, 0);break;  
    case 5:trans.set_trans(-2, 0, -2);break;  
    case 6:trans.set_trans(0, 0, -2);break;  
    case 7:trans.set_trans(2, 0, -2);break;  
   }

   for(i=0;i<btile[view_tile[v]].astones;i++)
    {
    if(btile[view_tile[v]].astone[i].enabled)
    {
     // eng.render(btile[view_tile[v]].astone[i].vs,btile[view_tile[v]].astone[i].v,btile[view_tile[v]].astone[i].ts,btile[view_tile[v]].astone[i].t,trans,true, btile[view_tile[v]].astone[i].blight);
     }
     
    }
*/

   }
   
21  Discussions / General Discussions / Re: environment modelling on: 2010-04-30 16:24:22

Each tile here is rotated each 90 degree angle.

Ive decided to go with tiles, Ill even fit in a spiral staircase and archways.
Ill spawn a light every random tile, and ill completely random generate it with computer dice rolls.
22  Games Center / Tiny Game 2010 / Re: [Journal] Tiny Isometric Thing on: 2010-04-29 21:03:30
I had a little shot, I would just say whats already been said. its a doozy! Cheesy
23  Game Development / Newbie & Debugging Questions / Re: tracking mouse when its outside the applet window without using jinput on: 2010-04-29 16:47:57
Thanks Commander Keith.
24  Game Development / Newbie & Debugging Questions / Re: tracking mouse when its outside the applet window without using jinput on: 2010-04-29 15:57:21
Hang on, Ive got another idea...  What if I continually set the mouse position to the centre of the screen?  Can I do that??
25  Game Development / Newbie & Debugging Questions / Re: tracking mouse when its outside the applet window without using jinput on: 2010-04-29 15:51:43
For the style of game im making I need this, its how the whole idea works.

If I was just happy with keyboard controls, and I was making a simple hack at the enemy combat game then I probably wouldnt need to go to the trouble, but im writing a combat "sim" and I need mouse controls for the arms of the character.
I dont want to have to change my idea just because im using java.

I spose jinput probably could do it so ill just learn that.
26  Game Development / Newbie & Debugging Questions / Re: tracking mouse when its outside the applet window without using jinput on: 2010-04-29 15:30:22
Cool thanks, that works.

I cleared up a bug with that too!

Only problem is I cant get the mouse "vectors" all this means is when the mouse scrolls to the side of the screen id like it to still keep on reading mouse movement, cause if I dont when the mouse reaches the end of the screen the shield will stop moving around the character even if you meant for the character to keep shifting the shield across, its just that you've hit the side of the screen and its stopped moving, even though your still moving the mouse!

Like at the moment, to get mouse vectors I am comparing the old mouse position to the new one, but when it hits the side of the screen it stops working...

Is there a way around this?

I dont really mind the security warning, cause jinput needs it to so theres no way around it.
27  Game Development / Newbie & Debugging Questions / tracking mouse when its outside the applet window without using jinput on: 2010-04-29 15:07:10
Is this even possible?  Cause in my game you control your shield and sword with the mouse and the mouse only activating when its in the applet window is a complete disaster.
Why didnt they implement "x moved difference" instead of "x absolute coordinate" cause thats what I need!
28  Discussions / General Discussions / Re: environment modelling on: 2010-04-29 11:57:42
I had a good read of what everyone had to say.

Really I guess you gotta use your imagination and its A LOT of work to make an environment.  Like I can make standalone models really well, like I make tanks and planes and soldiers and because there isnt the huge amount of surface area to cover I find detailing them isnt as much as a problem as an environment where it can become overwhelming the sheer size of what your trying to make.

You make "units" looking from the outside in, right... you make "environments" looking from the INSIDE OUT! and I find it more difficult!

I have no idea how to set up the camera properly for editing an environment thats actually alot enclosed from the outside so you cant even get to the inside to edit it in blender or whatever... I know what you mean, Ive seen environment models before modelled in 3dsmax but Id need to read a good book before I went about doing it - and it IS skilled work!

3d artists do make an impossible job possible, dont underestimate 3d artists, they are amazing... without the knowledge you couldnt really make an environment just out of verts and triangles, thats why I have so much trouble and am asking questions here again.

Making the stones algorythmically and just using bevels sounds interesting!! (What Roquen said) , the tile based system I thought of myself cause then at least the work is easier in the end its just making the 3d tiles which is the hard bit.

Maybe ill go for a tile based system, ill do a bit more thinking and then ill decide eventually.

I dont think really there is an easy way to go about this unless your willing to make sacrifices to the finished quality...

Thanks for the kind words about my screenshot, it is something at least.

The damn computer deleted my map file for some reason so I lost it all!!!   God I hate it, so after that maybe it is a good time to change tactics I just gotta figure something out.

But what delt0r said is true, whichever method I pick, there is going to be work involved, so ill just have to decide on something and then work at it for a couple of weeks and hopefully my data writes will stay consistent... risky stuff...
29  Discussions / General Discussions / Re: environment modelling on: 2010-04-29 00:06:34
Have u actually done that before personally?  Its actually quite challenging, if near impossible.

heres another shot of the dungeon.


ahh stuff it, ill just do it like this.
30  Discussions / General Discussions / Re: environment modelling on: 2010-04-28 22:41:18
I was wondering if someone could tell me something a little more specific than "its made of triangles"

This next shot of a doungeon interior is made by placing each individual stone one at a time.



I think thats what ill do, but it TAKES AGES!
I was thinking what if there is an alternative thatll save me alot of work.
Pages: [1] 2 3
 

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (19 views)
2014-04-15 18:08:23

BurntPizza (15 views)
2014-04-15 03:46:01

UprightPath (28 views)
2014-04-14 17:39:50

UprightPath (13 views)
2014-04-14 17:35:47

Porlus (29 views)
2014-04-14 15:48:38

tom_mai78101 (54 views)
2014-04-10 04:04:31

BurntPizza (111 views)
2014-04-08 23:06:04

tom_mai78101 (212 views)
2014-04-05 13:34:39

trollwarrior1 (181 views)
2014-04-04 12:06:45

CJLetsGame (187 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
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!