Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 12:33

    richtype on master

    Various. (compare)

  • 11:22

    w0d on master

    increased queue processing rate (compare)

  • Sep 20 11:54

    richtype on master

    Sbt => 1.3.1. (compare)

  • Sep 20 09:04

    richtype on master

    Scala.js => 0.6.29. (compare)

  • Sep 20 08:08

    richtype on Rich

    (compare)

  • Sep 20 07:54

    richtype on master

    Added parameter names to Persis… (compare)

  • Sep 20 07:48

    richtype on Rich

    Added parameter names to Persis… (compare)

  • Sep 20 06:34

    richtype on Rich

    Started adding named parameters… (compare)

  • Sep 19 22:45

    richtype on master

    Util tests now working. (compare)

  • Sep 19 21:53

    richtype on master

    Various. (compare)

  • Sep 19 20:25

    richtype on master

    Added Seq Show instance. Merge branch 'master' of https:… (compare)

  • Sep 19 20:09

    w0d on master

    appNum -> appStr (compare)

  • Sep 19 19:56

    richtype on master

    Changed sbt Dev resource syntax. (compare)

  • Sep 19 19:29

    richtype on master

    Changed appNum => appStr. (compare)

  • Sep 19 18:21

    richtype on master

    Various. (compare)

  • Sep 19 17:48

    richtype on master

    Temporary fix for c4. (compare)

  • Sep 19 17:37

    richtype on master

    And More named parameters to Pe… (compare)

  • Sep 19 17:09

    richtype on master

    More named parameters to Persis… (compare)

  • Sep 19 16:59

    richtype on master

    Added named parameters to Persi… (compare)

  • Sep 18 20:22

    richtype on master

    Scala => 2.13.1 (compare)

Derya Aydede
@Derya
rotate a sphere and insert lighting
Rich
@richtype
@Derya Javafx is only really used to provide a canvas. Javafx does provide all that high level stuff, I just don't like the API, so I have made a stab at creating something better, that is portable to an HTML canvas and other Graphical targets. Long term I'd like to remove the Javafx and Jvm dependency and output native Scala Native code to opengl.
Derya Aydede
@Derya
Ah I see, got it
Derya Aydede
@Derya
so do you see this as a learning tool mostly?
or do you think I'd really be able to use some or all of these libraries in a big game project
Rich
@richtype
@Derya If you are interested in turn based games, especially tiled games, then I would say yes. The majority of major games are real time actions games. I don't think the libraries would be much use for those, although depending on your expertise and experience, its often considered a good idea to make some simple turn based games before moving on to serious 3d and physics engines. I'm going to continue to be off line quite a bit over the next few days, so my responses may not delayed.
Derya Aydede
@Derya
No worries at all, and thanks for chatting with me. I want to make a 2D game without physics, but it's not quite turn based (although I guess the fundamental tick speed that the game logic could be broken down to is much slower than, for example, a physics based platformer). The game is comprised of tiles but the characters can move between them in real time. What do you think of the fit in that case?
I certainly didn't expect this to be useful for making some big budget AAA thing... but I also haven't made a game before so I don't really have a big picture view of what most of the work necessary to make this thing work exists or how much a library or game engine can help.
Rich
@richtype
@Derya ultra short answer: Yes. Will give a fuller response later. Feel free to fire away with any more questions. I'll give them all a proper response, but might have to wait a few days.
Derya Aydede
@Derya
awesome
i couldn't quite figure out how to run the example apps, FxStrat/reStart does open a window but didn't know where to go from there
Rich
@richtype
@Derya So I have edited Core/ostrat.pDev.Apps.scala, hopefully it will be a bit clearer. Its probably best to pull from origin or delete and re-clone. Change the appNum val in that file and that will change the application. Then go to the appropriate class file listed above to make changes to the application. Assuming you're using "~ FxStrat/reStart" the tilde operator will restart the application with your changes.
Derya Aydede
@Derya
ah awesome thanks, I appreciate it
Derya Aydede
@Derya
runs nicely now
how did you make these maps?
you ahve these definitions of like
europe west, with a bajillion tiles all defined, like this one is taiga
and this one is plains and so on
Rich
@richtype

@Derya I just checked the latitude and longitude against Google Maps. The terrain is just a first approximation.

I chose an Apache licence, because I want people to be able to use the code as a library for both closed source and open source apps. I chose those particular applications because they were just the genres of board games and computer games that I have enjoyed. If you or others have an idea that you're interested in, that you're happy to opensource, I'd be happy to add it to the repository and work on it with you. You can always take the project out later and develop it separately. The purpose of the applications within the repository is to find the common classes, traits and functions that its useful to factor out into a library.

