Go Back   Zune Boards > Zune Discussions > Zune Games > Development Discussions

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
LinkBack Thread Tools
Old 01-04-2009, 09:16 AM   #21 (permalink)
Jr. Zuner
 
xxafallenheroxx's Avatar
 
Join Date: Dec 2008
Location: Illinios, USA
Posts: 39
xxafallenheroxx is on a distinguished road
Default

also, will the game be like midevil or present time im guessing midevil if ur going for AOE look
__________________
Dont Forget To Bring A Towel!


Help Out With Zune Empire





xxafallenheroxx is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 01-04-2009, 11:58 AM   #22 (permalink)
Zuner
 
Join Date: Dec 2008
Posts: 91
AndroidAdam is on a distinguished road
Default

Yeah, not modern. Anyways basically the map size has to be at least 240 X 320. As that's the size of the zune screen. So multiples of that would be good.

Like a 480 X 640. Just however big and wide you want it.



AndroidAdam is offline   Reply With Quote
Old 01-04-2009, 12:06 PM   #23 (permalink)
Jr. Zuner
 
xxafallenheroxx's Avatar
 
Join Date: Dec 2008
Location: Illinios, USA
Posts: 39
xxafallenheroxx is on a distinguished road
Default alright

ill get on it i wont be able to finish it today
__________________
Dont Forget To Bring A Towel!


Help Out With Zune Empire





xxafallenheroxx is offline   Reply With Quote
Old 01-04-2009, 12:12 PM   #24 (permalink)
Experienced Zuner
 
Namakemono45's Avatar
 
Join Date: Nov 2008
Location: Chicago Suburbs, Illinois, USA
Posts: 155
Namakemono45 will become famous soon enough
Send a message via AIM to Namakemono45 Send a message via MSN to Namakemono45
Default

