Show Posts
|
|
Pages: [1] 2 3
|
|
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.
|
|
|
|
|
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!
|
|
|
|
|
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) { } else { } } }
int v; for(v=0;v<8;v++) {
} |
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
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...
|
|
|
|
|
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.
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|