Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 May, 2013, 16:44:37 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 2 [3] 4 5 ... 14   Go Down
  Print  
Author Topic: nDOOM - Work in progress -  (Read 19572 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 10:41:33
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Total Post Ratings: +151

View Profile
« Reply #30 on: 02 January, 2011, 12:52:19 »
0

also, rewriting the whole event system, as the original used function pointers with arguments, which the Nspire doesn't seem to like either], and that's it.

You may need special calls when defining arrays of function pointers, but function pointers themselves (with or without arguments) shouldn't be a problem. I would be interested by a test case that fails.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 08:36:08
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1853

Total Post Ratings: +208

View Profile WWW
« Reply #31 on: 02 January, 2011, 14:12:41 »
0

Wow, impressive indeed Smiley
And welcome to Omnimaga and the Nspire community Wink
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
Fast Crash
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 14 September, 2012, 22:28:07
Date Registered: 18 December, 2010, 16:36:07
Location: France
Posts: 192


Total Post Ratings: +39

View Profile
« Reply #32 on: 02 January, 2011, 14:28:04 »
0

 shocked Awesome !!!

I should buy a nSpire  Tongue
Logged
Art_of_camelot
The matrix has you.. ಠ_ಠ
Support Staff
LV12 Extreme Poster (Next: 5000)
*
Online Online

Last Login: Today at 16:16:56
Date Registered: 30 August, 2008, 04:55:55
Location: Dr. Light's Laboratory
Posts: 4384


Total Post Ratings: +149

View Profile WWW
« Reply #33 on: 02 January, 2011, 14:45:42 »
0

Wow... uh welcome to Omnimaga. That's one hell of a first post! Please excuse me while I go remove the bricks from my pants. Grin
Logged

Projects:
TBA! Coming to an 83+ near you!

NerdTests.com says I'm a Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!


Ranman
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Last Login: 23 April, 2013, 23:37:04
Date Registered: 16 October, 2008, 23:25:59
Posts: 1390


Total Post Ratings: +78

View Profile
« Reply #34 on: 02 January, 2011, 15:06:30 »
0

Wow... uh welcome to Omnimaga. That's one hell of a first post! Please excuse me while I go remove the bricks from my pants. Grin

Bricks? Oh yeah... LOL Cheesy

I think Mrakoplaz deserves an immediate promotion to utilize omnomirc. Wink
« Last Edit: 02 January, 2011, 15:10:49 by Ranman » Logged

Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator.  Download available here.
Mrakoplaz
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 11 April, 2012, 04:26:50
Date Registered: 01 January, 2011, 19:44:04
Location: Großherzogtum Luxemburg
Posts: 46


Topic starter
Total Post Ratings: +128

View Profile
« Reply #35 on: 02 January, 2011, 15:33:07 »
+4

Wow, I thought the initial response was amazing, but people seem to like the gif even more Grin
Thanks everyone, for your kind words!

For the people who asked about FPS, it is... somewhat strange. The movement/turning is really smooth, so is the lighting, even with 8 monsters at once shooting at you (and yes, this is on my real Nspire - CAS 2.0.1). However, the guns reload/fire about two times slower on the calculator than on the PC, which makes the game feel slow even though the movement is perfect. I'm guessing this is yet another bug, but I'll only investigate after I've fixed the big things. I am not sure, but I think the monsters still fire at the same rate, making the game almost impossible (at least for me!).
Needless to say, since the walking is so smooth, I don't think FPS will be a problem.

What could be a problem, however, is the display. Right now, the constrast is so bad on a real calculator that it is almost unplayable (you have problems even under a lamp!). At first, I thought it was because of the LCD (and the movement blur), but the contrast is equally horrible whether there's a million things all moving on the screen, or you're staring at a wall. Furthermore, running it with an inverted palette, the game is playable (but horribly confusing!). So I'm really hoping this is just a stupid palette bug, and not a limitation of the display.
As for the LCD blur itself... it's better than you'd expect (i.e. stuff is still visible while moving), but I really have to fix the low contrast in non-inverted mode. We'll see how it is after I've fiddled with it.

About the textures: I think the renderer is working perfectly, but the WAD loader is feeding it garbage data... if you consider that there's no distortion from any distance/angle, I think it's safe to rule out the renderer. There's another problem on a real calc, that it only seems to open the WAD file 30% of the time (on the emulator, it's about 95%). I'll work a bit on that, but debugging it is hard since it's pretty rare when emulated.

ExtendeD: I'll give a full report on what did/didn't work, as well as some test cases, after I fix the big bugs here and release the first somewhat playable version. One thing I must ask though, did anyone test the free() syscall on the CAS 2.0.1? It appears to crash the calc every time I call it, no matter if I'm freeing one byte or a thousand. Because of this, there's currently a memory leak of about 100kb each time you load a level...

