Posts Tagged: java

Note: Further development blogs are to be found at Indienamic I am glad to say that the basic mechanics for harvesting resources, and thus a basic economy system, is finished. I have created a demo, this time with audio where I explain how it works + a bit behind the scenes! For Patrons I deliver an in-depth video about the source code for this feature in the coming weeks. If you have any feedback about the video, ideas about game mechanics or questions about how this is coded… just get in touch! Watch the video… Read Article →

Today I have begun an ‘Incubator week’. This means I have allocated a whole week to work on my game. One week without any distractions, at a separate location. Focussed to work on the game. And even more awesome, I have some help from Arjen van der Ende for a few days. In this week we’re going to work on: Merging the Harvester logic Minimap Power Resource AI A lot of the things to get the Minimal Playable Game finished!   I am very grateful that my family supports me to chase my dream and… Read Article →

So this is a very short post, with a ‘gotcha’. I wasn’t able to find anything about this, thats why I write it down here right now: If you are migrating from Spring 3 to 4 and you have in your pom.xml the following dependency: <properties> <spring.version>3.2.4.RELEASE</spring.version> <junit.version>4.9</junit.version> </properties> … <dependency> <groupId>org.springframework</groupId> <artifactId>spring-mock</artifactId> <version>2.0.8</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> <scope>test</scope> </dependency> Once you migrate to Spring 4 (lets say 4.0.3.RELEASE) and run your tests you might run into a following stacktrace: java.lang.NoSuchMethodError: org.springframework.core.CollectionFactory.createLinkedMapIfPossible(I)Ljava/util/Map; at org.springframework.mock.web.MockHttpServletRequest.<init>( at org.springframework.mock.web.MockHttpServletRequest.<init>( at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary( at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance( at org.springframework.test.context.TestContextManager.prepareTestInstance( at… Read Article →

One of the challenges we face with coding is dealing with coupling. Coupling is an important aspect of programming, it tells us how much our code is tangled. When coupling is too high, we can’t easily re-use code. When the coupling is too low it does little. You can measure coupling, there are several metrics for it even (for instance “Coupling between Objects, CBO”). In this blog post I’d like to talk about a subtle introduction of coupling: when you introduce a factory method. Consider you have an interesting piece of code, and this piece… Read Article →

Saturday 8th of September 2012. I came to Amsterdam Amstel train station, to pick up Corey Haines who I had asked if he wanted to meet the local community in Amsterdam and have some fun coding. After I first introduced myself to a complete stranger (I swear he really looked like Corey Haines :))… I then walked to (the real and smiling) Corey Haines and got us to the car to get to our location. It was a fun evening coding. Around 10 people came and we mainly focussed on coding. I want to share… Read Article →

Scroll To Top