Go Back   ZuneBoards > 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.

Closed Thread
 
LinkBack (1) Thread Tools
Old 06-10-2008, 11:54 AM   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Experienced Member
 
Tiptup300's Avatar
 
Join Date: Apr 2008
Posts: 893
Tiptup300 has disabled reputation
Default Gameboy Emulator + Raycasting Demo - Unfinished

Gameboy Emulator
http://www.codeplex.com/GameKnight
Ported from directx + windows forms to xna

Link: http://smwstuff.com/tiptup300/GameKnight.rar

Raycasting Demo

http://www.beatthemachine.com/Projec...ts_raycast.htm
Ported from directx + windows forms to xna

Link: http://smwstuff.com/tiptup300/RayCaster.rar



Not finishing either. Please download and modify. The code I made in it is unlicensed. The code by their creators are based on their own license.



Tiptup300 is offline  

Advertisement [Remove Advertisement]
Old 06-10-2008, 12:11 PM   #2 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
SimReality will become famous soon enough
Default

Rock solid. Time for me to have some fun.



SimReality is offline  
Old 06-10-2008, 12:33 PM   #3 (permalink)
Experienced Member
 
LedZepp's Avatar
 
Join Date: Mar 2007
Posts: 976
LedZepp has a spectacular aura aboutLedZepp has a spectacular aura about
Default

Very nice Tiptup, this is going to make everything a bit more interesting.
+rep




LedZepp is offline  
Old 06-10-2008, 12:42 PM   #4 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Spike! is on a distinguished road
Default

While the Emulator is awesome, I'd say im more excited to see what comes of the RayCasting Engine. I want me some Doom




Spike! is offline  
Old 06-10-2008, 12:46 PM   #5 (permalink)
Zune Guardian
 
birdman's Avatar
 
Join Date: Jan 2008
Location: earth
Posts: 758
birdman will become famous soon enough
Default

So is the emulator going to be able to go onto the zune so we can play any gameboy game?
__________________
I don't like you.




birdman is offline  
Old 06-10-2008, 12:50 PM   #6 (permalink)
Experienced Zuner
 
Join Date: Jun 2008
Posts: 141
sk8er209 is on a distinguished road
Default

so people who don't have knowledge about about this stuff are not going to be able to use this?
__________________




sk8er209 is offline  
Old 06-10-2008, 12:54 PM   #7 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Spike! is on a distinguished road
Default

Quote:
Originally Posted by sk8er209 View Post
so people who don't have knowledge about about this stuff are not going to be able to use this?
Well that's kind of obvious, since this is Development Discussions and not the Completed Games forum.




Spike! is offline  
Old 06-10-2008, 04:36 PM   #8 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

if NES emulators don't work, will gameboy emulators really work?




cable729 is offline  
Old 06-10-2008, 04:52 PM   #9 (permalink)
Zuner
 
Join Date: May 2008
Posts: 61
Pauliver is on a distinguished road
Send a message via AIM to Pauliver Send a message via MSN to Pauliver
Default

nes emulator works runs at 7 fps

thanks tiptup

Last edited by Pauliver; 06-10-2008 at 04:55 PM. Reason: spelling



Pauliver is offline  
Old 06-10-2008, 04:53 PM   #10 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
SimReality will become famous soon enough
Default

He just ported it. It doesn't necessarily run the quickest. I haven't tried (too busy getting that ray casting thing running faster), so I'm not sure. I have gotten the ray casting demo integrated into my code base and running a couple frames per second faster using some nicer textures .



SimReality is offline  
Old 06-10-2008, 04:56 PM   #11 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

Quote:
Originally Posted by Pauliver View Post
nes emulator works runs at 7 fps

thanks tiptup
it does?




cable729 is offline  
Old 06-10-2008, 04:58 PM   #12 (permalink)
Zuner
 
Join Date: May 2008
Posts: 61
Pauliver is on a distinguished road
Send a message via AIM to Pauliver Send a message via MSN to Pauliver
Default

yes



Pauliver is offline  
Old 06-10-2008, 05:01 PM   #13 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

so how do we work these emulators, and where do we dlownload the nes games?




cable729 is offline  
Old 06-10-2008, 05:04 PM   #14 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Spike! is on a distinguished road
Default

