FreeCiv now in 3D via WebGL

FreeCiv now in 3D via WebGL

Postby Julius » 26 Jan 2017, 21:26

User avatar
Julius
Community Moderator
 
Posts: 3297
Joined: 06 Dec 2009, 14:02

Re: FreeCiv now in 3D via WebGL

Postby onpon4 » 26 Jan 2017, 21:35

That's neat. Kind of slow, though.

It would be nice to have the 3-D graphics in the non-browser version too. ;) I'd assume it would probably perform better as well.
onpon4
 
Posts: 596
Joined: 13 Mar 2014, 18:38

Re: FreeCiv now in 3D via WebGL

Postby Lyberta » 27 Jan 2017, 12:39

Deleted.
Last edited by Lyberta on 01 Oct 2021, 09:46, edited 1 time in total.
Lyberta
 
Posts: 765
Joined: 19 Jun 2013, 10:45

Re: FreeCiv now in 3D via WebGL

Postby farrer » 27 Jan 2017, 13:13

FaTony {l Wrote}:Is there an offline version?


If by offline you mean an standalone version that doesn't depend on a browser to run, probably no: on a quick glance it seems to use a javascript library as 3d engine: (quoting from the announce):

A big thanks to the Three.js Project, which is the 3D engine used in Freeciv WebGL.


If by offline you mean by running not connected to the internet, probably yes, just clone the repository and run it locally.

But, as I believe the assets are Free/Libre, it could be possible to someone create a render to original freeciv using directly OpenGL or any other rendering engine (that shouldn't be too hard, as there's also some parallel renderers implementations for freeciv using gtk or SDL, the code seems modularized enough for this task).
User avatar
farrer
 
Posts: 110
Joined: 24 Feb 2014, 21:00

Re: FreeCiv now in 3D via WebGL

Postby Julius » 27 Jan 2017, 16:37

Yeah, you would need to set up a local webserver, but I think there are also ways to package any webapp into a container with a slimmed down browser so that they appear to be normal desktop apps.
User avatar
Julius
Community Moderator
 
Posts: 3297
Joined: 06 Dec 2009, 14:02

Re: FreeCiv now in 3D via WebGL

Postby Lyberta » 28 Jan 2017, 01:09

Deleted.
Last edited by Lyberta on 01 Oct 2021, 09:47, edited 1 time in total.
Lyberta
 
Posts: 765
Joined: 19 Jun 2013, 10:45

Re: FreeCiv now in 3D via WebGL

Postby onpon4 » 28 Jan 2017, 02:18

That's silly. If it's on your own computer (meaning you can reasonably change it), what's wrong with the fact that your interpreter for the code is a Web browser? You can even put it in offline mode if you're worried that it will fetch something from the Internet.

