It is currently Wed Dec 12, 2018 2:16 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Dec 03, 2018 3:46 pm 
Offline
User avatar

Joined: Fri Nov 24, 2017 2:40 pm
Posts: 95
My business partner and I just got a Vive for a VR project we are starting soon. With the Global Game Jam comming up in a couple months, It occurred to me that he's almost definitely going to want to make a VR game and I definitely want to make another NES game.

So I had a silly idea... There is probably an NES emulator that could be embedded into a Unity3D/VR project without too much trouble, and a VR game partly written on the NES would be an amusing idea. After some searching around, the only project I could find was the guy that made the (closed source) 3D NES emulator. Neat, but not helpful in this case.

So has anybody here had any luck embedding an open source C# emulator in Unity?


Top
 Profile  
 
PostPosted: Sat Dec 08, 2018 9:49 am 
Offline
User avatar

Joined: Fri Nov 24, 2017 2:40 pm
Posts: 95
I made some progress on this last night. I back ported this to C# 4 that Unity uses: https://github.com/Xyene/Emulator.NES

Image

It's not the fastest (so it works well in Unity, lol). I might have to spend some time optimizing it. The beta version of Unity finally supports modern C#, so I might be able to put some of the inlining attributes back in at least.


Top
 Profile  
 
PostPosted: Sun Dec 09, 2018 1:17 am 
Offline
User avatar

Joined: Fri Nov 24, 2017 2:40 pm
Posts: 95
With a little prodding this runs quite smoothly. I threw in some analitical anti-aliasing so it looks nice and crisp when upscaling. :D

Image


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 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