Sponsors



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

New Member?



 
Register Zunecentive 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-14-2008, 07:00 PM   #1 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default RaycasterX Release

http://www.codeplex.com/raycasterx

RaycasterX is an MIT-licensed project geared towards the creation of a full raycasting engine for XNA. Currently RaycasterX is built against the XNA Game Studio 3.0 CTP providing support on both Windows and Zune. Xbox 360 support will be added when a version of XNA Game Studio 3.0 is released that supports Xbox 360 building and deployment.

RaycasterX is primarily based on the tutorials of Lode Vandevenne found here: http://student.kuleuven.be/~m0216922/CG/. Some changes and extensions have been added both for ease of use and the transition from C++ to C#.

This is the base engine I used for my ZuneShooter WIP. I have decided to stop working on that project for a couple reasons:
1) Performance on the Zune just couldn't keep up and I'm too pre-occupied with DreamBuildPlay (http://dreambuildplay.com/main/default.aspx) to spend much time with it.
2) It really isn't that fun. Controls on the Zune just aren't fun for playing a first person shooter.

However if you disagree, here's the full raycasting rendering code you need to start putting a shooter (or RPG or racing game or whatever) together. Have fun!



SimReality is offline   Reply With Quote
Remove Advertisements Sponsored Links
Advertisement
 
Old 06-14-2008, 07:14 PM   #2 (permalink)
zB Programmer
Experienced Member
 
LedZepp's Avatar
 
Join Date: Mar 2007
Posts: 966
Reputation: 114
$zB: 626
Donate
Default

Could you elaborate on this part:
Quote:
Performance on the Zune just couldn't keep




LedZepp is offline   Reply With Quote
Old 06-14-2008, 07:27 PM   #3 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

The Zune was only managing about 20fps once I tossed in just a couple bad guys. And if you got really close, it slowed down lots because of all the alpha blending it had to do for the transparent edges. So at times it would bog down to 2 or 3 fps if you got really close. I'm sure there are optimizations that can be made, but the Zune just wasn't keeping up with it. But even at the 15-20fps it was stable at, it was a little too jerky to be much fun.

However it was recently "discovered" by a bunch of us users that the 30GB models might actually have faster processors than the 4/8/80GB ones. Some people in the XNA forums reported that the 30GB would run their game around 60fps whereas the 4/8/80s would only run around 30fps. If that's true and it's just a framework thing, then we'll be all set. If it's a hardware thing, then that really sucks. I use an 8gb one so being able to have more power there would be great.

Beyond that, the ZuneShooter's main problem was point 2. It's just not really fun to play it on a Zune. I used the touchpad to move/rotate with Play as shoot. Clicking in the middle button reloaded. It was too hard to really move around, my hands got really cramped, and it just wasn't as much fun as I was hoping. Maybe something more akin to Doom RPG or Orcs & Elves would be better since it wouldn't be fast paced. And raycasting could still be used for the 3D environment.

Last edited by SimReality : 06-14-2008 at 07:30 PM.



SimReality is offline   Reply With Quote
Old 06-14-2008, 07:59 PM   #4 (permalink)
Support Team
Expert Zuner
 
soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 2,890
Reputation: 178
$zB: 39
Donate
Default

No's! I'm sorry to hear this game was canceled, I too was much looking forward to it. Hopefully someone uses what you have created to make some sort of game.
__________________

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.





soccerfreak24 is offline   Reply With Quote
Old 06-15-2008, 03:51 AM   #5 (permalink)
Zuner
 
Join Date: Jan 2008
Posts: 54
Reputation: 31
$zB: 54
Donate
Default

Thanks for releasing this. I pm'd you but never got a response, but this is just as good I suppose. I am currently trying to use this for a game. Hopfully it will turn out how i am envisioning it!



Manticore-X is offline   Reply With Quote
Old 06-15-2008, 04:31 AM   #6 (permalink)
Jr. Member
 
