From 7138c51134364d1bf0fe6291007061a628b883c3 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Tue, 8 Jun 2021 18:15:24 +0100 Subject: [PATCH] This is a very interim commit. Started work on genetic buildings. Nothing works! --- .gitignore | 10 ++ doc/Canonical-dictionary.md | 55 ++++++ doc/Roadmap.md | 28 +++ project.clj | 9 +- resources/textures/Monkey.jpg | Bin 0 -> 63561 bytes .../journeyman/the_great_game/agent/agent.clj | 15 +- .../the_great_game/buildings/rectangular.clj | 168 ++++++++++++++++++ .../the_great_game/holdings/holding.clj | 42 +++++ .../the_great_game/location/location.clj | 47 +++++ src/cc/journeyman/the_great_game/playroom.clj | 68 +++++++ .../the_great_game/world/routes_test.clj | 2 +- workspace.code-workspace | 6 + 12 files changed, 439 insertions(+), 11 deletions(-) create mode 100644 doc/Canonical-dictionary.md create mode 100644 doc/Roadmap.md create mode 100644 resources/textures/Monkey.jpg create mode 100644 src/cc/journeyman/the_great_game/buildings/rectangular.clj create mode 100644 src/cc/journeyman/the_great_game/holdings/holding.clj create mode 100644 src/cc/journeyman/the_great_game/location/location.clj create mode 100644 src/cc/journeyman/the_great_game/playroom.clj diff --git a/.gitignore b/.gitignore index ee4f1e6..3bb396f 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,17 @@ pom.xml.asc .lein-failures .nrepl-port .cpcache/ +.calva/ +.idea/ *~ .calva/output-window/output.calva-repl + +.lsp/sqlite.db + +libbulletjme.so + +liblwjgl64.so + +libopenal64.so diff --git a/doc/Canonical-dictionary.md b/doc/Canonical-dictionary.md new file mode 100644 index 0000000..68f516b --- /dev/null +++ b/doc/Canonical-dictionary.md @@ -0,0 +1,55 @@ +# A Canonical dictionary for this documentation + +Where a word is used in the documentation for The Great Game and its related projects, this file describes the canonical meaning of that word. This is because a lot of the concepts in play are messy and ambiguous, so that at times even I am confused by what I mean. The presence of this file is an acknowledment of this difficulty, and an implicit admission that not all the documentation is, at this stage anyway, consistent. + +#### Actor + +An `actor` is a thing which performs actions within the game world. Thus a tree is (almost certainly) not an actor, and things like sheep and rabbits that run about are probably not actors, but an animal which may pro-actively interact with the player character (such as a predator, or a beast of burden, or even a prey species which may flee) is an actor. In [god mode](#God_mode), if implemented, the player can inhabit any actor within the game world. + +#### Agent + +`Agent` is probably just a synonym for `actor`. If it is different in any way, that way has not yet been determined. + +#### Gossip + +A `gossip` is an `actor` who exchanges news with other `actors`, even when the player character is not nearby. Thus `gossips` are the mechanism by which news propagates through the game world, and also the mechanism by which information degrades. Broadly: + +1. `innkeepers` (and possibly some others) are `gossips` who do not move; rather, they gather information from gossips who do move, and all `non-player characters` local to the are deemed to know everything that their local `innkeeper` knows; +2. `merchants` (and possibly some others) are `gossips` who do move from place to place, and thus transfer news. + +See [the spread of knowledge in a large game world](The-spread-of-knowledge-in-large-game.html). + +#### Heightmap + +A `heightmap` is a raster image of the world, such that the intensity in which an area is coloured represents the value of some variable, by default height, of that area. + +#### Holding + +A `holding` is a polygon 'owned' by an `actor` on which are built appropriate building units representing the `actors` craft and status. + +#### Location + +A `location` value is a sequence comprising at most the x/y coordinate location and the ids of the settlement and region (possibly hierarchically) that contain the location. If the x/y is not local to the home of the receiving agent, they won't remember it and won't pass it on; if any of the ids are not interesting, they won't be passed on. So location information will degrade progressively as the item is passed along. + +It is assumed that the `:home` of a character is a location in this sense. + +**Examples** + +1. [{:x 5445678 :y 9684351}] +2. [{:x 5445678 :y 9684351} :karalin-palace :hanshua] + +#### Merchant + +A `merchant` is an `actor` and `gossip` who trades goods, and incidentally conveys news, between `markets`. + +#### Non-player character + +A `non-player character` is, for our purposes, an `actor` capable of engaging in conversation with the `player character`. Note, however, that, from a software point of view, the `player character` is just a special case of a `non-player character`. + +#### Player character + +The `player character` is the unique `actor` within the game currently controlled and inhabited by the player. + +#### Route + +A `route` is a pre-prepared path through the game world that an `actor` may take. Most `actors` are not constrained to follow `routes`, but in general `routes` have lower traversal cost than other terrain. \ No newline at end of file diff --git a/doc/Roadmap.md b/doc/Roadmap.md new file mode 100644 index 0000000..b644ebc --- /dev/null +++ b/doc/Roadmap.md @@ -0,0 +1,28 @@ +# Roadmap + +This document outlines a plan to move forward from where I am in June 2021. + +# JMonkeyEngine + +[JMonkeyEngine](https://jmonkeyengine.org/) is not, at this time, an AAA game engine. But at the same time I'm never, really, going to build an AAA game. It is a working game engine which can display characters on screen in scenery and have them move around, and, actually, they can be fairly sophisticated. It will be resaonably easy to integrate Clojure code with JMonkeyEngine - easier than it would be to integrate either Clojure or Common Lisp with [Unreal Engine](https://www.unrealengine.com/) or [Unity 3D](https://unity.com/). As a significant added bonus, JMonkeyEngine is open source. + +Consequently I plan to stop agonising about what game engine to use, and seriously focus on getting something working in JMonkeyEngine. + +# Not Reinventing Wheels + +JMonkeyEngine already has working code for walking animated characters, which is entirely adequate to proof-of-concept what I want to do. Rather than try to implement them myself, I just intend to use existing JMonkeyEngine code as far as possible. + +# The 1Km World + +I propose to build a 1Km square world, containing one settlement, as a proof of concept for + +1. Procedural (genetic) buildings; +2. Procedural settlement planning; +3. Procedural characters, probably based on [MakeHuman 'Mass Produce' plugin](https://youtu.be/jRHnJX-TdT4), using walk animation based on [TestWalkingChar](https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-examples/src/main/java/jme3test/bullet/TestWalkingChar.java); +4. Characters with their own hierarchy of needs, and their own means of planning to fulfil these; +5. Characters with individualised knowledge about the world; +6. Characters who can parse typed questions, and produce either a textual or audio response; +7. Characters with procedurally generated accents (very stretch goal)! +8. Characters who can listen to spoken questions, and produce audio responses. + +At that stage, I have a technology demonstrator that will be interesting. It still leaves the big procedural world builder still to do, but it would be enough technology to get other people interested in the project. \ No newline at end of file diff --git a/project.clj b/project.clj index 5d457f3..51a5ee6 100644 --- a/project.clj +++ b/project.clj @@ -5,13 +5,16 @@ :output-path "docs/codox" :source-uri "https://github.com/simon-brooke/the-great-game/blob/master/{filepath}#L{line}"} :cucumber-feature-paths ["test/features/"] - :dependencies [[com.taoensso/timbre "4.10.0"] - [environ "1.1.0"] + :dependencies [[com.taoensso/timbre "5.1.2"] + [environ "1.2.0"] + [jme-clj "0.1.13"] +;; [jme3-core "3.4.0-stable"] [journeyman-cc/walkmap "0.1.0-SNAPSHOT"] [me.raynes/fs "1.4.6"] [mw-engine "0.1.6-SNAPSHOT"] + [org.apache.commons/commons-math3 "3.6.1"] ;; for mersenne-twister implementation [org.clojure/algo.generic "0.1.3"] - [org.clojure/clojure "1.8.0"] + [org.clojure/clojure "1.10.3"] [org.clojure/math.numeric-tower "0.0.4"] ] :description "Prototype code towards the great game I've been writing about for ten years, and know I will never finish." diff --git a/resources/textures/Monkey.jpg b/resources/textures/Monkey.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cfe465de1e686e1a81afc285aa713c73d9f5bc1f GIT binary patch literal 63561 zcmeFa2UHYI(0;J#_3HS$)Farnn?g7AxgyrY`4U)6p zY4(9M!T@*$SisYjL}c&&ICvi%U=Qs7o;L;j{REz1jk~3O`@LX|u!5buW`}S`xY;3` zPb%u1G_ZHFMtHgbBInLY$_Ss6IVW}!yo!m*oD&6e0RZU>l5h1Ai2(3o-;eV50WV1Z zy5FM&05THN?>v(I+71%7zuG}^=GS(BGWpIgiQvAUWuJKWy}ZBiPW&fXE&$YfZL&~Q z2lf#c0h&Dsu)YPBKtk*X?g7*k6ch(3s1F{bK0-xFb%c(Vnwpl5@z^oCW5*beQ12bz zf4%|#dL=nTMRkbg&|w;y!^df8XpZk*XpVo&a^ycLfcO?TLIJ!0SV4_wf)Ja*dUwg}nru*AHJ9GrC8@2o_{T<^3gl5>UYERU=}-NfmW z^6#Fx6rpRa^gh{Lf}ve+6t-G$uet*{wx-M-nR5S4)Q8UT^_PV;T@zS+8;=LksYSKj zlN*vM2DY97F=@pgd!{yz0Q>fV-0t7wiJa_!_#O+VgpckAIdD0B?10Gau;aTNywh%5 z7Ui@WalI3+s6z*J6I;tGt_v$r1OiPHbX%q|hD)B;8fLC;>wJN{avweF`EU*fDk+uo~xD1HjZz2UzK3(;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w-?9gJY7WJ7y2M_ebrD&lRbdcPfk&_|oVe4D*bZuQd*tw+ki}J@HbF71gml z(k3BB_#JVR!JqhhkXWBfJNZmx%HBa*b4%Z{ex_^QV5?6cDekyM57W&oEXBt)UVLSb ze#eXx1w_`VS$$vhX4xw`3-;SlqfZTwMYWaL9LZ{t*K&`z&Vo0T?bRXoe?cBwAQRtJ z)x^TJ^(X)nOl0z~*M+<4_nHdcwxVx?Sp*?sl0cumy3eM#e? zd+IFSX5G9+tEr(hH;2JXBAziWfwtdNSAEFrZ;5B&6 zl7ht_GM9f6P1K(<{{J|)8mQWJgA}|8muJaaf7eNM@u;jp#7?vy3JY^d=-E^&Yebj1 zAn0hE^KHbaL%BRlIx^kCxKl47_w$TG3c)yhQNF@JJcMx|NhYa3GT;DReNnfn;WJ2w zZy=l~g?iyE6Wl@kQ6uhfZ9sUAt?U-%gOf(?Ce?N zi4DHU?cRqcm^~s{QwHu^_dIa$+;f+d-@MxQYfyFyENJ^5Z2vz8tR76_)E2H;a>eSJ zOJ>dN0Wk!Lar@H#%%0G76LuH8S0E zJt?DWa#xhjsoiCz+(p@iK3EXu-#hlNk@+dR|9dEMUh?*>U$(uCS+8|DV#jtSHlpB9 z8R8$)<6n(BkzFGWUT8)r#Z(O#2;JpvfO(-%C-XKH94I&}w6y{D7v@Tt%ApTG1jG(D z%4W2GE*!ia6G3MFgcSKH;rV;F|Egy{Y4Z;{_2-<;&!xuy*U$b-{^$SZMgMIW2;ckv E3x*L8y#N3J literal 0 HcmV?d00001 diff --git a/src/cc/journeyman/the_great_game/agent/agent.clj b/src/cc/journeyman/the_great_game/agent/agent.clj index 79b4c99..55c491c 100644 --- a/src/cc/journeyman/the_great_game/agent/agent.clj +++ b/src/cc/journeyman/the_great_game/agent/agent.clj @@ -1,11 +1,12 @@ (ns cc.journeyman.the-great-game.agent.agent - "Anything in the game world with agency" - (:require [the-great-game.objects.game-object :refer [ProtoObject]] - [the-great-game.objects.container :refer [ProtoContainer]])) + "Anything in the game world with agency; primarily but not exclusively + characters." + (:require [cc.journeyman.the-great-game.objects.game-object :refer [ProtoObject]] + [cc.journeyman.the-great-game.objects.container :refer [ProtoContainer]])) -;; hierarchy of needs probably gets implemented here -;; I'm probably going to want to defprotocol stuff, to define the hierarchy -;; of things in the gameworld; either that or drop to Java, wich I'd rather not do. +;;; hierarchy of needs probably gets implemented here +;;; I'm probably going to want to defprotocol stuff, to define the hierarchy +;;; of things in the gameworld; either that or drop to Java, wich I'd rather not do. (defprotocol ProtoAgent "An object which can act in the world" @@ -37,7 +38,7 @@ (defrecord Agent ;; "A default agent." - [name home tribe] + [name craft home culture] ProtoObject ProtoContainer ProtoAgent diff --git a/src/cc/journeyman/the_great_game/buildings/rectangular.clj b/src/cc/journeyman/the_great_game/buildings/rectangular.clj new file mode 100644 index 0000000..17a2c13 --- /dev/null +++ b/src/cc/journeyman/the_great_game/buildings/rectangular.clj @@ -0,0 +1,168 @@ +(ns cc.journeyman.the-great-game.buildings.rectangular + (:require [cc.journeyman.the-great-game.holdings.holding :refer [ProtoHolding]] + [cc.journeyman.the-great-game.location.location :refer [ProtoLocation]] + ) + (:import [org.apache.commons.math3.random MersenneTwister] + )) + +;;; Right, the idea behind this namespace is many fold. +;;; +;;; 1. To establish the broad principle of genetic buildings, by creating a +;;; function which reproducibly creates reproducible buildings at specified +;;; locations, such that different buildings are credibly varied but a +;;; building at a specified location is always (modulo economic change) the +;;; same. +;;; 2. Create good rectangular buildings, and investigate whether a single +;;; function can be used to create buildings of more than one family (e.g. +;;; can it produce flat roofed, north African style, mud brick houses as +;;; well as pitch roofed, half timbered northern European houses?) +;;; 3. Establish whether, in my current state of fairly severe mental illness, +;;; I can actually produce any usable code at all. +;;; +;;; ## Key factors in the creation of a building +;;; +;;; ### Holding +;;; +;;; Every building is on a holding, and, indeed, what I mean by 'building' here +;;; may well turn out to be 'the collection of all the permanent structures on +;;; a holding. A holding is a polygonal area of the map which does not +;;; intersect with any other holding, but for the time being we'll make the +;;; simplifying assumption that every holding is a rectangular strip, and that +;;; 'urban' holdings are of a reasonably standard width (see Viking-period +;;; York) and length. Rural holdings (farms, ?wood lots) may be much larger. +;;; +;;; ### Terrain +;;; +;;; A building is made of the stuff of the place. In a forest, buildings will +;;; tend to be wooden; in a terrain with rocky outcrops -- normally found on +;;; steep slopes -- stone. On the flat lands where there's river mud, of brick, +;;; cob, or wattle and daub. So to build a building we need to know the +;;; terrain. Terrain can be inferred from location but in practice this will +;;; be computationally expensive, so we'll pass terrain in as an argument to +;;; the build function. +;;; +;;; For the time being we'll pass it in simply as a keyword from a defined set +;;; of keywords; later it may be a more sophisticated data structure. +;;; +;;; ### Culture +;;; +;;; People of different cultures build distinctively different buildings, even +;;; when using the same materials. So, in our world, a Japanese wooden house +;;; looks quite different from an Anglo Saxon stave house which looks quite +;;; different from a Canadian log cabin, even though the materials are much the +;;; same and the tools available to build with are not much different. +;;; +;;; Culture can affect not just the overall shape of a building but also its +;;; finish and surface detail. For example, in many places in England, stone +;;; buildings are typically left bare; in rural Scotland, typically painted +;;; white or in pastel shades; in Ireland, often quite vivid colours. +;;; +;;; People may also show religious or cultural symbols on their buildings. +;;; +;;; For all these reasons, we need to know the culture of the occupant when +;;; creating a building. Again, this will initially be passed in as a keyword. +;;; +;;; ### Craft +;;; +;;; People in the game world have a craft, and some crafts will require +;;; different features in the building. In the broadly late-bronze-age-to +;;; medieval period within which the game is set, residence and workplace +;;; are for most people pretty much the same. +;;; +;;; So a baker needs an oven, a smith a forge, and so on. All crafts who do +;;; some degree retail trade will want a shop front as part of the ground +;;; floor of their dwelling. Merchants and bankers will probably have houses +;;; that are a bit more showy than others. +;;; +;;; Whether the 'genetic buildings' idea will ever really produce suitable +;;; buildings for aristons I don't know; it seems more likely that significant +;;; strongholds (of which there will be relatively few) should all be hand +;;; modelled rather than procedurally generated. + +(def ^:dynamic *terrain-types* + "Types of terrain which affect building families. TODO: This is a placeholder; + a more sophisticated model will be needed." + #{:arable :arid :forest :plateau :upland}) + +(def ^:dynamic *cultures* + "Cultures which affect building families. TODO: placeholder" + #{:ariston :coastal :steppe-clans :western-clans :wild-herd}) + +(def ^:dynamic *crafts* + "Crafts which affect building types in the game. See + `Populating a game world`. TODO: placeholder" + #{:baker :banker :butcher :chancellor :innkeeper :lawyer :magus :merchant :miller :priest :scholar :smith :weaver}) + +(def ^:dynamic *building-families* + {:pitched-rectangular {:terrains #{:arable :forest :upland} + :crafts *crafts* + :cultures #{:coastal :western-clans} + :modules []} + :flatroof-rectangular {:terrains #{:arid :plateau} + :crafts *crafts* + :cultures #{:coastal} + :modules []}}) + +;; TODO: So, modules need to contain +;; +;; 1. Ground floor modules, having external doors; +;; 2. Craft modules -- workshops -- which will normally be ground floor (except +;; weavers) and may have the constraint that no upper floor module can cover them; +;; 3. Upper floor modules, having NO external doors (but linking internal doors); +;; 4. Roof modules +;; +;; There also needs to be an undercroft or platform module, such that the area of +;; the top of the platform is identical with the footprint of the building, and +;; the altitude of the top of the platform is equal to the altitude of the +;; terrain at the heighest corner of the building; so that the actual +;; building doesn't float in the air, and also so that none of the doors or windows +;; are partly underground. +;; +;; Each module needs to wrap an actual 3d model created in Blender or whatever, +;; and have a list of optional textures with which that model can be rendered. +;; So an upper floor bedroom module might have the following renders: +;; +;; 1. Bare masonry - constrained to upland or plateau terrain, and to coastal culture +;; 2. Painted masonry - constrained to upland or plateau terrain, and to coastal culture +;; 3. Half-timbered - not available on plateau terrain +;; 4. Weatherboarded - constrained to forest terrain +;; 5. Brick - constrained to arable or arid terrain +;; +;; of course these are only examples, and also, it's entirely possible to have +;; for example multiple different weatherboard renders for the same module. +;; There needs to be a way of rendering what can be built above what: for +;; example, you can't have a masonry clad module over a half timbered one, +;; but you can have a half-timbered one over a masonry one + +(defn building-family + "A building family is essentially a collection of models of building modules + which can be assembled to create buildings of a particular structural and + architectural style." + [terrain culture craft gene] + (let [candidates (filter #(and + ((:terrains %) terrain) + ((:crafts %) craft) + ((:cultures %) culture)) + (vals *building-families*))] + (nth candidates (mod (Math/abs (.nextInt gene)) (count candidates))))) + +(building-family :arable :coastal :baker (MersenneTwister. 5)) + +(defn build! + "Builds a building, and returns a data structure which represents it. In + building the building, it adds a model of the building to the representation + of the world, so it does have a side effect." + [holding terrain culture craft size] + (if (satisfies? ProtoHolding holding) + (let [location (.building-origin holding) + gene (MersenneTwister. (int (+ (* (.easting location) 1000000) (.northing location)))) + family (building-family terrain culture craft gene)] + (if + (and (instance? ProtoLocation location) (:orientation location)) + :stuff + :nonsense + )) + :froboz)) + +;; (def ol (cc.journeyman.the-great-game.location.location/OrientedLocation. 123.45 543.76 12.34 0.00 {})) + diff --git a/src/cc/journeyman/the_great_game/holdings/holding.clj b/src/cc/journeyman/the_great_game/holdings/holding.clj new file mode 100644 index 0000000..2ea7f42 --- /dev/null +++ b/src/cc/journeyman/the_great_game/holdings/holding.clj @@ -0,0 +1,42 @@ +(ns cc.journeyman.the-great-game.holdings.holding + (:require [cc.journeyman.the-great-game.agent.agent :refer [ProtoAgent]] + [cc.journeyman.the-great-game.objects.container :refer [ProtoContainer]] + [cc.journeyman.the-great-game.objects.game-object :refer [ProtoObject]] +;; [cc.journeyman.the-great-game.location.location :refer [OrientedLocation]] + [cc.journeyman.the-great-game.world.routes :refer []])) + +;;; A holding is a polygonal area of the map which does not +;;; intersect with any other holding, or with any road or water feature. For +;;; the time being we'll make the +;;; simplifying assumption that every holding is a rectangular strip, and that +;;; 'urban' holdings are of a reasonably standard width (see Viking-period +;;; York) and length. Rural holdings (farms, ?wood lots) may be much larger. + +(defprotocol ProtoHolding + (frontage + [holding] + "Returns a sequence of two locations representing the edge of the polygon + which defines this holding which is considered to be the front.") + (building-origin + [holding] + "Returns an oriented location - normally the right hand end of the + frontage, for an urban holding - from which buildings on the holding + should be built.")) + +(defrecord Holding [perimeter holder] + ;; Perimeter should be a list of locations in exactly the same sense as a + ;; route in `cc.journeyman.the-great-game.world.routes`. Some sanity checking + ;; is needed to ensure this! + ProtoContainer + ProtoHolding + (frontage [holding] + ;; TODO: this is WRONG, but will work for now. The frontage should + ;; be the side of the perimeter nearest to the nearest existing + ;; route. + [(first (perimeter holding)) (nth (perimeter holding) 1)]) + (building-origin [holding] + ;; TODO: again this is wrong. The default building origin + ;; should be the right hand end of the frontage when viewed + ;; from outside the holding. + (first (frontage holding))) + ProtoObject) diff --git a/src/cc/journeyman/the_great_game/location/location.clj b/src/cc/journeyman/the_great_game/location/location.clj new file mode 100644 index 0000000..4b5895f --- /dev/null +++ b/src/cc/journeyman/the_great_game/location/location.clj @@ -0,0 +1,47 @@ +(ns cc.journeyman.the-great-game.location.location) + +;;; There's probably conflict between this sense of a reified location and +;;; the simpler sense of a location described in +;;; `cc.journeyman.the-great-game.world.location`, q.v. This needs to +;;; be resolved! + +(defprotocol ProtoLocation + (easting [location] + "Return the easting of this location") + (northing [location] "Return the northing of this location") + (altitude [location] + "Return the absolute altitude of this location, which may be + different from the terrain height at this location, if, for + example, the location is underground or on an upper floor.") + (terrain-altitude [location] + "Return the 'ground level' (altitude of the terrain) + at this location given this world. TODO: possibly + terrain-altitude should be a method of the world.") + (settlement [location] + "Return the settlement record of the settlement in this world + within whose parish polygon this location exists, or if none + whose centre (inn location) is closest to this location")) + + +(defrecord Location [^Double easting ^Double northing ^Double altitude world] + ProtoLocation + (easting [l] (:easting l)) + (northing [l] (:northing l)) + (altitude [l] (:altitude l)) + (terrain-altitude [l] 0.0) ;; TODO + (settlement [l] :tchahua)) + +(defrecord OrientedLocation + ;; "Identical to a Location except having, additionally, an orientation" + [^Double easting ^Double northing ^Double altitude ^Double orientation world] + ProtoLocation + (easting [l] (:easting l)) + (northing [l] (:northing l)) + (altitude [l] (:altitude l)) + (terrain-altitude [l] 0.0) ;; TODO + (settlement [l] :tchahua)) ;; TODO + + ;; (.settlement (OrientedLocation. 123.45 543.76 12.34 0.00 {})) + + +;; (OrientedLocation. 123.45 543.76 12.34 0.00 {}) \ No newline at end of file diff --git a/src/cc/journeyman/the_great_game/playroom.clj b/src/cc/journeyman/the_great_game/playroom.clj new file mode 100644 index 0000000..a53cd1e --- /dev/null +++ b/src/cc/journeyman/the_great_game/playroom.clj @@ -0,0 +1,68 @@ +(ns cc.journeyman.the-great-game.playroom + (require [jme-clj.core :refer :all]) + (import [com.jme3.math ColorRGBA])) + +;; At present this file is just somewhere to play around with jme-clj examples + +(defn init [] + (let [cube (geo "jMonkey cube" (box 1 1 1)) + mat (unshaded-mat)] + (set* mat :texture "ColorMap" (load-texture "textures/Monkey.jpg")) + (set* cube :material mat) + (add-to-root cube) + {:cube cube})) + +;; Let's create simple-update fn with no body for now. + (defn simple-update [tpf] + (let [{:keys [cube]} (get-state)] + (rotate cube 0 (* 2 tpf) 0))) + + +;; Kills the running app var and closes its window. +;; (unbind-app #'app) + +;; We define the `app` var. +(defsimpleapp app + :opts {:show-settings? false + :pause-on-lost-focus? false + :settings {:title "My JME Game" + :load-defaults? true + :frame-rate 60 + :width 800 + :height 600}} + :init init + :update simple-update) + +(start app) + +;; Reinitialises the running app +;;(run app +;; (re-init init)) + + ;; By default, there is a Fly Camera attached to the app that you can control with W, A, S and D keys. + ;; Let's increase its movement speed. Now, you fly faster :) + (run app + (set* (fly-cam) :move-speed 15)) + + + ;; Updates the app +(run app + (let [{:keys [cube]} (get-state)] + (set* cube :local-translation (add (get* cube :local-translation) 1 1 1)))) + + ;; Updates the app adding a second cube +(run app + (let [cube (geo "jMonkey cube" (box 1 1 1)) + mat (unshaded-mat)] + (set* mat :texture "ColorMap" (load-texture "textures/Monkey.jpg")) + (setc cube + :material mat + :local-translation [-3 0 0]) + (add-to-root cube) + (set-state :cube2 cube))) + + ;; We added the new cube, but it's not rotating. We need to update the simple-update fn. + (defn simple-update [tpf] + (let [{:keys [cube cube2]} (get-state)] + (rotate cube 0 (* 2 tpf) 0) + (rotate cube2 0 (* 2 tpf) 0))) diff --git a/test/cc/journeyman/the_great_game/world/routes_test.clj b/test/cc/journeyman/the_great_game/world/routes_test.clj index 99cbfbf..50d8651 100644 --- a/test/cc/journeyman/the_great_game/world/routes_test.clj +++ b/test/cc/journeyman/the_great_game/world/routes_test.clj @@ -1,6 +1,6 @@ (ns cc.journeyman.the-great-game.world.routes-test (:require [clojure.test :refer :all] - [cc.journeyman.the-great-game.world.routes :refer :all] + [cc.journeyman.the-great-game.world.routes :refer [find-routes]] [cc.journeyman.the-great-game.world.world :refer [default-world]])) diff --git a/workspace.code-workspace b/workspace.code-workspace index 8af2609..d43a2d8 100644 --- a/workspace.code-workspace +++ b/workspace.code-workspace @@ -11,6 +11,12 @@ }, { "path": "../genbuildings" + }, + { + "path": "../GreatGameTerrain" + }, + { + "path": "../jme-clj" } ], "settings": {}