Yarpa, v0.0.1a


  • Player movement and direction

It isn’t a lot, but we’ve got a lot of ground to cover and babysteps are also going forward!

Todo for next version:

  • draw other entities to screen
  • interaction with entities


Presenting: YARPA

I’ve started a long term game project. So far I’ve only done short games, mostly in the context of a Ludum Dare or as small prototypes, but that’s going to change. Presenting: YARPA, “yet another RPG attempt”. Yes, it should be YARPGA, but that doesn’t really flow, does it?

I haven’t got a real course outlined yet, I’m going to make it up as I go. One continuous development project where nothing is planned and the points don’t matter. It might not even turn into an RPG a few months into the development, but that’s ok, because I want a project for years to come!

Why an RPG? Because I like RPGs.

The foundations for a codebase have already been laid. I’ve not made a repository for it yet. Way too early for that, there’s only a white square and a green triangle shown on the screen. And a HUD overlay. More later :)

Minecraft Server

Some progress screenshots from my private Minecraft Server:


My friend’s House

My other friend’s “House”. I love use of the multiple layers of building blocks in the wall. Ahem.

My house

Our farm and some towers

The river

Overview of our town’s center.

Groovy and Tomcat, Pt5 – Bringing it together

For the final part in this miniseries I’ll create a small web application which brings together everything discussed so far. We’ll be using a Java Servlet, a Groovy Servlet and Groovyscripts to bring you the ultimate mix of all things Groovy that aren’t GRails.

What does it do?
It counts the visits you make and adds them to either the javacounter or the groovycounter. There is also a small groovyscript resetting the counter.




<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <p>Calls made:</p>
 <td><c:out value="${javacounter}" /></td>
 <td><c:out value="${groovycounter}" /></td>


request.session.setAttribute("javacounter", 0)
request.session.setAttribute("groovycounter", 0)


Java Servlet

public class JavaCounter extends HttpServlet {

 protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
 Object countObject = req.getSession().getAttribute("javacounter");

 int count = 0;

 if ( countObject != null ) {
 count = (Integer) countObject;

 req.getSession().setAttribute("javacounter", count+1);


Groovy Servlet

class GroovyCounter extends HttpServlet {

 protected void doGet (HttpServletRequest req, HttpServletResponse resp) {
 def countObject = req.session.getAttribute("groovycounter")

 def count = 0

 if ( countObject != null ) {
 count = (Integer) countObject

 req.session.setAttribute("groovycounter", count+1)


And that’s the end of this series. The code can be checked out at:¬†https://bitbucket.org/mymilkedeek/tutorials/src