I'm very much into the Scala ethos of developing libraries that are composable and serve the library users creativity, as opposed to frameworks which dictate to the user how they must structure their programmes.

What IDE /editor are you using and are you on Windows? I use Linux so its good to get feedback from Windows / Mac users. Its also helpful to know what is unclear and confusing. When you're familiar with a code base its difficult to see it from the perspective of some one who is unfamiliar, so again all feedback is useful.

Derya Aydede
@Derya
That's very generous of you. I'm fairly new to both game dev and to scala itself so I'm not sure if I'll get far enough anytime soon to build many useful things in the libraries here, but yeah, I intend to open source the game. I'm making an rpg that's more or less like the old pokemon games, if you've ever played those. I think that there isn't a whole lot of ontology to define for the tiles in the game world, but I've never done this before so maybe I'm wrong hah.
And no, I'm using intellij on mac. I had to develop on windows for a while because my laptop broke and it was completely alien! So much of the stuff we do I think relies on the unix environment and the equivalents in windows are just so different from that.
Derya Aydede
@Derya
Most of the stuff in here is still unclear to me, though I've only spent a bit of time looking through it so far. I guess I don't really know what parts of the project do what yet. This is the first scala project of this scale I've tried to familiarize myself with ever!
Rich
@richtype

@Derya Documentation is in pretty rudimentary state, so I'm sure its not easy to get to grips with, although the situation is still significantly better than it was a couple of months back. At the moment I'm just concentrating on better naming and code comments. Full written documentation, though desirable will have to wait. I've updated the API but its already out of date and doesn't include Macros and JsStrat modules.

If there's any particular package / class / trait / object / method whose purpose is unclear to you, tell me and I'll try to improve the comment.

Derya Aydede
@Derya
Okay, sounds good to me.
Rich
@richtype
@w0d In IntellliJ, go File => Editor => General -> Other -> tick "Show quick documentation on mouse move". I don't know why this option is not set by default.
Rich
@richtype
@w0d I also suggest setting the flatten packages option on the project layout plane.
Rich
@richtype
File => "Build, Execution, Deployment" => Compiler -> "Build project automatically" also useful.
w0d
@w0d
@Richtype ok, thanks
re #47 having trouble imagining why this come up..
Rich
@richtype
@w0d #47 I was thinking about the display of maths graphs y = f(x) and that you might want to have values for y of + or - infinity. I think I've made a temporary fix for the IntelliJ issue by removing modules from build.sc.
w0d
@w0d
liked looking over ur last commit 4#57
w0d
@w0d
sorry cant work github on tablet
catch ya soon
ps email..
Rich
@richtype
Yes its not a priority issue as it only affects large Polygons relative to the size of the Earth when displayed on the horison. The Hex tiles are small enough that they can just be a simple on / off binary at the horison.
Rich
@richtype
@w0d I've created a miscellaneous notes file: MIsc/GeneralNotes.md.
Rich
@richtype
@w0d Thinking of publishing a version, should it be version 0.1 or 0.0.1?
w0d
@w0d
0.0.1
Rich
@richtype
@w0d I've included title in the constructor of CanvasUser the base class for CanvasSimple and CanvasMulti. However I'm wondering if the name should be changed to Scene, which is the name that JavaFx uses.
Rich
@richtype
@w0d might be good to do a pull soon to stop Git getting confused by name swaps.
Rich
@richtype
@w0d I have completed a fairly extensive project reorganisation. I think it should help usability, particularly for the production of Scala.js. It was originally motivativated by the fact that I didn't seem to be getting Key press events from the JavaFx window.
Rich
@richtype
@w0d Thinking of changing my Github username to all lower case.
Rich
@richtype
@/all My Github username has changed from Richtype => richtype. Repository changed as expected.
Rich
@richtype
So I've gone with Show as a name which seems to be the standard name for the type class to convert your object into a String. Is there a standard name for the type class that you can both show and unshow, that you can convert to and from a string? I'm currently calling it:
trait Persist[T] extends Show[T]
w0d
@w0d
@richtype ive run out of time looking at the issues with lessons C5 & C6, any chance you could have a quick look for us. cheers
Rich
@richtype
Yeah, but might have to wait a couple of days.
w0d
@w0d
C4 also blank, B1 looks good and all suggested interactivity works except i cant get the units to move - otherwise all the other lessons look ok
Rich
@richtype
Temporary fix for C4. Can't follow the B1 problem.
w0d
@w0d
the status text isn't to be taken literally?
Rich
@richtype
Recopy DevSettings from misc => Dev/mine after latest commit to master.