Advertisement



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

New Member?



 
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

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 06-16-2008, 07:54 PM   #21 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Reputation: 13
Default


Quote:
Originally Posted by Robert13 View Post
i obviously meant to add enemies too...
Except that as SimReality already pointed out, upon adding enemies and moving in close to them the framerate drops to barely-playable speeds.... so you would just be in the same boat unless you took the time to optimize the code and make it run faster.







Spike! is offline   Reply With Quote
Old 06-16-2008, 10:22 PM   #22 (permalink)
Senior Zuner
 
jackluo923's Avatar
 
Join Date: Dec 2007
Location: Greater Vancouver BC
Posts: 1,275
Reputation: 122
Send a message via MSN to jackluo923
Default

Quote:
Originally Posted by SimReality View Post
Yes it is easy to add all of that. But then you'll see all the same performance issues I ran into. A shooter at 15fps on a Zune isn't much fun. You'll need to put in a lot of work optimizing it or it just won't be fast enough to be fun.
Could you possibly send me your "15fps" shooter game with shooting device? I just want to make my own wall texture, sprites, map and shooting device. I've just started to learn VS and I can get some help from itsnotbigtruck (SIRTET). So far, the game runs pretty smooth with my own highresolution sprites and more detailed wall textures with my own map with zune 30. I usually get about 60fps when i'm walking normally and only dips down to 15fps when i do some quick turns really close to the huge sprite.

Thanks
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Last edited by jackluo923 : 06-17-2008 at 10:20 AM.




jackluo923 is offline   Reply With Quote
Old 06-17-2008, 04:55 AM   #23 (permalink)
Experienced Zuner
 
Join Date: May 2008
Posts: 187
Reputation: 16
Default

i guess we really would have to wait until the 3.0 release to get that potatoe chase engine because they say they had 8 people playing it at once.
__________________
Jesus is Lord

Celebrity wallpapers coming to a zune near you!



zunebro is offline   Reply With Quote
Old 06-17-2008, 10:10 AM   #24 (permalink)
Senior Zuner
 
jackluo923's Avatar
 
Join Date: Dec 2007
Location: Greater Vancouver BC
Posts: 1,275
Reputation: 122
Send a message via MSN to jackluo923
Default

Quote:
Originally Posted by zunebro View Post
i guess we really would have to wait until the 3.0 release to get that potatoe chase engine because they say they had 8 people playing it at once.
You're so clueless. SimReality stopped working on this project. This raycaster engine is AS IS so there will not be any more updates.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




jackluo923 is offline   Reply With Quote
Old 06-17-2008, 12:14 PM   #25 (permalink)
Experienced Zuner
 
Join Date: May 2008
Posts: 187
Reputation: 16
Default

Quote:
Originally Posted by jackluo923 View Post
You're so clueless. SimReality stopped working on this project. This raycaster engine is AS IS so there will not be any more updates.
bro far from clueless yes sim has stop working on it but obivously the one they used in potato chase isnt the one he created.
__________________
Jesus is Lord

Celebrity wallpapers coming to a zune near you!



zunebro is offline   Reply With Quote
Old 06-17-2008, 12:18 PM   #26 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Reputation: 13
Default

Quote:
Originally Posted by zunebro View Post
bro far from clueless yes sim has stop working on it but obivously the one they used in potato chase isnt the one he created.
For the love of....it's not like there's RayCasting type A type B type C and so on. RayCasting is RayCasting, the only problem with his is that it's too slow on the Zune when adding enemies and other objects into the field. All it needs is to be optimized to run faster, which he has said he dosen't have the time for. Stop going back to the same thing with 'potato chase' which you forget was developed within Microsoft. (or XNA team I forget which but the point is the same, it's a group of people) If you want it so bad, stop being lazy, take the time to learn C# and work with XNA to make your own.




Spike! is offline   Reply With Quote
Old 06-17-2008, 02:47 PM   #27 (permalink)
Experienced Zuner
 
Join Date: May 2008
Posts: 187
Reputation: 16
Default

i will leave this alone but bro im cool. my life dont depend on whether what happens on zune. there are others on here that are programmers as well so just maybe i am speaking to those that might have wanted to give it a shot. check this i never was into those type of games so i have no desire to see doom or others. why did you even respond to that message anyway?
__________________
Jesus is Lord

Celebrity wallpapers coming to a zune near you!



zunebro is offline   Reply With Quote
Old 06-17-2008, 02:54 PM   #28 (permalink)
Senior Zuner
 
jackluo923's Avatar
 
Join Date: Dec 2007
Location: Greater Vancouver BC
Posts: 1,275
Reputation: 122
Send a message via MSN to jackluo923
Default

I'm currently modifying this game engine to make 2 games.
1) A maze sort of game. Right now, I can make maze easily from very easy ones to ones that you'll take 5-10 days to figure out.
2) A game for personal use. The sprites will be my friends and the goal is to find them and shoot them with a gun.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




