MoriRT Snake

17 views
Skip to first unread message

Alan Wolfe

unread,
Feb 4, 2012, 5:38:04 PM2/4/12
to native-cli...@googlegroups.com
Hey Guys,

Thanks to the help ive gotten here over the past couple weeks I've been able to get my game up on the web store.  Thanks everyone!

It's a ray traced snake game, all cpu rendered, multithreaded, and has a red/blue 3d glasses mode.

Check it out if you wanna, and let me know what you think / if you hit any problems!


Egor Pasko

unread,
Feb 5, 2012, 8:34:40 AM2/5/12
to native-cli...@googlegroups.com

tried this out on Linux64 Chrome 18.0.1025.3 dev, did not work :( The
NaCl module deadlocks after CreateModule() and the page (i.e.
renderer) freezes, seems like the main thread is blocked on something.

--
Egor Pasko

Alan Wolfe

unread,
Feb 5, 2012, 2:26:57 PM2/5/12
to native-cli...@googlegroups.com
Bummer!  Did you try more than once by chance?

After uploading it to the store (as opposed to just hosting it on my own site) I noticed this started occurring for me, about one out of every 10 times.

Thanks Egor for trying it out and reporting back that's really really nice of you and i really appreciate it!


--
Egor Pasko

--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To post to this group, send email to native-cli...@googlegroups.com.
To unsubscribe from this group, send email to native-client-di...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/native-client-discuss?hl=en.


KpExEA

unread,
Feb 5, 2012, 2:49:01 PM2/5/12
to Native-Client-Discuss
Is your app using a Graphics3D rendering or Graphics2D?

If it's using a Graphics3D then you need to handle when a Graphics3D
context fails to init as it seems to be very common for a Graphics3D
not work on slightly older machines (usually due to Chrome not
supporting older drivers or no hardware acceleration).

My app handles both and when a 3D fails, I then switch to using 2D
with slower software rendering. The only bug I have seen so far with
this solution is that the 2D image will not stretch using css to
resize it.

Alan Wolfe

unread,
Feb 5, 2012, 2:50:22 PM2/5/12
to native-cli...@googlegroups.com
its using a 2d graphics context, thanks for the info though

Evgeniy Stepanov

unread,
Feb 5, 2012, 2:50:50 PM2/5/12
to native-cli...@googlegroups.com

The same here. It freezes the tab - I can't even close it. And the picture is pretty small in the left-up corner of the page - is it supposed to occupy the whole screen or visible part of the page?

Happens every time. Chrome 18 x86_64 Linux.

Alan Wolfe

unread,
Feb 5, 2012, 2:53:12 PM2/5/12
to native-cli...@googlegroups.com
the smallness being in the upper left corner is expected.  it's 500x500 to start out (but you can resize to 300x300 or 1000x1000... ray tracing is slow so 500x500 is a good starting point for most people).

thanks for the info, wish i knew what was causing that!

Alan Wolfe

unread,
Feb 10, 2012, 12:01:51 PM2/10/12
to native-cli...@googlegroups.com
Hey by chance, if anyone was getting the lock up or black pixel problem, could you check this out and see if it still occurs?


if those problems are gone i'm going to put that version up on the store.  ::fingers crossed::

Thanks you guys for the bug reports, and thanks a bunch if you have the time to check this version out (:

A quick reminder for people who don't know how to run NaCl apps outside of the store:

1) put "about:flags" without quotes in chrome's URL line
2) Under "Native Client" click enable
3) At the bottom of that page click "Relaunch now"
4) visit the game URL!

Egor Pasko

unread,
Feb 10, 2012, 12:22:14 PM2/10/12
to native-cli...@googlegroups.com
On Fri, Feb 10, 2012 at 9:01 PM, Alan Wolfe <alan....@gmail.com> wrote:
> Hey by chance, if anyone was getting the lock up or black pixel problem,
> could you check this out and see if it still occurs?
>
> http://demofox.org/SecretLab/MoriRTTestFinal/MoriRT.html
>
> if those problems are gone i'm going to put that version up on the store.
>  ::fingers crossed::
>
> Thanks you guys for the bug reports, and thanks a bunch if you have the time
> to check this version out (:
>
> A quick reminder for people who don't know how to run NaCl apps outside of
> the store:
>
> 1) put "about:flags" without quotes in chrome's URL line
> 2) Under "Native Client" click enable
> 3) At the bottom of that page click "Relaunch now"
> 4) visit the game URL!

running fine now, if 8 FPS on lowest res is considered fine :)

--
Egor Pasko

Alan Wolfe

unread,
Feb 10, 2012, 12:26:17 PM2/10/12
to native-cli...@googlegroups.com
ouch! :P

i hit 2 lockups in about 10 plays actually (of course AFTER sending the email hehe).

Thanks for the report Egor.. back to the drawing board i guess.


--
Egor Pasko

Reply all
Reply to author
Forward
0 new messages