I already worked on something like this a bit when I first got my Zune 8. Though I only got as far as a selection system featuring the touch pad (Couldn't decide how to map the other controls) If you need any programming assistance I would be happy to help.

Code:
        public void Update(GameTime gameTime, InputHandler input)
        {
            if (input.BeginTouch)
            {
                selectionStart.X = (int)input.touchPositionPixel.X;
                selectionStart.Y = (int)input.touchPositionPixel.Y;

                isSelecting = true;
            }

            if (input.EndTouch)
            {
                foreach (SelectableObject s in selectableObjects)
                {
                    s.selected = false;
                    if (selectArea.Contains(new Point((int)s.location.X, (int)s.location.Y)))
                    {
                        s.selected = true;
                    }
                }

                isSelecting = false;
            }

            if (isSelecting)
            {
                int selectHeight, selectWidth;
                selectWidth = Math.Abs(selectionStart.X - (int)input.touchPositionPixel.X);
                selectHeight = Math.Abs(selectionStart.Y - (int)input.touchPositionPixel.Y);

                selectArea = new Rectangle(Math.Min(selectionStart.X, (int)input.touchPositionPixel.X),
                    Math.Min(selectionStart.Y, (int)input.touchPositionPixel.Y),
                    selectWidth, selectHeight);
            }


            arrowpos = input.touchPositionPixel;
        }
Code:
namespace Zune_RPG
{
    class InputHandler
    {
        public ZunePadState oldzpstate = new ZunePadState();
        public ZunePadState zpstate = new ZunePadState();
        public Vector2 oldTouchPositionPixel = new Vector2();
        public Vector2 touchPositionPixel = new Vector2();
        public bool insideSafeTouch = false;

        public void Update()
        {
            oldzpstate = zpstate;
            oldTouchPositionPixel = touchPositionPixel;
            zpstate = ZunePad.GetState();

            touchPositionPixel = zpstate.TouchPosition;
            touchPositionPixel.X *= 168f;
            touchPositionPixel.X += 120f;
            touchPositionPixel.Y *= -1f;
            touchPositionPixel.Y *= 224f;
            touchPositionPixel.Y += 160f;

            if ((touchPositionPixel.X > 0 && touchPositionPixel.X < 240) && (touchPositionPixel.Y > 0 && touchPositionPixel.Y < 320))
            {
                insideSafeTouch = true;
            }
            else
            {
                insideSafeTouch = false;
            }
        }

        public bool BeginTouch
        {
            get
            {
                if (oldzpstate.IsTouched == false && zpstate.IsTouched == true)
                    return true;
                return false;
            }
        }

        public bool EndTouch
        {
            get
            {
                if (oldzpstate.IsTouched == true && zpstate.IsTouched == false)
                    return true;
                return false;
            }
        }

    }
}
ZunePad just converts input to zune friendly names.
__________________
I am working on:
Zune TD - Version 1.0.5 released 2/25/2009
Zune TD - Version 2.0.0 Unreleased (50% done)





Namakemono45 is offline   Reply With Quote
Old 01-04-2009, 06:40 PM   #25 (permalink)
Jr. Zuner
 
xxafallenheroxx's Avatar
 
Join Date: Dec 2008
Location: Illinios, USA
Posts: 39
xxafallenheroxx is on a distinguished road
Default

Bolt can you Mark this thread as a WIP? jw.
__________________
Dont Forget To Bring A Towel!


Help Out With Zune Empire





xxafallenheroxx is offline   Reply With Quote
Old 01-04-2009, 06:44 PM   #26 (permalink)
GETTING AWAY WITH MURDER
Retired Staff
Expert Zuner
 
Bolt's Avatar
 
Join Date: Oct 2008
Location: In your closet, in your head
Posts: 3,258
Bolt is a splendid one to beholdBolt is a splendid one to beholdBolt is a splendid one to beholdBolt is a splendid one to beholdBolt is a splendid one to beholdBolt is a splendid one to behold
Send a message via Yahoo to Bolt
Default

Done.
__________________



Bolt is offline   Reply With Quote
Old 01-04-2009, 07:59 PM   #27 (permalink)
Zuner
 
Join Date: Dec 2008
Posts: 91
AndroidAdam is on a distinguished road
Default

Lol, namakenmono, you can not imagine how close are code is. Down to the input helper.

Anyways thanks a lot for the offer, I'll come to you if I need help



AndroidAdam is offline   Reply With Quote
Old 01-05-2009, 04:50 AM   #28 (permalink)
Jr. Zuner
 
xxafallenheroxx's Avatar
 
Join Date: Dec 2008
Location: Illinios, USA
Posts: 39
xxafallenheroxx is on a distinguished road
Default

Quote:
Originally Posted by Bolt View Post
Done.
thanks
__________________
Dont Forget To Bring A Towel!


Help Out With Zune Empire





xxafallenheroxx is offline   Reply With Quote
Old 01-05-2009, 12:28 PM   #29 (permalink)
Jr. Member
 
sir justin's Avatar
 
Join Date: Jul 2008
Location: Ohio
Posts: 303
sir justin is on a distinguished road
Send a message via AIM to sir justin
Default

I think I would be of assistance for an enemy/ defense / building person. I would be able to make the stats for enemys, towers, buildings, ect. I have played many of these games before (such as Warcraft III, C&C, AOE, AOM, ect.). I could even produce a great storyline for you if you needed one. Just thought I would offer my help!
__________________

I need Zune Social Friends: Sir Justin1020





sir justin is offline   Reply With Quote
Old 01-05-2009, 03:48 PM   #30 (permalink)
Zuner
 
Join Date: Dec 2008
Posts: 91
AndroidAdam is on a distinguished road
Default

You mean like balancing the game play, so that people aren't overpowered? I can't see why not. Figuring out how much damage they should deal, what percentage of a chance they have of hitting their enemy, the health for each character.

There will be 4 different types of soldiers. Starting with something like footman, going to soldier, etc... That's the sort of things to take into consideration.

That will take a bit of load off my soldiers and let me focus on the engine.



AndroidAdam is offline   Reply With Quote
Old 01-05-2009, 08:08 PM   #31 (permalink)
Jr. Member
 
sir justin's Avatar
 
Join Date: Jul 2008
Location: Ohio
Posts: 303
sir justin is on a distinguished road
Send a message via AIM to sir justin
Default

Yeah that is what I mean! Alright I would love to help. Perhaps we could also use Nam's site for programmers to talk quickly together?

(Also if Nam reads this post, I am completely remaking the enemys/ towers. The towers only have 5 levels now except for the Ultimate Tower and I got rid of the Emergency Tower. I am not sure this was needed but I can add them back easily. And actually, the only thing I think I have to do is correct a few levels after lvl 50 then I can start on this project since you are gonna make it open source.)
__________________

I need Zune Social Friends: Sir Justin1020





sir justin is offline   Reply With Quote
Old 01-06-2009, 09:28 AM   #32 (permalink)
Zuner
 
Join Date: Dec 2008
Posts: 91
AndroidAdam is on a distinguished road
Default

So can you code, or will you just be supplying input?



AndroidAdam is offline   Reply With Quote
Old 01-06-2009, 10:28 AM   #33 (permalink)
Experienced Zuner
 
Namakemono45's Avatar
 
Join Date: Nov 2008
Location: Chicago Suburbs, Illinois, USA
Posts: 155
Namakemono45 will become famous soon enough
Send a message via AIM to Namakemono45 Send a message via MSN to Namakemono45
Default

If you want to use my site I don't mind making you guys your own forum, I know its easier to discuss issues when you can make a thread for each one (Zune TD has a nice number for how completed it was when I made it). Just let me know via PM or e-mail.

If you host it on my forum I can easily help you with any programming questions as well.

I can attest to how good sir justin is at balancing, my only complaint is that he got stuck and kept wanting to make all towers cost the same

Its not really an option in an SRPG though.
__________________
I am working on:
Zune TD - Version 1.0.5 released 2/25/2009
Zune TD - Version 2.0.0 Unreleased (50% done)

Last edited by Namakemono45; 01-06-2009 at 10:31 AM.





Namakemono45 is offline   Reply With Quote
Old 01-06-2009, 11:14 AM   #34 (permalink)
Jr. Zuner
 
xxafallenheroxx's Avatar
 
Join Date: Dec 2008
Location: Illinios, USA
Posts: 39
xxafallenheroxx is on a distinguished road
Default

yeah make a forum for it and make me moderator of it k nam? also once it is made give me link, ima post in the first post so other tram members will know were to go
__________________
Dont Forget To Bring A Towel!


Help Out With Zune Empire





xxafallenheroxx is offline   Reply With Quote
Old 01-06-2009, 12:33 PM   #35 (permalink)
Jr. Member
 
sir justin's Avatar
 
Join Date: Jul 2008
Location: Ohio
Posts: 303
sir justin is on a distinguished road
Send a message via AIM to sir justin
Default

Alright yeah count me in also!! HEY what do you mean I was making all the towers the same!! haha, ok maybe at the beginning
__________________

I need Zune Social Friends: Sir Justin1020





sir justin is offline   Reply With Quote
Old 01-06-2009, 12:36 PM   #36 (permalink)
Jr. Zuner
 
xxafallenheroxx's Avatar
 
Join Date: Dec 2008
Location: Illinios, USA
Posts: 39
xxafallenheroxx is on a distinguished road
Default

check the first post. i got you all down under team

Quote:
Originally Posted by AndroidAdam View Post
Yeah, not modern. Anyways basically the map size has to be at least 240 X 320. As that's the size of the zune screen. So multiples of that would be good.

Like a 480 X 640. Just however big and wide you want it.


yeah bout the map andriod you said 240x320 is the size of the screen. but the game is gunna scroll right? so it wouldnt matter what size
__________________
Dont Forget To Bring A Towel!


Help Out With Zune Empire

Last edited by Bolt; 01-06-2009 at 01:34 PM.





xxafallenheroxx is offline   Reply With Quote
Old 01-06-2009, 04:18 PM   #37 (permalink)
Zuner
 
Join Date: Dec 2008
Posts: 91
AndroidAdam is on a distinguished road
Default

I was just j/king. basically I meant don't make it smaller than that and we'll be good.



AndroidAdam is offline   Reply With Quote
Old 01-07-2009, 12:34 PM   #38 (permalink)
Jr. Member
 
sir justin's Avatar
 
Join Date: Jul 2008
Location: Ohio
Posts: 303
sir justin is on a distinguished road
Send a message via AIM to sir justin
Default

Alright! Well, once we have a running game going I will be able to test my balancing. I will make rough information soon but I wont be able to test yet.
__________________

I need Zune Social Friends: Sir Justin1020





sir justin is offline   Reply With Quote
Old 01-07-2009, 08:32 PM   #39 (permalink)
Experienced Zuner
 
Namakemono45's Avatar
 
Join Date: Nov 2008
Location: Chicago Suburbs, Illinois, USA
Posts: 155
Namakemono45 will become famous soon enough
Send a message via AIM to Namakemono45 Send a message via MSN to Namakemono45
Default

Didnt check the post for awhile, thought you were going to PM me

Working on the forum now. Unless you ask me other wise its all going to be public though.

EDIT: I added one board for you, you should be able to create your own now though.
__________________
I am working on:
Zune TD - Version 1.0.5 released 2/25/2009
Zune TD - Version 2.0.0 Unreleased (50% done)

Last edited by Namakemono45; 01-07-2009 at 08:38 PM.





Namakemono45 is offline   Reply With Quote
Old 01-08-2009, 02:25 PM   #40 (permalink)
Zuner
 
Join Date: Dec 2008
Posts: 91
AndroidAdam is on a distinguished road
Default

Apologies, I don't know where your site is or your board. Could you drop a link?



AndroidAdam is offline   Reply With Quote
Reply

Bookmarks

Thread Tools