Help & Support > Study Help

Look at my code

<< < (2/5) > >>

Joel16:
Java developers can't C ;D

Noob:
Wow forgot I posted this here; I've fixed a lot and added a lot since that post; http://pastebin.com/VYBmLUuB

Woot, fixed the exit system, but still bugs left.

// run doesn't work after doing something first such as attacking sometimes (so I could make it so that running doesn't work mid combat), sometimes you kill the enemy twice (only when you try to run)
// level system causes battle to loop through multiple times sometimes
//potion causes you to find a chest sometimes

Noob:
http://pastebin.com/W05Kd9jP

I FIXED THE GAME COMPLETELY. WHEN IT WAS RECALLING THE BATTLE(); OR CHEST(); IT CAUSE IT TO RUN THROUGH MULTIPLE TIMES. Check my comments to see how I fixed it. Oh, and I also added a shop . I'm pretty much done, and the only bugs I can find involve the chest loot which sometimes doesn't work (like the "you found nothing" dialog doesn't show), and sometimes the enemy dies 1 health early (which as Cuate says has probably to do with the way Math.Random works)

Noob:
http://pastebin.com/a3n7T6AA latest

Kiss x Miz:
~ Never a finished product ~

Keep at it

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version