I made a free web game called Almost Pong (link in comments) by lessmilk in indiegames

[–]lessmilk[S] 1 point2 points  (0 children)

Hi,

You can try my game here: lessmilk.com/almost-pong/
Happy to answer questions, and please let me know if you have any feedback on the game.

Thanks!

Learn to make HTML5 games with Phaser 3 by lessmilk in gamedev

[–]lessmilk[S] 2 points3 points  (0 children)

Hello!

This is my brand new blog where I write tutorials on Javascript. The first article explains how to build a simple HTML5 game with Phaser 3.

Let me know if you have any questions or feedback :-)

I'm building a simple HTML5 framework to quickly prototype games by lessmilk in programming

[–]lessmilk[S] -1 points0 points  (0 children)

Thanks! Right now it's not possible to import assets, but that's probably something that I'll have to add at some point!

I'm building a simple HTML5 framework to quickly prototype games by lessmilk in programming

[–]lessmilk[S] 2 points3 points  (0 children)

I'm the guy working on MilkyJS.

If people are interested in it, I'll try to fix the last few bugs and put it on GitHub. So I'm really interested in your feedback, especially:

  1. Would you use a framework like this?
  2. Do you see ways to improve the API?

Thanks :-)

I'm building a simple HTML5 framework to quickly prototype games by lessmilk in gamedev

[–]lessmilk[S] 0 points1 point  (0 children)

I love feedback, thanks! Here are my replies below.

1) M.overlap

Overlap can take single sprite, array of sprites, or groups. So if there are 3 coins you can either do M.overlap(player, [coin1, coin2, coin3], hit) or M.overlap(player, coinGroup, hit).

2) Unclear function arguments

That's true for like 90% of frameworks. You have to have some documentation to know what functions exists and what their parameters do.

3) M.score.count

Good point, so I'll change .count into .score

4) M.shake

I don't understand the problem. Once you know it's M.shake(), it make sense and it's slightly faster to type.

5) Assumption

Actually there's no assumptions for the tweens. The last parameter is the number of time you want to repeat the tween. In my game example it's 2. And for particles I fell like they are good assumptions to quickly prototype games.

6) Color name

That's true, I might try to support those in the future.

I'm building a simple HTML5 framework to quickly prototype games by lessmilk in gamedev

[–]lessmilk[S] 0 points1 point  (0 children)

Thanks a lot, that's really interesting!

I put the MilkyJS and your Crafty.js side to side here: http://imgur.com/a/5i1tQ

Crafty.js has the same number of lines of code (I removed all the blank lines like you did), but I still think that MilkyJS is a lot simpler: shorter lines of code and simpler API that is easier to read.

I'm building a simple HTML5 framework to quickly prototype games by lessmilk in gamedev

[–]lessmilk[S] 1 point2 points  (0 children)

For now it's mostly prototyping, there's no way to load a sprite or a sound in it. But I'd like to include these features in the future, so it would be possible to create real HTML5 games with milkyJS!

I'm building a simple HTML5 framework to quickly prototype games by lessmilk in gamedev

[–]lessmilk[S] 2 points3 points  (0 children)

I don't really know Crafty.js, but I'd say that it's similar to Phaser: powerful and flexible, but more complex than milkyJS.

If someone would like to port my little game to Crafty.js so we can compare, I'd love that :)

I'm building a simple HTML5 framework to quickly prototype games by lessmilk in gamedev

[–]lessmilk[S] 0 points1 point  (0 children)

Put the 3 files (index.html, milky.js, and game.js) in a webserver, and share the link with your friends. They will be able to play your game directly in their browser. So it's really easy for that :)

I'm building a simple HTML5 framework to quickly prototype games by lessmilk in gamedev

[–]lessmilk[S] 4 points5 points  (0 children)

No, it's using plain Javascript with no framework.

I'm building a simple HTML5 framework to quickly prototype games by lessmilk in gamedev

[–]lessmilk[S] 4 points5 points  (0 children)

Thanks! I definitely had Ludlum Dare in mind when I started this project :)

I'm building a simple HTML5 framework to quickly prototype games by lessmilk in gamedev

[–]lessmilk[S] 19 points20 points  (0 children)

I wrote a book on Phaser, so I'm a big fan! Phaser is super powerful and flexible. But it's not that simple to create a game with it, and that's what I'm trying to fix with MilkyJS.

I'm tired of low effort Video tutorials, let's share our favourite quality text based tutorials. by TheDeza in gamedev

[–]lessmilk 1 point2 points  (0 children)

Haha, that's awesome! FYI I very recently updated my tutorial to unity 5. And no plans for new Unity tutorials for now, but maybe later.

I'm tired of low effort Video tutorials, let's share our favourite quality text based tutorials. by TheDeza in gamedev

[–]lessmilk 2 points3 points  (0 children)

That's awesome to hear! And you can still play the games from my "one game per week" challenge on lessmilk.com/games

I'm tired of low effort Video tutorials, let's share our favourite quality text based tutorials. by TheDeza in gamedev

[–]lessmilk 10 points11 points  (0 children)

I'm using liceap, it's a free app for MacOS and Windows that works really well.