Raspberry Pi 3 and C2

Discussion of tools and resources for game developers

Post » Mon Mar 19, 2018 1:24 am

Hi guys, any update about this? I was hoping to buy a raspberry just for run my games but I would like to know what's the best export to use for better performance after one year of updates.

Thank you
Image
B
33
S
12
G
7
Posts: 87
Reputation: 5,957

Post » Mon Mar 19, 2018 2:18 am

I haven't bothered in a while - it was just too frustrating. Ashley posted this alternative though:
https://www.scirra.com/blog/ashley/36/c ... nker-board
ImageImageImage
B
72
S
22
G
288
Posts: 3,862
Reputation: 158,460

Post » Tue Mar 20, 2018 10:28 pm

Thank you @blackhornet. Yeah the tinker board seems more performing but I am worried for how long it will be around since the community around it isn't the same as the one for the pi.

I have read many opinion in contrast with each other about the pi but it seems that with Raspian on it and the ExaGear on it, it can run quite ok Win32 games that don't require hardware acceleration, so I was wondering if exporting a game for Win32 could be a workaround.
Image
B
33
S
12
G
7
Posts: 87
Reputation: 5,957

Post » Tue Mar 20, 2018 10:54 pm

I doubt it. You still need WebGL, and that's what the issue was. Adding yet another layer in there can only make things slower.
Edit: Actually that really makes no sense. You can already export to Linux NodeWebKit. You wouldn't export to the Windows NodeWebKit.
ImageImageImage
B
72
S
22
G
288
Posts: 3,862
Reputation: 158,460

Post » Wed Mar 21, 2018 11:37 am

I haven't seen Linux in your FPS comparison, so I was wondering if there was something wrong with the exporter.

Honestly I never tried to export on Linux because I haven't any machine to test the game, but if that will do it then why not? :)
Image
B
33
S
12
G
7
Posts: 87
Reputation: 5,957

Post » Wed Mar 21, 2018 5:38 pm

The Linux NW.js export is for x86-based CPUs. The Raspberry Pi is an ARM system so needs a separate build, which doesn't exist yet unfortunately.

Your best bet is to try to get a HTML5 export running in Chromium. Last I tried if you enabled their experimental graphics driver you could get WebGL, but it wasn't very fast and was pretty unstable. I think they're still working on it though so it may be getting better, I just haven't checked for a while.
Scirra Founder
B
414
S
245
G
92
Posts: 25,207
Reputation: 200,355

Post » Wed Mar 21, 2018 10:02 pm

Ashley wrote:The Linux NW.js export is for x86-based CPUs. The Raspberry Pi is an ARM system so needs a separate build, which doesn't exist yet unfortunately.

Your best bet is to try to get a HTML5 export running in Chromium. Last I tried if you enabled their experimental graphics driver you could get WebGL, but it wasn't very fast and was pretty unstable. I think they're still working on it though so it may be getting better, I just haven't checked for a while.


Thank you @Ashley, do you think that a simple game in pixel art with no effects and a resolution of 256x144 like this should be fine?

https://www.scirra.com/store/royalty-fr ... plate-4155

I think to create games with resolution up to 320 x 240, but if performance are good I can try to push it up to 640 x 480 even if they are not my priority.
Image
B
33
S
12
G
7
Posts: 87
Reputation: 5,957

Post » Wed Mar 21, 2018 10:03 pm

Actually, I forgot that you can play my game on the arcade to have an idea:

https://www.scirra.com/arcade/shooting- ... ndle-26702
Image
B
33
S
12
G
7
Posts: 87
Reputation: 5,957

Post » Thu Mar 22, 2018 11:28 am

The best way to find out is test it on a real device. Nobody can really give accurate advice by speculating.
Scirra Founder
B
414
S
245
G
92
Posts: 25,207
Reputation: 200,355

Post » Thu Mar 22, 2018 6:55 pm

Biim wrote:Hi guys, any update about this? I was hoping to buy a raspberry just for run my games but I would like to know what's the best export to use for better performance after one year of updates.

Thank you


Performance on Pi 3 is still subpar. The GPU seems capable - it'll run Quake 3 just fine at 720p - but WebGL support is questionable and the CPU just isn't very good at running any heavy HTML5/JS content (games, for example) created with C2 at this time. Could be drivers, could be the low-power CPU, could be the way C2 does things.
B
107
S
58
G
27
Posts: 566
Reputation: 24,411

PreviousNext

Return to Tools and Resources

Who is online

Users browsing this forum: No registered users and 0 guests