Quote:
Originally Posted by SimReality View Post
He just ported it. It doesn't necessarily run the quickest. I haven't tried (too busy getting that ray casting thing running faster), so I'm not sure. I have gotten the ray casting demo integrated into my code base and running a couple frames per second faster using some nicer textures .
Doom? DOOM!? Must have ZuneDoom




Spike! is offline  
Old 06-10-2008, 05:17 PM   #15 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Posts: 410
SimReality will become famous soon enough
Default

Quote:
Originally Posted by Spike! View Post
Doom? DOOM!? Must have ZuneDoom
Might not be Doom, but that's the general style of game I'm shooting for. I have mine running at about 27fps now and I'm sure I can get it running faster. There are also some glitches in collision detection that need fixing. And the whole thing is messy (you can tell that the original author of the C# code was a C++ coder for sure). But we'll see how long until I'm able to show a nice video of it.



SimReality is offline  
Old 06-10-2008, 05:19 PM   #16 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Spike! is on a distinguished road
Default

Quote:
Originally Posted by SimReality View Post
Might not be Doom, but that's the general style of game I'm shooting for. I have mine running at about 27fps now and I'm sure I can get it running faster. There are also some glitches in collision detection that need fixing. And the whole thing is messy (you can tell that the original author of the C# code was a C++ coder for sure). But we'll see how long until I'm able to show a nice video of it.
Well it's definatly alot of progress in a short amount of time. Wether it's Doom or an origional game, an FPS-type game using this Ray Casting engine would be immediatly popular.




Spike! is offline  
Old 06-10-2008, 05:25 PM   #17 (permalink)
Expert Zuner
 
Soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 3,031
Soccerfreak24 is just really niceSoccerfreak24 is just really niceSoccerfreak24 is just really nice
Default

Hmm.. Glad to see a gameboy emulator, but playing games at 7 fps could be a bit fail. Good work none the less for the find.
__________________





Soccerfreak24 is offline  
Old 06-10-2008, 05:27 PM   #18 (permalink)
Zuner
 
Join Date: May 2008
Posts: 61
Pauliver is on a distinguished road
Send a message via AIM to Pauliver Send a message via MSN to Pauliver
Default

The gameboy emulator should be portable as well, There will be a bit of work that needs to be done be there.

The core of the problem is that if you want to set data in a zune texture you need to use the type Color, the NES emulator and this emulator seem to be using uint [or short] which doesn't get the same output color wise on the zune as it does on windows.

From the tests i did it appears that if you do not use color you get no output, while if you do use Color (specifically in)

Code:
TextureName.SetData<Color>( ect..
then things work. I could be wrong there might be other ways to get things working, this is just what i have found.



Pauliver is offline  
Old 06-10-2008, 05:33 PM   #19 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Spike! is on a distinguished road
Default

Quote:
Originally Posted by Pauliver View Post
The gameboy emulator should be portable as well, There will be a bit of work that needs to be done be there.

The core of the problem is that if you want to set data in a zune texture you need to use the type Color, the NES emulator and this emulator seem to be using uint [or short] which doesn't get the same output color wise on the zune as it does on windows.

From the tests i did it appears that if you do not use color you get no output, while if you do use Color (specifically in)

Code:
TextureName.SetData<Color>( ect..
then things work. I could be wrong there might be other ways to get things working, this is just what i have found.
I think the biggest problem would be getting the zune to reconize the ROM's to play. Unless, you somehow 'prepackaged' the emulator with one ROM and released it at one game at a time. Like, Emulator + Pokemon Game = One release, or something.




Spike! is offline  
Old 06-10-2008, 06:05 PM   #20 (permalink)
Experienced Member
 
LedZepp's Avatar
 
Join Date: Mar 2007
Posts: 976
LedZepp has a spectacular aura aboutLedZepp has a spectacular aura about
Default

Quote:
Originally Posted by Spike! View Post
I think the biggest problem would be getting the zune to reconize the ROM's to play. Unless, you somehow 'prepackaged' the emulator with one ROM and released it at one game at a time. Like, Emulator + Pokemon Game = One release, or something.
You can just drop the rom files in the content folder, set their build action to none, and to copy them to the output folder if newer.
Although it will take a while to copy the rom files over to the zune i believe.




LedZepp is offline  
Closed Thread

Bookmarks

Thread Tools