PS: I almost forgot! I must apologize to Goplat and his amazing emulator, for not thanking him in the first post! The file transfer is still a bit iffy (I couldn't transfer the 4 meg WAD file, so I had to split it into 3 smaller files, then write a small program to merge them back together), but I can't complain, since the emulator is a blessing enough by itself. Good work!
« Last Edit: 02 January, 2011, 15:38:50 by Mrakoplaz » Logged

Silver Shadow
Beta Tester
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 21 December, 2011, 21:23:08
Date Registered: 03 October, 2008, 17:34:52
Location: France
Posts: 799


Total Post Ratings: +20

View Profile
« Reply #36 on: 02 January, 2011, 15:38:44 »
0

OMG! THIS IS AWESUM!!!  Grin
ME WANTS TEH CURRENT BUILD PLZ! Wink
Logged

Former Coder of Tomorrow

Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 08:36:08
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1853

Total Post Ratings: +208

View Profile WWW
« Reply #37 on: 02 January, 2011, 15:43:05 »
0

Ranman: well, Mrakoplaz will soon reach 5 posts anyway Smiley
He can also join #omnimaga, #ti and #inspired on EFNet, that's where the action lies. Let's also mention #cemetech for completeness, though there is less Nspire action there, AFAICT.

Quote
What could be a problem, however, is the display. [snip]
Yeah, the Nspire's screen is terrible, much worse than the screen models across the TI-68k and TI-Z80 series. I interpret this as another proof that TI designed that calculator for pure education purposes... The TI-68k & TI-Z80 screens aren't that great, but they do a decent job, so we could convincingly say that TI used a cheap screen in the Nspire, so that fast gaming would suck.

nDOOM could be a serious contender for ticalc POTY 2011 Smiley
« Last Edit: 02 January, 2011, 15:46:04 by Lionel Debroux » Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
critor
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 13:44:42
Date Registered: 14 July, 2009, 23:57:37
Location: Aix-Marseille, France
Posts: 1718


Total Post Ratings: +367

View Profile WWW
« Reply #38 on: 02 January, 2011, 15:47:08 »
0

Mrakoplaz ->

You might let the user set the LCD contrast while playing.
You just need to read/write to 0x900F0020.

Sadly, the LCD blur is normal with the Nspire.

I think there is some bug with the wall textures...
Although floor and ceiling textures seem to be rendered properly, wall textures look just as if the tile was not scanning the full texture image, and was allways returning the same column...


Can we have your best build up to now?
Logged

TI-Planet co-admin.
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 03:39:24
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7813


Total Post Ratings: +706

View Profile WWW
« Reply #39 on: 02 January, 2011, 17:07:31 »
0

Wow... uh welcome to Omnimaga. That's one hell of a first post!

Yeah... Crazy
« Last Edit: 02 January, 2011, 18:08:19 by Deep Thought » Logged




ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 10:41:33
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Total Post Ratings: +151

View Profile
« Reply #40 on: 02 January, 2011, 17:20:47 »
0

One thing I must ask though, did anyone test the free() syscall on the CAS 2.0.1? It appears to crash the calc every time I call it, no matter if I'm freeing one byte or a thousand.

I have just double checked the syscall, it seems correct. Does it work for you on non-CAS 2.0.1?
Could you please try to create a simple test case which shows the problem when you find the time to?
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Michael_Lee
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: 09 August, 2012, 18:48:39
Date Registered: 05 August, 2010, 01:00:06
Posts: 1020

Total Post Ratings: +115

View Profile
« Reply #41 on: 02 January, 2011, 19:28:47 »
0

That's awesome!

* Michael_Lee looks sadly at his 96x64 pixel screen...
Logged

My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.
qazz42
LV9 Veteran (Next: 1337)
*********
Offline Offline

Last Login: 29 December, 2012, 01:39:31
Date Registered: 19 June, 2010, 16:06:31
Posts: 1134


Total Post Ratings: +17

View Profile
« Reply #42 on: 02 January, 2011, 20:26:24 »
0

Woah, this is over 9000, I have played doom a bunch of times, and have memorized the map pretty much, this is an almost exact replica from what I see, good job Cheesy
Logged

Mrakoplaz
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 11 April, 2012, 04:26:50
Date Registered: 01 January, 2011, 19:44:04
Location: Großherzogtum Luxemburg
Posts: 46


Topic starter
Total Post Ratings: +128

View Profile
« Reply #43 on: 02 January, 2011, 21:50:14 »
+7

OK, since everyone requested it, I'm putting up my current build of nDoom, with the biggest problems fixed (huge problems still remain, but at least you can see what's on the screen now).

Here's the distributable, along with the source, for anyone who's interested:
http://www.box.net/shared/mlravudct9

This is seriously unfinished, so don't say I didn't warn you!

Some known problems
  • Wall/Sky textures, obviously
  • Screen too dark on real calculator (funnily enough, yesterday it was too bright)
  • Gun refire laggy, although world movement fine for some reason (on real calculator)
  • Too fast (on emulator)
  • The quit function sometimes freezes/resets the calculator (something to do with the graphics shutdown function, I think...)

So yeah. Try it at your own risk. And thanks again to all those who replied! I hope the shortcomings of this release don't disappoint you...
Logged

t0xic_kitt3n
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 13 May, 2013, 01:56:35
Date Registered: 16 June, 2010, 20:46:00
Location: w,x,y,z
Posts: 1583


Total Post Ratings: +32

View Profile
« Reply #44 on: 02 January, 2011, 22:37:49 »
0

Woah, this is over 9000, I have played doom a bunch of times, and have memorized the map pretty much, this is an almost exact replica from what I see, good job Cheesy
It IS an exact replica lol, Mrakoplaz is porting over the source.

Too bad it doesnt work on my calc, it doesnt have ndless 2.0 on it.
« Last Edit: 02 January, 2011, 22:45:11 by fb39ca4 » Logged




██████  ██  ██  ███████           ████    ██    ██   ██ ███████
█ ██ █  ██  ██   ██   █          ██  ██  ████   ███ ███  ██   █
  ██    ██  ██   ██             ██   ██ ██  ██  ███████  ██    
  ██    ██  ██   ██  █         ██       ██  ██  ███████  ██  █
  ██    ██████   █████         ██       ██  ██  ██ █ ██  █████ 
  ██    ██  ██   ██  █         ██   ███ ██████  ██   ██  ██  █
  ██    ██  ██   ██             ██   ██ ██  ██  ██   ██  ██    
  ██    ██  ██   ██   █          ██  ██ ██  ██  ██   ██  ██   █
 ████   ██  ██  ███████           █████ ██  ██  ██   ██ ███████

Pages: 1 2 [3] 4 5 ... 14   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.882 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.