Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - fireside

#1
Feedback / how outdated is galaxy s4?
July 06, 2015, 12:52:54 AM
So, I might be going to mobile as opposed to pc.  I would be able to tether my pc, but it's going to mean using small apps because of updating software.  Anyway, I'm looking at getting a galaxy s4 which is just barely affordable for me and wondering how well it works as it's a bit dated I guess.  Everything is so expensive.  My telephone carrier is forcing me onto a more expensive plan and I hate to waste the money since I mostly just read news, so I'm thinking of dropping the land line altogether and going to mobile.
#2
Support / tablets
May 06, 2012, 01:03:10 AM
Thinking about getting a Kindle Fire, actually, probably waiting till the next version comes out, but I'm wondering if it's the same as the phone or did they split or anything?  Haven't kept up with it.
#3
Support / 3ds export from Blender shows invalid
January 05, 2011, 12:02:23 AM
Blender may have changed their exporter or something, but I can't get a 3ds file to load.  It's just a plane with a transparent .png texture.  It says
ERROR: Not a valid 3DS file!

I had some problem with another model but managed to get it to load although the scaling was completely different from the past.  This one I can't load at all.
It re-imports into Blender.
#4
Support / cloning an extended Object3D
December 19, 2010, 12:05:51 AM
Maybe this is obvious, but I'm not much of a programmer.  How do I clone an extended Object3D class?  The clone() function returns an Object3D.
#5
Projects / Dragon Mage
December 08, 2010, 11:27:15 PM
Dragon Mage

I've started a new project because this one has a name now.  It's also a new link.
This has some new graphics and context sensitive movement.  There are still things to do to do but at least the context sensitive movement mostly works except for defend.  The monsters die, but the players don't yet.  There's no health bar.  I need more spells and and I'll probably just use one attack for the dragon to make the game run faster so there will only be choices for spells.
#6
Support / Odd scaling behavior
October 30, 2010, 04:19:33 AM
I removed this because I found out why my extended class wasn't scaling using loadmodel.  Sorry for the post.
However, there does appear to be a speed increase using scalarMult() if an object is scaled up using setScale() after the model is built, so it seems to travel further using the same numbers, like twice as far if it's scaled up by 2.


#7
Support / health bar
October 21, 2010, 06:37:23 PM
This is looking ahead, because I'm still working out re-scaling my program, but I'm thinking of ways to do a billboarded health bar.  So far, the idea I have is to have 10 health bars like for 10%, 20%, etc and switch them because I don't know how I could move the texture.  Any other ideas on that?
#8
Support / absolute translation
October 14, 2010, 05:05:14 AM
I've forgotten how to do an absolute translation.  It's basically a relative motion, so how do I do that when the object is not at the point of origin?  Rotation doesn't matter in this case.  I just need to either get it back to the origin or compensate somehow.
#9
Support / setSelectable(false) not working
October 11, 2010, 04:50:18 AM
I have some trees that are textured planes, but when something is behind them, I can't select them even though I set each cloned tree to setSelectable(false).
#10
Support / decals
October 10, 2010, 09:22:08 PM
I was wondering how you put decals on terrain surfaces.  Is it a textured quad put just above that has transparency?
#11
I'm having some problems with Vista.  I bought a floor model computer from Best Buy and never actually got a real copy of Vista with it.  Anyway, all has been going fairly well for a while, but I made some registry changes which apparently I shouldn't have and now they say I don't have a valid copy of Vista anymore.  My main concern right now is saving my game.  I can hopefully at least use Ubuntu, but I'm wondering how I might save my game right now.  If I write it to the cd, will Ubuntu be able to read it or is that a different file format thing?
#12
Support / Cloning an extended object
April 30, 2009, 07:28:41 PM
I have this monster in my game that is extended a ways from Object3d.  The class right above it is called Actor and the next extension is called OneEye.  So, I'm wondering how to duplicate it now.  My first effort, which probably seems silly is to do:
        oneEye1 = new OneEye(loadModel("mon1i1.3ds", 3));
        oneEye1.translate(0, -10, 0);
        oneEye1.translate(m2w(10, 10));
        oneEye1.lastX = 10;
        oneEye1.lastZ = 10;
        oneEye1.setMap(10, 10);
        oneEye1.rotateY(3.14f);
        world.addObject(oneEye1);
        enemies.add(oneEye1);
        oneEye1 = new OneEye(loadModel("mon1i1.3ds", 3));
        oneEye1.translate(0, -10, 0);
        oneEye1.translate(m2w(20, 10));
        oneEye1.lastX = 20;
        oneEye1.lastZ = 10;
        oneEye1.setMap(20, 10);
        oneEye1.rotateY(3.14f);
        world.addObject(oneEye1);
        enemies.add(oneEye1);


I know I could use a for loop, but I think I'm loading everything twice that way.  All the animation meshes, etc.  Is there some way around that?  I load the animations in the class when it starts.
#13
Support / texture problem
April 30, 2009, 05:21:31 AM
I haven't loaded any models into my game for quite a while.  I went to make a change and for some reason the model doesn't get a texture anymore.  I'm using the same code and I double checked and I know the texture is being loaded by jpct without error.  But when assigning material I get this line:

Processing new material Nonebrown.jp!

The texture line is:

        TextureManager.getInstance().addTexture("brown.jpg", new Texture(this.getClass().getClassLoader().getResourceAsStream("brown.jpg")));


I copied the same name and it shows in my models folder as brown.jpg.

I'm using the same version of Blender which was working fine.

The 3ds load is:
        Object3D box1 = loadModel("testC.3ds", 20);
        world.addObject(box1);


The same one I'm using for at least one textured model which is working properly, but now my exported models don't seem to work anymore. 
#14
Feedback / Oracle to buy Sun for $9.50 a share
April 20, 2009, 05:21:59 PM
I wonder what effect this will have on Java? 
#15
Support / object picking
April 08, 2009, 06:34:35 AM
In my strategy game, object picking seems to work well except when a creature gets behind one of the tree bill boards.  Then, even though the bill board is set unselectable, it seems to interfere with the picking of the creature behind it.  Is there anything I can do about that?

I'm using this code to pick the object:

            SimpleVector s = Interact2D.reproject2D3D(world.getCamera(), buffer, e.getX(), e.getY());
            int[] i = Interact2D.pickPolygon(world.getVisibilityList(), s);
            int t = Interact2D.getObjectID(i);
#16
Support / shaders
April 08, 2009, 03:51:23 AM
I just read the shader entry in the wiki.  I don't know anything about this yet, but I was wondering how you assign a shader to a certain texture, like a bump map?
#17
Bugs / Overlay problem
March 25, 2009, 11:31:01 PM
I'm using interact2d to select certain objects and the overlay becomes one of them, yet there is no setSelectable method to make it unselectable.
#18
Support / object picking
March 20, 2009, 03:28:39 PM
I'm trying to figure out how to do simple object picking where the cursor goes over and object and I add an additional color while it's over it.  I did a search but couldn't find anything.
#19
Support / java question
December 06, 2008, 11:17:28 PM
If I have a class with an array like:

class thing{
private static int[][] joe;

void doSomething{
joe = new int[20][20];
}
}

Is the array destroyed after doSomething() is called?  I would think it is but I'm not sure.  Also, would it be better to do that, or refill the array with 0's every time?
#20
Support / multiplayer
December 06, 2008, 04:04:49 AM
The multiplayer games that use the computer as the server over the internet, is that hard to do?  Just curious right now.