Search:

Type: Posts; User: SkyAphid

Search: Search took 0.35 seconds.

  1. Replies
    3
    Views
    378

    Re: Game Image Layering Help

    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,...
  2. Replies
    3
    Views
    378

    Game Image Layering Help

    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...
  3. Replies
    1
    Views
    336

    Most noob question ever.

    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.
    ...
  4. Replies
    10
    Views
    603

    Re: Looping images

    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.
  5. Replies
    10
    Views
    603

    Re: Looping images

    I don't understand what you're getting at. Could you be more descriptive please?
  6. Replies
    10
    Views
    603

    Re: Looping images

    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...
  7. Replies
    10
    Views
    603

    Re: Looping images

    Bump!
    I need help. Please?
  8. Replies
    10
    Views
    603

    Re: Looping images

    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...
  9. Replies
    10
    Views
    603

    Looping images

    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...
  10. Replies
    6
    Views
    782

    Re: Raycasting Wall Texturing

    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!
  11. Replies
    6
    Views
    782

    Re: Raycasting Wall Texturing

    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...
  12. Replies
    6
    Views
    782

    Raycasting Wall Texturing

    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...
  13. Replies
    3
    Views
    1,012

    Re: Collision with drawn lines?

    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.
  14. Replies
    3
    Views
    1,012

    Collision with drawn lines?

    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...
  15. Re: How do I combine two strings in an array?

    I see what needs to be done. Thanks dude.
  16. How do I combine two strings in an array?

    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]...
  17. Replies
    6
    Views
    392

    Re: Adding doubles and ints.

    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...
  18. Replies
    6
    Views
    392

    Adding doubles and ints.

    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...
  19. Replies
    2
    Views
    397

    Re: Calculating Strings?

    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,...
  20. Replies
    2
    Views
    397

    Calculating Strings?

    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...
  21. Replies
    2
    Views
    646

    Re: So I'm making this program...

    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...
  22. Replies
    2
    Views
    646

    So I'm making this program...

    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...
  23. Thread: Road Trip

    by SkyAphid
    Replies
    13
    Views
    875

    Re: Road Trip

    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.
  24. Thread: Road Trip

    by SkyAphid
    Replies
    13
    Views
    875

    Re: Road Trip

    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...
  25. Thread: SkyAphid

    by SkyAphid
    Replies
    2
    Views
    221

    SkyAphid

    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...
Results 1 to 25 of 25