ZeroCool2021's Avatar
 
Join Date: May 2007
Location: Zune land
Posts: 252
Reputation: 14
$zB: 46
Donate
Default

I can't get it to work.....
one of them builds but cant deploy
and one can't build


"This is just visual, I don't want anyone to think Half-Life is coming to zune"

Quote:
You do know this isn't a game, right?
Yes, the first download worked for me, but "RaycasterX" wont work
I thought maybe he added stuff
__________________
Check out my site "Work In Progress"

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 ZeroCool2021 : 06-17-2008 at 12:26 AM.




ZeroCool2021 is offline   Reply With Quote
Old 06-15-2008, 04:40 AM   #7 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Reputation: 13
$zB: 158
Donate
Default

Quote:
Originally Posted by ZeroCool2021 View Post
I can't get it to work.....
one of them builds but cant deploy
and one can't build
You do know this isn't a game, right?




Spike! is offline   Reply With Quote
Old 06-15-2008, 08:52 AM   #8 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

There is a demo game in there. When you open the project you first right click on RaycasterX Demo [zune] and select "Set as StartUp Project". Then go up top and switch the platform from x86 to Zune (there's a drop down near the run button). Then you should be able to build and deploy to the Zune. Granted it's a real basic demo and it's exactly the same as if you run it on PC, but it's there.

But yes, the whole thing is largely intended for the developer crowds. If you aren't a developer, you really aren't getting much out of this.



SimReality is offline   Reply With Quote
Old 06-15-2008, 08:59 AM   #9 (permalink)
Support Team
Expert Zuner
 
soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 2,890
Reputation: 178
$zB: 39
Donate
Default

Quote:
Originally Posted by Manticore-X View Post
Thanks for releasing this. I pm'd you but never got a response, but this is just as good I suppose. I am currently trying to use this for a game. Hopfully it will turn out how i am envisioning it!
Whoa, what are you thinkin of making?
__________________

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.





soccerfreak24 is offline   Reply With Quote
Old 06-15-2008, 03:19 PM   #10 (permalink)
Zuner
 
Join Date: Jan 2008
Posts: 54
Reputation: 31
$zB: 54
Donate
Default

ok fail . I am actually not using this engine. It doesn't work for what I am trying to do. So a friend and I are going to attempt to create our own engine. Heh.....we'll see how it turns out...



Manticore-X is offline   Reply With Quote
Old 06-15-2008, 04:21 PM   #11 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Reputation: 13
$zB: 158
Donate
Default

Quote:
Originally Posted by Manticore-X View Post
ok fail . I am actually not using this engine. It doesn't work for what I am trying to do. So a friend and I are going to attempt to create our own engine. Heh.....we'll see how it turns out...
Well i'm not very savvy with C#, but Raycasting is the only way to render "3D - esque" graphics on the Zune. Unless your referring to something else when you say creating your own Engine.




Spike! is offline   Reply With Quote
Old 06-15-2008, 05:58 PM   #12 (permalink)
Experienced Zuner
 
Robert13's Avatar
 
Join Date: May 2008
Posts: 126
Reputation: 10
$zB: 110
Donate
Default

Ok, couldn't someone easily add a gun and cross hair. Plus the ability to shoot?
__________________

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-16-2008, 03:52 AM   #13 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Reputation: 13
$zB: 158
Donate
Default

Quote:
Originally Posted by Robert13 View Post
Ok, couldn't someone easily add a gun and cross hair. Plus the ability to shoot?
...why? So you can run around empty hallways shooting at nothing?




Spike! is offline   Reply With Quote
Old 06-16-2008, 04:58 AM   #14 (permalink)
zB Programmer
Jr. Member
 
DiNoGames's Avatar
 
Join Date: May 2008
Location: Bremen, germany
Posts: 347
Reputation: 101
Send a message via Skype™ to DiNoGames
$zB: 257
Donate
Default

I played around with it yesterday and I already got a few nice things working...

I added some kind of fog. Now things that are close are visible and the greater the distance the the camera, the darker the things get... this add a bit of spooky athmosphere.

It runs very nice on my 80GB Zune, and I don't think the 80GB Zune has another processor than the 8GB. I will definetely use this engine for some kind of small game in the near future (and I already know what game I will do)

Great stuff so far Nick.
__________________

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.






DiNoGames is offline   Reply With Quote
Old 06-16-2008, 06:59 AM   #15 (permalink)
Jr. Member
 
Join Date: Nov 2006
Posts: 307
Reputation: 20
Send a message via MSN to Ricardo Dawkins
$zB: 234
Donate
Default

Quote:
Originally Posted by DiNoGames View Post
I played around with it yesterday and I already got a few nice things working...

I added some kind of fog. Now things that are close are visible and the greater the distance the the camera, the darker the things get... this add a bit of spooky athmosphere.

It runs very nice on my 80GB Zune, and I don't think the 80GB Zune has another processor than the 8GB. I will definetely use this engine for some kind of small game in the near future (and I already know what game I will do)

Great stuff so far Nick.
dude..are you human ?

I dont think you can work on so many things w/o falling apart.
__________________

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.

Black Zune 80 & Samsung YH-J70 + Zune 80 Premium + AKG K26p + JVC HA-FX33 Blue -Marshmallows-





Ricardo Dawkins is offline   Reply With Quote
Old 06-16-2008, 07:17 AM   #16 (permalink)
Support Team
Expert Zuner
 
soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 2,890
Reputation: 178
$zB: 39
Donate
Default

Quote:
Originally Posted by DiNoGames View Post
I played around with it yesterday and I already got a few nice things working...

I added some kind of fog. Now things that are close are visible and the greater the distance the the camera, the darker the things get... this add a bit of spooky athmosphere.

It runs very nice on my 80GB Zune, and I don't think the 80GB Zune has another processor than the 8GB. I will definetely use this engine for some kind of small game in the near future (and I already know what game I will do)

Great stuff so far Nick.
You are my hero Dino games, I don't know how you can possibly be creating so many amazing games at once! +rep.
__________________

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.





soccerfreak24 is offline   Reply With Quote
Old 06-16-2008, 10:25 AM   #17 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

Actually the 4, 8, and 80GB models all have the same processor in them (or so I was told). The basic raycasting works great for me as well. Usually around 27-35 fps. The performance hit usually comes in when you start adding a few sprites and have them all on screen at once.



SimReality is offline   Reply With Quote
Old 06-16-2008, 11:03 AM   #18 (permalink)
Experienced Zuner
 
Robert13's Avatar
 
Join Date: May 2008
Posts: 126
Reputation: 10
$zB: 110
Donate
Default

Quote:
Originally Posted by Spike! View Post
...why? So you can run around empty hallways shooting at nothing?
i obviously meant to add enemies too...
__________________

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-16-2008, 11:36 AM   #19 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
Reputation: 60
$zB: 353
Donate
Default

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.



SimReality is offline   Reply With Quote
Old 06-16-2008, 12:53 PM   #20 (permalink)
Zuner
 
Join Date: Jun 2008
Posts: 55
Reputation: 11
$zB: 42
Donate
Default

Quote:
Originally Posted by SimReality View Post

However it was recently "discovered" by a bunch of us users that the 30GB models might actually have faster processors than the 4/8/80GB ones. Some people in the XNA forums reported that the 30GB would run their game around 60fps whereas the 4/8/80s would only run around 30fps. If that's true and it's just a framework thing, then we'll be all set. If it's a hardware thing, then that really sucks.
Woot go 30 gig ! lol, it does suck not having a touch pad though... Anyway I am sorry the game didn't work out, but good luck with the contest.



seifer93 is offline   Reply With Quote