Slick Forums

Discuss the Slick 2D Library
It is currently Wed Jun 19, 2013 10:15 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Im Lost
PostPosted: Fri Jun 22, 2012 2:58 am 
Offline

Joined: Wed Jun 20, 2012 9:18 pm
Posts: 9
Im making a little zombie game, in which they come in waves, i dont have the final art or anything yet im just working on the basics, and i need help creating the market.
In between each wave my idea was that you would have a minute or so to buy weapons.
But if i make a game state as the market i cant access how much money i had in the main play state without invoking the constructor.
I dont know what to do with the constructor or should i jsut make the market a different way?
https://dl.dropbox.com/u/29040910/Ham%20Blaster.rar
Can someone help me get the market to work and access the money you earned from killing zombies,
Also, if you can and you dont mind, could anyone make me a zombie or zombies to use in the game. I cant for the life of me make art on my computer.
But mainly i need help with the market, if you can help please do.

If you help code the market or make art you will be in the credits.


Top
 Profile  
 
 Post subject: Re: Im Lost
PostPosted: Fri Jun 22, 2012 4:59 pm 
Offline

Joined: Mon May 07, 2012 11:36 pm
Posts: 93
I personally think you should try to make something a bit simpler.. I mean, by the sounds of it, you haven't been programming for very long (forgive me if im wrong). For example, accessing variables across multiple classes is something you should learn before going into game programming. I would suggest following TheNewBoston's java for beginners tutorials. once done with that, follow his intermediate tutorials, and so on. They're pretty good.

I don't want to put a downer on what your trying to do.. that isn't my intention. I just think you would do well with learning more about java before getting into slick2d.

In terms of your game idea, making a menu for the guns and having currency and item drops all programmed before you've got movement and actual combat and the zombies all programmed is a bit backwards.
Some simple steps (IMO) to follow are:
1. Get the basic game into a playable state. That means, loading a map, the player and the zombies. Making the player react to keyboard/mouse input. Making the zombies roam around/go for the player. Allow the player to attack. give the character health, and the zombies health.. and so on.
2. Get the game's mechanics sorted out. What happens when the player shoots a zombie? what happens when the zombies gets the player? Can the player run? can he run and shoot? etc.
3. Bug testing your games mechanics.
4. Get the game into a presentable state. More bug testing.

This is just an example of the workflow needed to make a game (based on your idea). I'm not trying to discourage you, but rather, offering some advice. I hope this helps you.


Top
 Profile  
 
 Post subject: Re: Im Lost
PostPosted: Fri Jun 22, 2012 10:17 pm 
Offline

Joined: Wed Jun 20, 2012 9:18 pm
Posts: 9
I have finished his begginer series (thats actually how i got into java) and every video of his slick 2d series (hes not done with is) and I have gotten quite far in the game so far:
https://dl.dropbox.com/u/29040910/Ham%20Blaster.rar

Thanks for the advice, i have finished the basics of the market and some more stuff, Iplan on doing his intermediate series now that you mention it.
Cant wait to finish the game, and thanks for the advice.
Also, the reason i havnt done the zombie work is because I cant make art for the life of me and I need someone to make me a zombie around the size of the character


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group