Ray Muirhead

Ranch Hand
+ Follow
since Jun 11, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ray Muirhead

Hi,

Is it possible to return content with an arbitrary mime-type (e.g. application/x-java-jnlp-file) from a Java Server Faces page? The purpose is to have a Java Web Start jnlp file dynamically generated using some arguments from the query string, and then to serve it to the user's browser. I understand the generation part ok, but am having a little trouble with serving up the generated text or xml content to the browser.

Thank you
Ray
16 years ago
JSF
Thanks Ilja, that sounds like exactly what was needed!
16 years ago
Hi there,

Does anyone know how to run a local Java application from a web (intranet) page? The Java application itself is a wrapper that will run a user's selected diff utility, so needs permissions to execute applications on the user's local system (as far as I could tell this would rule out Java web start). The web page is in JSP, so client-side Javascript and server-side Java are both available.

Thank you!

Ray Muirhead
16 years ago
Hi there!

How portable are games between J2SE and J2ME? Is it easier to start with one or the other when developing a cross-platform game?

The game that I'm working on is a platform adventure game, kind of similar to Sonic the Hedgehog or Alex Kidd or any older platform game, but with a little more character interaction, rpg style character development, and open-ended gameplay, rather than scrolling linearly through levels. It doesn't neccessarily have to be cross-platform, but it would be nice to be able to play a simple version on a mobile phone, and one with better graphics on a J2SE compatible system.

What do you think?

Cheers,
Ray
17 years ago
Head First Java is indeed a great book, and would be engaging for a 12 year old. It also includes some game related examples and problems.

Good luck to your nephew!
Ray
[ November 14, 2005: Message edited by: Ray Muirhead ]
17 years ago
This tutorial has served some of my classmates and myself well:

http://docs.jboss.org/ejb3/app-server/tutorial/

as well as the TrailBlazers available from http://jboss.org on the front page, if you are interested in EJB 3.0.

~Ray
# Remote Desktop - It's great, works well.

# Windows home LAN - It's easier to connect to PC from Mac than PC to Mac. Whole thing works fine.

# Performance - BS to some degree, OS X uses more Ram than Windows XP so that can be an issue.
18 years ago
Head First Java, hands down. Haven't seen Design Patterns yet, but just want to say thankyou to the authors -- you've made my college Java life a lot simpler and a lot more fun .

Cheers!
18 years ago
The command line is actually difficult to get to -- it's hidden away in a 'utility' folder.
And as for ease of use, whenever I use windows I'm always hitting the F9 key for Expose. Believe me, as soon as you see it go 'whoosh' and realise that you can navigate your windows at lightspeed and multitask like there is no tomorrow, you'll be sold. You could try going into an Apple reseller and just playing with one for a while and seeing if you like it.
18 years ago
Cool, I'm interested too -- don't have much time but could help out a bit. What kind of game, kind of like mario or sonic the hedgehog?
18 years ago
Theres a Snake project in C that I did this semester at Uni that might help you available here. It's a terminal game for an AVR microcontroller, but you might find the snake representation useful -- it was very different to how I would concieve of a snake personally, but you never know, it might help.

Cheers,

ray
18 years ago
Cool Sean -- I've been working on something similar for a while now so maybe I can help a little.

The example project that is available from the Blue J resources page is good.

I've found that for me a good way to start is to work out what objects are needed
i.e in this case the Desk, Room etc. could all be Places or something similar, and to have a Player or Character object that can move between them. The Place would have references to all of it's neighbouring Places, and would be the object that you would ask where you could move (as the player). Keeping it as simple as possible seems to be the best way to do it.
The BlueJ zork game is an excellent place to start, in my opinion. They have a good system and a parser as well if you were interested in making your game take text commands.

If you have any more questions or just want to bounce some ideas off someone, don't hesitate to post again and I'll see if I can help.

Good luck Sean!
18 years ago
Feeling a little humbled -- this threads stuff is hard! Got it working ok, but still figuring out how to synch it up tight so that the player can only act once and only act in her turn.

Thanks for the pointer Earnest.
Thank you Ernest, I thought there would be something in the API, but I just couldn't find it, and it wasn't in Head First Java.

Cheers!
Hi everyone

I posted a question about a java game in the threads topic, which may or may not be of interest to anyone here. It was primarily a thread-based question, so I decided it might belong there more than here.

18 years ago