jackluo923 is offline   Reply With Quote
Old 06-17-2008, 03:12 PM   #29 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
Default

Quote:
Originally Posted by jackluo923 View Post
I1) A maze sort of game. Right now, I can make maze easily from very easy ones to ones that you'll take 5-10 days to figure out.
Nice. Are you going to have algorithmically generated mazes? Infinite replayability at that point.
Quote:
2) A game for personal use. The sprites will be my friends and the goal is to find them and shoot them with a gun.
... Interesting.



SimReality is offline   Reply With Quote
Old 06-17-2008, 04:41 PM   #30 (permalink)
Senior Zuner
 
jackluo923's Avatar
 
Join Date: Dec 2007
Location: Greater Vancouver BC
Posts: 1,275
Reputation: 122
Send a message via MSN to jackluo923
Default

Quote:
Originally Posted by SimReality View Post
Nice. Are you going to have algorithmically generated mazes? Infinite replayability at that point.
... Interesting.
No, not at this point. Right now I use a maze generator to generate maze, then use ASCII generator to generate text, then use notepad to insert spaces between the characters.
In the future, i would like to put the maze algorithm inside the game, but right now I don't have that kind of skill.

FOr the my 2) (shooting at my friends), may I obtain your "zune shooter" source code or the part where it adds the gun/shooting device to the Raycasting game? This game will never be released and is only for my personal enjoyment.

Jack
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




jackluo923 is offline   Reply With Quote
Old 06-17-2008, 04:51 PM   #31 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
Default

I never got as far as to add shooting into the ZuneShooter code. All I did was render the gun on top of the screen. I did have it make sounds when you pressed fire, but it never actually did anything.



SimReality is offline   Reply With Quote
Old 06-17-2008, 04:59 PM   #32 (permalink)
Senior Zuner
 
jackluo923's Avatar
 
Join Date: Dec 2007
Location: Greater Vancouver BC
Posts: 1,275
Reputation: 122
Send a message via MSN to jackluo923
Default

For 1) (maze game)
Do you know on top of your head how to change where the game starts.
eg of a map file.
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 3 4
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 1
1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1
1 1 1 1 1 1 0 0 1 1 0 0 1 1 1 1 1 0 0 0 1 0 0 1 1 1 1 1 1 0 0 1 1 0 0 1 1 1 1 1
1 1 1 1 1 1 0 0 1 1 0 0 1 1 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 0 0 1 1 0 0 1 1 1 1 1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 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1
1 1 0 0 1 1 0 0 1 1 1 1 1 1 1 1 1 1 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1
1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1
1 1 0 0 1 1 1 1 1 1 1 1 1 1 0 0 1 1 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 0 0 1 1 1 1 1 1 1 1 1 1 0 0 1 1 0 0 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

For some reason, i started in a 4 sided closed box. It would be awesome if you can tell me which line of code to change if I want the game to start in a different place


May I have your Zune shooter code anyways even if the shooting is not finished? I can get some help from other developers from zuneboards to implent it for my 2) non-release game.

Jack
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




jackluo923 is offline   Reply With Quote
Old 06-17-2008, 05:18 PM   #33 (permalink)
zB Programmer
Member
 
Lucifer's Avatar
 
Join Date: Feb 2008
Posts: 608
Reputation: 466
Default

