Author Topic: [SQUARE], minimalist html5 game  (Read 4887 times)

0 Members and 1 Guest are viewing this topic.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
[SQUARE], minimalist html5 game
« on: November 14, 2014, 12:17:11 pm »
Hello everone. I guess I did this when I was away last month. I started programming with a brand new game engine, http://snowkit.org/, and started fiddling with when I came with an idea : port a old flash game I liked before and bring it to the graphical design style of today. So I took hte idea behind Square², brought my magical keyboard and in no time, I got to a playble and fun prototype, almost finished of a html5 game.

Made with Haxe, It can be compiled for Windows, Linux and Mac, even though I don't have the targets to compile.

Enough talking, let's play! Just move the mouse to avoid white squares, pickup orange ones. Music courtesy of Xorus.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [SQUARE], minimalist html5 game
« Reply #1 on: November 14, 2014, 04:42:51 pm »
If it is html5 why do you have to compile it ???

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [SQUARE], minimalist html5 game
« Reply #2 on: November 16, 2014, 12:09:18 pm »
Because I wrote it in Haxe.

Haxe is a compiled languages which targets multiples platforms and this easily than porting a source code into another language. I.e. with snõwkit I can compile in the targets said previously and I can be sure that I'll have the same result on the targets. The code which interact with a specific target will be only used on that one. You can thus make wrappers to have a stable cross-system program or game.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [SQUARE], minimalist html5 game
« Reply #3 on: November 16, 2014, 02:06:14 pm »
eeeerm, but html5 runs in the browser.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [SQUARE], minimalist html5 game
« Reply #4 on: November 16, 2014, 02:33:13 pm »
Okay, let's sau I have a source file (here a .hx)), the Haxe compiler for isntacne will compile into a JS file as it could compile into a binary executable.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [SQUARE], minimalist html5 game
« Reply #5 on: November 17, 2014, 08:11:02 am »
Oh, ok, so your binaries are then cross-compiled because js itself is only interpreted :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [SQUARE], minimalist html5 game
« Reply #6 on: November 17, 2014, 08:17:34 am »
Yeah, I think this is quite close than the definition. I'm not sure about cross-compiling term itself but here is the quick "What is Haxe" on the language's page.

Quote
The Haxe Programming Language
The Haxe programming language is a high level strictly typed programming language which is used by the Haxe compiler to produce cross-platform native code. The Haxe programming language is easy to learn if you are familiar already with either Java,C++,PHP,AS3 or similar object oriented languages. The Haxe programming language has been especially designed in order to adapt the various platforms native behaviors and allow efficient cross-platform development.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [SQUARE], minimalist html5 game
« Reply #7 on: November 17, 2014, 08:53:50 am »
Lol that definition doesn't mention js, based on that definition it's just your plain old compiled language :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [SQUARE], minimalist html5 game
« Reply #8 on: November 17, 2014, 09:21:34 am »
Oh, Stupid am I. Take JS, PHP, C++ and misc languages as intermediate for targets.