Still, it would be nice to have a regular OpenGL client (or maybe a Godot client?) using these 3-D graphics, since I doubt JavaScript will be fast enough for this to perform very well any time soon (at least assuming you don't have a gaming PC).
onpon4
 
Posts: 596
Joined: 13 Mar 2014, 18:38

Re: FreeCiv now in 3D via WebGL

Postby Imerion » 01 Feb 2017, 13:40

It looks very impressive!

+1 for a native client though. Besides issues with performance for browser based content I never can get browser based content to behave the way I want. There are usually problems with fullscreen, right-clicking opens browser menus, etc. Will try this anyway though, because a 3D version of FreeCiv would be really nice to play!

Edit: Seems I need an account to play. :( Another problem with browser-based games seems to be that settings and saves can't be stored locally, which forces impractical account systems instead.
Again though, I really do appreciate that someone has taken the time to create a 3D client for FreeCiv. Not that there is something wrong with the old 2D version, but it feels like the world comes alive a bit more like this. :)
Try my games! : My Games - Read my FOSS Games Blog! : Free Game News
Imerion
 
Posts: 100
Joined: 09 Apr 2011, 19:37

Re: FreeCiv now in 3D via WebGL

Postby c_xong » 02 Feb 2017, 00:02

Local storage is possible for browser games but it's not persistent (e.g. can blow it away if you clear browsing data). For settings that's probably ok but definitely not for save games.

But the advantage of online accounts is that it's portable across machines, which makes it a natural fit for browser games.
User avatar
c_xong
 
Posts: 234
Joined: 06 Sep 2013, 04:33

Re: FreeCiv now in 3D via WebGL

Postby onpon4 » 02 Feb 2017, 00:21

You don't need an account to play single-player. I didn't create an account. (To be fair, though, I only fired the game up and moved the units around a bit.)
onpon4
 
Posts: 596
Joined: 13 Mar 2014, 18:38

Freeciv-web

Postby AndreasR » 14 Mar 2017, 08:30

I have just released a new version of Freeciv-web to the live server on play.freeciv.org , and would really appreciate some feedback on the latest version.
I'm currently working on improving the 3D WebGL version. New developers and artists are welcome to join the project.
In particular we need good artists who can help improve the 3D models of the WebGL version.

Freeciv-web game page: https://play.freeciv.org
Contribute: https://github.com/freeciv/freeciv-web
User avatar
AndreasR
Fcw Moderator
 
Posts: 18
Joined: 14 Mar 2017, 08:14

Re: FreeCiv now in 3D via WebGL

Postby Julius » 14 Mar 2017, 18:53

Awesome and welcome to the FreeGameDev.net forums. I hope you don't mind me merging it with an older but recent topic we had on this.
User avatar
Julius
Community Moderator
 
Posts: 3297
Joined: 06 Dec 2009, 14:02

Re: FreeCiv now in 3D via WebGL

Postby AndreasR » 14 Mar 2017, 21:09

Julius {l Wrote}:Awesome and welcome to the FreeGameDev.net forums. I hope you don't mind me merging it with an older but recent topic we had on this.



Thanks a lot! Wow, there was already an existing topic on Freeciv-web, cool! I'm particularly interested in learning about specific things that I could improve in the game to make it better. Do any of you have any suggestions?

I wonder we could get a project forum for "Freeciv-web" here on freegamedev.net? The existing forum on forum.freeciv.org is being overrun by spam-bots. This seems like a nice community for talking about Freeciv.

Thanks,
Andreas R.
User avatar
AndreasR
Fcw Moderator
 
Posts: 18
Joined: 14 Mar 2017, 08:14

Re: FreeCiv now in 3D via WebGL

Postby charlie » 15 Mar 2017, 10:29

Sure. I wonder if it is needed for the wider freeciv audience then? I guess you don't speak on their behalf.

What forum structure do you need? Just a single forum or e.g. General and Development?
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: FreeCiv now in 3D via WebGL

Postby AndreasR » 15 Mar 2017, 14:47

A single forum would be great. It's just for Freeciv-web. Thanks!
User avatar
AndreasR
Fcw Moderator
 
Posts: 18
Joined: 14 Mar 2017, 08:14

Re: FreeCiv now in 3D via WebGL

Postby charlie » 16 Mar 2017, 15:02

Added: viewforum.php?f=97

You are the Freeciv-web moderator for the moment. Let us know if you need more users adding to that group.
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: FreeCiv now in 3D via WebGL

Postby AndreasR » 16 Mar 2017, 17:15

Thanks, I think this will be good!
User avatar
AndreasR
Fcw Moderator
 
Posts: 18
Joined: 14 Mar 2017, 08:14

Re: FreeCiv now in 3D via WebGL

Postby Arthur » 17 Mar 2017, 19:07

charlie: you need to make the list of projects alphabetic so we can have
Freeciv-web
OpenDungeons
SuperTux
SuperTuxKart

The first letters align so perfectly. :D
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Who is online

Users browsing this forum: No registered users and 1 guest

cron