Part of the problem is that the zune slows down somewhat whenever it uses Alpha blending in games, try to do a zune FPS without alpha blending, attempt some ALTERNATIVE means of overlapped rendering (in 2-2.5D)




Lucifer is offline   Reply With Quote
Old 06-17-2008, 05:40 PM   #34 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
Default

Jack: All you have to do is set the Camera's position when the game starts up. The camera should always start at X.5 and Y.5 (meaning halfway between values) so that it's centered in a square. The X represents the rows in the map file and the Y represents the columns (a little backwards, I know). So you might use something like

camera.Position = new Vector2(3.5f, 2.5f);

And it should start him in that top-left 0 in your map. Let me know if that helps you out.

Also take a look at the Initialize method in my demo game's code: http://www.codeplex.com/raycasterx/S...ngeSetId=12928.



SimReality is offline   Reply With Quote
Old 06-17-2008, 05:44 PM   #35 (permalink)
Senior Zuner
 
jackluo923's Avatar
 
Join Date: Dec 2007
Location: Greater Vancouver BC
Posts: 1,275
Reputation: 122
Send a message via MSN to jackluo923
Default

Thank you. Your explaination was much more clearer than itsnotabigtruck's. BTW, your game engine does not lag at all even when i get close t my custom sprite. I have zune 30btw, so i think zune 30 is indeed faster than 2nd gen zune.

Edit: after looking at the code, i've figured out how to add sprites and place them where I wanted. The code for the sprites is a few lines under the Camera code and data is very similar to the camera code. Thank you again for your help.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Last edited by jackluo923 : 06-17-2008 at 05:49 PM.




jackluo923 is offline   Reply With Quote
Old 06-17-2008, 07:34 PM   #36 (permalink)
Experienced Zuner
 
Robert13's Avatar
 
Join Date: May 2008
Posts: 126
Reputation: 10
Default

just wondering. Would it be possible to add a cross hair?
And i would actually like the version with the gun and sounds. lol.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



Robert13 is offline   Reply With Quote
Old 06-17-2008, 08:09 PM   #37 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
Default

I'm not releasing the code from ZuneShooter except for what was included with RaycasterX. Sorry.



SimReality is offline   Reply With Quote
Old 06-17-2008, 08:13 PM   #38 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
Default

Quote:
Originally Posted by jackluo923 View Post
Thank you. Your explaination was much more clearer than itsnotabigtruck's. BTW, your game engine does not lag at all even when i get close t my custom sprite. I have zune 30btw, so i think zune 30 is indeed faster than 2nd gen zune.
Try having three sprites on screen. Like one right in front of you, another visible through some transparent part of the first, and a third behind the second. That gives you like 4 layers of rendering (three sprites and walls). See how that fares.



SimReality is offline   Reply With Quote
Old 06-17-2008, 08:18 PM   #39 (permalink)
Senior Zuner
 
jackluo923's Avatar
 
Join Date: Dec 2007
Location: Greater Vancouver BC
Posts: 1,275
Reputation: 122
Send a message via MSN to jackluo923
Default

Quote:
Originally Posted by SimReality View Post
Try having three sprites on screen. Like one right in front of you, another visible through some transparent part of the first, and a third behind the second. That gives you like 4 layers of rendering (three sprites and walls). See how that fares.
I'll try layer 3 devil sprites and see how "slow" it is. I'll be right back.

I changed the sprites codes to

//add some sprites to the level
//sprites.Add(new Sprite(new Vector2(6.5f, 7.5f), Content.Load<Texture2D>("Sprites/devil")));
//sprites.Add(new Sprite(new Vector2(7.5f, 7.5f), Content.Load<Texture2D>("Sprites/devil")));
//sprites.Add(new Sprite(new Vector2(8.5f, 7.5f), Content.Load<Texture2D>("Sprites/devil")));


the sprites disappeared.

Also, I cannot run the game on my computer to test it out because my graphic card computer is too old so testing will remain on the zune.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Last edited by jackluo923 : 06-17-2008 at 08:26 PM.




jackluo923 is offline   Reply With Quote
Old 06-17-2008, 08:26 PM   #40 (