That looks like it'll work! Thanks man. I appreciate it!
Oh, and it's Top Down, Like pokemon, or the retro Final Fantasies.
EDIT!
Actually, no that wouldn't haha.
eman is the Entity Manager,...
Type: Posts; User: SkyAphid
That looks like it'll work! Thanks man. I appreciate it!
Oh, and it's Top Down, Like pokemon, or the retro Final Fantasies.
EDIT!
Actually, no that wouldn't haha.
eman is the Entity Manager,...
I'm making this game in java, as it is my first attempt at a full fledged game. It's fairly going well, until I hit the NPC part. The depth of them needs to change when I'm in front of, and behind...
I can't get doubles to work with drawImage. I feel stupid. I'm not sure if you can, but I've seen the outline for drawImage with the fields (img, double x, double y, observer) on Javas websites.
...
So, a good way to do this is just to check if the key has changed, and if so, then go ahead and redraw? I gotcha.
I don't understand what you're getting at. Could you be more descriptive please?
I made one of those, but it was more messy, and I couldn't tell where the lags were myself. But I think we need to get off the subject of measuring the lags because that isn't going to get us...
Bump!
I need help. Please?
It just generally lags when a decent amount of tiles are being displayed on the buffer.
Here are some of the lines printed by the debug for the time.
1323041044269 <---Clear area. Thread is...
So, I made a tile engine so I can draw different parts of a map easily, but for some reason I get a strange lag when I do it.
The tile render code looks as such:
public void drawMap(Graphics...
Thanks, but I may just try another website. I've never really like the way java tutorials explains things. Don't get me wrong though, I am thankful for the assistance you have given me!
I posted this in theory and questions. This is leaning more on theory.
I need help on splitting 64x64 images into strips that fit onto the strips of wall I render in raycasting. I just can't do...
I have the engine working, and right now, the walls are solid colors. How would I go about slicing 64x64 textures to render onto the walls?
This is the code for rendering walls, it should be all...
I thought of this but doing it wouldn't really be that easy. I can't think of an efficient way of doing it essentially.
Basically, I want to achieve a way to for-see and calculate collision with lines that players draw. Like in line rider without all the fancy pants physics. The type of collision I'll be achieving...
I see what needs to be done. Thanks dude.
ea:
Array[1]="Hi I'm ";
Array[2] = "Paul";
Array[3] = "RAGGLE";
Array[4] = "FRAGGLE";
I want to push "HI I'm Paul" and "RAGGLE FRAGGLE" so the array looks like this when I'm done.
Array[1]...
I actually didn't know you could do that with the System.out.println command. Sorry, I'm still a bit new at this, I've only known Java for like a month.
Edit
Actually, that wouldn't work if 4.4+1...
First of all, I hate the fact Java can't just NOT separate the two. It's a bit annoying to keep up with. But anyway:
I have a stack of strings. Some are "4.4" and some are "1".
When they are...
Oh it's not, I've done harder. Trust me haha. Thanks though, I just didn't know what a postfix was and didn't bother to google it. I tend to do ignorant things like that when I'm really busy. But,...
I'm working on an algorithm solving program, and I've ran into a slight problem, basically the outputted strings look something like this:
Equation = (1+1-2)+(2+2)
String 1 = 1+1-2
String 2 = 2+2...
I like your ideas, but do you think the postfix expression would be more of a hassle than anything?
Anyway, I finished the bracket cutting, it cuts out pieces in brackets and puts them in a List...
I've been messing around with making an advanced calculator in Java by implementing popular algorithm solving techniques like PEMDAS and SABDM (Both commonly used for Algebra and other equations) and...
and if you read what I said, you'd see that I said,
"If you CRUISED down a ROAD,"
It was a what if thing. Haha.
Well, the distance between the two is 2462 miles.
So if you cruised down a road to NY from LA at about 40 miles per hour, it'd take about 60 hours.
Unless I did the math wrong. I divided this in...
I'm pretty new to Java, and I think I've found a good website to learn more and study it, I know Java and another basic language called GML, I've decided to move to more complex/efficient coding now...