About pht59x (twitter: @pht59x)

Entries

 
Ludum Dare 31
 
Ludum Dare 29

pht59x's Trophies

pht59x's Archive

A big thank you to all from Spouki !

Posted by (twitter: @pht59x)
Monday, December 29th, 2014 7:00 pm

spouki

Isn’t Spouki really cute?

Posted by (twitter: @pht59x)
Monday, December 29th, 2014 6:47 pm

spoukiClick on him, if you think so.

Help him make it to 90 !

Spouki is having a problem, too.

Posted by (twitter: @pht59x)
Monday, December 29th, 2014 11:57 am

spouki7 hours left !

Greeny GRUB: post-mortem

Posted by (twitter: @pht59x)
Monday, December 29th, 2014 6:28 am

Timeline

  1. Saturday was spent implementing the physics of billiards in CoffeeScript;
  2. Sunday (afternoon) was used  to put together the game mechanic main ingredients: the goodies will be GREEN, the baddies will be RED, the player wiil be grey and the controls will feel both weird and funny;
  3. Monday (lunchtime) I got the weird controls tested by 5 real-life testers.

 

greeny_grub_playing

What went right

  • CoffeeScript to make a game in a single 500-line file: no library, ie plain JavaScript under the hood;
  • I did not use nor make graphics assets;
  • testing with Firefox, Chrome, IE (v > 10) and Opera;
  • I eventually got the game balancing right on 20 levels (ready for more…);
  • working with Linux on a computer with a tiny 750 MB RAM and the same amount of swap space.

What did not go so well

  • most of the physics stuff I wrote on Satruday was not used in Greeny GRUB;
  • some (minor) sound issues;
  • not enough votes!

If I had to do it again

  • I would stick to an HTML game with CoffeeScript.
  • single file programs are handy to try out different options.
  • again, I would ask myself whether using a game/physics library is a better idea than writing everything from scratch.

Thank you to

  • my real life testers who gave me quick precious feedback early in the project;
  • those of you who commented on the game or rated it for the past 3 weeks;
  • Spouki who earned me a massive 1 vote because he is cute.

 

spoukiClick on me to make my owner happy!

There is nothing weird with Greeny GRUB controls

Posted by (twitter: @pht59x)
Friday, December 26th, 2014 12:14 am

WTF with the weird controls in Greeny GRUB? Here is some explaining. Keep reading if you know a little bit about CoffeeScript, Python or C-like syntax:

# Cursor-keys handling
document.onkeydown = (event) ->
__deltaVelocity = 80 # in pixels per second
__switch event.keyCode
____when KEY_UP then player.adjustVy(-deltaVelocity)
____when KEY_LEFT then player.adjustVx(-deltaVelocity)
____when KEY_DOWN then player.adjustVy(deltaVelocity)
____when KEY_RIGHT then player.adjustVx(deltaVelocity)

where deltaVelocity will be used by:

  • player.adjustVx() and player.adjustVy() to update vX and Vy velocities.
  • player.update(fps) to update x and y coordinates


class Player
__constructor: (@x,@y,@vX,@vY) ->

__adjustVx: (deltaVx) ->
____if Math.abs(@vX)<100 or (deltaVx>0 and @vX<0) or (deltaVx<0 and @vX>0)
______@vX+=deltaVx

__adjustVy: (deltaVy) ->
____if Math.abs(@vY)<100 or (deltaVy>0 and @vY<0) or (deltaVy<0 and @vY>0)
______@vY+=deltaVy

__update: (fps)->
____@x+=@vX/fps
____@y+=@vY/fps

The weird behaviour comes from the fact that there is no damping on the velocity once it has been passed to the player’s methods and that I do not handle onkeyup events.

Try Greeny GRUB’s new F-key

Posted by (twitter: @pht59x)
Tuesday, December 23rd, 2014 5:56 am
  • F makes “failing” fun.
  • F makes “frustration” fun.

greeny_grub_you_made_it

Try Greeny GRUB’s new F-key

and make the game a success !

Greeny GRUB has better looking GREENs

Posted by (twitter: @pht59x)
Monday, December 22nd, 2014 1:30 pm
  • + growing (ie more dangerous) REDs from level 10 upwards;
  • + 20 better-balanced levels for 20 minutes of fun;
  • + player stat at the end of the game (how much time spent per level);
  • + WASD, ZQSD, IJKL or arrows.

greeny_grub_statas before, you will also get:

  • frustrating, weird, funny controls you will learn to master quickly;
  • the R-key for direct access to a random level;
  • Bach’s superb BWV 661 chorale prelude;
  • instant gaming in your browser.

Greeny GRUB is less than 500 lines of CoffeeScript

Posted by (twitter: @pht59x)
Thursday, December 18th, 2014 9:07 pm

It only relies on the HTML5 API and does not require graphics assets.

greeny_grub_intro

Might Greeny GRUB be the shortest entry in this JAM?

What about yours?

Greeny GRUB

Posted by (twitter: @pht59x)
Wednesday, December 17th, 2014 3:45 pm

Whenever you play Greeny GRUB could you please let me know where you died.

Thanks.

PHT

A fun time waster is born !

Posted by (twitter: @pht59x)
Tuesday, December 16th, 2014 3:11 pm

greeny_grub_you_died

Get hooked on Greeny GRUB now…


1) At what level did you die?

2) Do you think one day you might need medical help

to get you off Greeny GRUB before it eats up your whole life?


Greeny GRUB (post-jam)

Posted by (twitter: @pht59x)
Sunday, December 14th, 2014 4:33 am

Greeny GRUB comes now with music for a soother game experience!

greeny_grub_introPlay Greeny GRUB

2 games along the same line

Posted by (twitter: @pht59x)
Wednesday, December 10th, 2014 9:58 am

The first one is Teeny Tiny Little Ball

http://ludumdare.com/compo/ludum-dare-31/?action=preview&uid=45480

The other one is Greeny GRUB (mine)

http://ludumdare.com/compo/ludum-dare-31/?action=preview&uid=36239

greeny_grub_intro

Those are somewhat minimalistic games. I like them both.

Is “Most Coolness” wrong ?

Posted by (twitter: @pht59x)
Wednesday, December 10th, 2014 4:35 am

I suspect there is something very wrong and weak with the “Most Coolness” aspect of the ranking system.

If you have a real life elsewhere, then you can’t physically evaluate 200 or 300 games in 24 hours.

Hello World (2) !

Posted by (twitter: @pht59x)
Tuesday, December 2nd, 2014 11:33 pm

Same tools as last time, ie CoffeeScript. Likely not to be bothered with sound nor music.

Subject to lots of ifs, game concept will be “playable” at

http://pht59x.eu5.org/

Plenty of fun to all !

pht59x

Hello World !

Posted by (twitter: @pht59x)
Friday, April 25th, 2014 12:22 pm

I will be using CoffeeScript and if I am inspired by the theme, I will put something at

https://sites.google.com/site/pht59x/ld-29

[cache: storing page]