ZYXer

LD28

My base code

During LD 26 and 27 I spent too much time coding a simple game engine from scratch, wasting precious hours I could have used for the game logic. So over the warmup weekend I took the time to put together my base code that I intend to use for my LD 28 game. It is JavaScript code using HTML5/canvas and is basically an improved combination of the game engines I wrote during LD 26 and LD 27.

To adhere to the Compo rules and to give you all the possibility to use my code as well, I have pushed my base code to github: https://github.com/ZYXer-/ludum-dare-base-code

The base code consists of:
– a basic game loop
– mouse/keyboard input processing
– image preloading

I’ve also included some of my personal libraries for:
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please report any bugs 😉

LD29

My Base Code for LD 29

For LD 29 I once again intend to use the base code I already used during LD 28. In the last few days I have polished the base code a bit and integrated a few additional classes. To adhere to the Compo rules I would like to remind you all that my base code can be found on github: https://github.com/ZYXer-/ludum-dare-base-code

My base code is a simple game engine which I originally created during LD 26 and LD 27. It is written in JavaScript and can be used to create HTML5/canvas games.

Features:
– a basic game loop
– mouse/keyboard input processing
– image/sound preloading (I’ve significantly improved this)

Additional classes:
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)

Newly added classes:
– playing sounds (using SoundManager2)
– client for synchronization with server (see below) including a simple login & sign up screen.

I have also added a simple server (written in PHP), which could be used to synchronize some stuff, but which is definitely not suitable for a real-time online game.

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs 😉

LD30

My Base Code for LD 30

Once again I will be using my base code that I have built up since LD 26. Except for an additional timer class, the base code is identical to the one I used for LD 29. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/ludum-dare-base-code

Features:
– a simple game loop (now with an integrated timer)
– mouse/keyboard input processing
– image/sound preloading

Additional classes for:
– playing sounds (using SoundManager2)
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)
– synchronization with server (see below) including a simple login & sign up screen

My base code also includes a simple server (written in PHP), which could be used to synchronize things like highscores, but which is definitely not suitable for a real-time online game.

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs 😉

LD31

My Base Code for LD 31

Once again I will be using my base code that I have built up since LD 26. The base code is identical to the one I used for LD 30. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/ludum-dare-base-code

Features:
– a simple game loop
– mouse/keyboard input processing
– image/sound preloading

Additional classes for:
– playing sounds (using SoundManager2)
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)
– synchronization with server (see below) including a simple login & sign up screen

My base code also includes a simple server (written in PHP), which could be used to synchronize things like highscores, but which is definitely not suitable for a real-time online game.

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs 😉

LD32

My Base Code for LD 32

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features:
– a simple game loop
– mouse/keyboard input processing
– image/sound preloading

Additional classes for:
– playing sounds (using SoundManager2)
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs 😉

LD33

My Base Code for LD 33

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features:
– a simple game loop
– mouse/keyboard input processing
– image/sound preloading

Additional classes for:
– playing sounds (using SoundManager2)
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)

Since the last compo I’ve added a image processing class, which lets you generate pixelated textures (for 8-bit style graphics) and isometric projections.

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs 😉

LD34

My Base Code for LD 34

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features:
– a simple game loop
– mouse/keyboard input processing
– image/sound preloading

Additional classes for:
– playing sounds (using SoundManager2)
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)
– image processing class to generate 8-bit style graphics

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs 😉

LD35

My Base Code for LD 35

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features:
– a simple game loop
– mouse/keyboard input processing
– image/sound preloading

Additional classes for:
– playing sounds (using SoundManager2)
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)
– image processing class to generate 8-bit style graphics

Since the last compo I have added fontface preloading, a utility function for parallax backgrounds and a countdown function.

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs 😉

LD36

My Base Code for LD 36

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features:
– a simple game loop
– mouse/keyboard input processing
– image/sound preloading

Additional classes for:
– playing sounds (using SoundManager2)
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)
– image processing class to generate 8-bit style graphics

Since the last compo I have added a color class, a vector class and a toggleable function which resizes the canvas to the size of the window.

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs 😉

Ludum Dare 37

My Base Code for LD 37

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features:
– a simple game loop
– mouse/keyboard input processing
– image/sound preloading

Additional classes for:
– playing sounds (using SoundManager2)
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)
– image processing class to generate 8-bit style graphics

Since the last compo I have made fullscreen mode toggleable (with screenfull.js).

I also added a class with some procedural generation utility functions that can be used for map generation, for example Perlin Noise.

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs 😉

LD 38

My Base Code for LD 38

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features:
– a simple game loop
– mouse/keyboard input processing
– image/sound/webfont preloading

Additional classes for:
– playing sounds (using SoundManager2)
– loading and displaying PNG fonts
– particle systems
– pathfinding (using A*)
– image processing class to generate 8-bit style graphics
– utility functions for procedural map generation

Since the last compo I have added some new features:
– you can choose whether the canvas should automatically resize to fit the browser window and whether the content should be scaled
– class for objects with basic physics (position, velocity, acceleration)
– a text object that gives you more functionality than the standard fillText() function.

I also did some major refactoring, putting all demo functionality into a separate class.

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs 😉

LD 39

LD39 Logo and Wallpaper

This is an adapted version of my LD38 wallpaper. Feel free to use it for any LD39-related things...

ld39_logo.png

LD 40

My Base Code for LD 40

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features: - a simple game loop - mouse/keyboard input processing - image/sound/webfont preloading - dealing with different screen resolutions

Additional classes for: - playing sounds (using SoundManager2) - loading and displaying PNG fonts - particle systems - pathfinding (using A*) - image processing class to generate 8-bit style graphics - utility functions for procedural map generation - simple one-body physics - a text class that is way more powerful than fillText() - scaling to easily display pixelart at various screen resolutions

Since the last compo, I have made a few bug fixes and added a few small features.

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs ;)

LD 41

My Base Code for LD 41

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features: - a simple game loop - mouse/keyboard input processing - image/sound/webfont preloading - dealing with different screen resolutions

Additional classes for: - playing sounds (using SoundManager2) - loading and displaying PNG fonts - particle systems - pathfinding (using A*) - image processing class to generate 8-bit style graphics - utility functions for procedural map generation - simple one-body physics - a text class that is way more powerful than fillText() - scaling to easily display pixelart at various screen resolutions

Since LD 40, I have made a few bug fixes and added the following features: - added the polygon offset library by Alexander Milevski (https://github.com/w8r/polygon-offset) - sound can now fade in and fade out - extended the performance monitor to measure update and draw call execution times as well as measuring custom tasks - added utility function to draw rings, ring segments, and circle segments.

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs ;)

LD 42

My Base Code for LD 42

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features: - a simple game loop - mouse/keyboard input processing - image/sound/webfont preloading - dealing with different screen resolutions

Additional classes for: - playing sounds (using SoundManager2) - loading and displaying PNG fonts - particle systems - pathfinding (using A*) - image processing class to generate 8-bit style graphics - utility functions for procedural map generation - simple one-body physics - a text class that is way more powerful than fillText() - scaling to easily display pixelart at various screen resolutions

Since LD 41, I have made a few bug fixes and added the following features: - added utility functions to draw polygons, hearts and stars. - the Text class now supports monospaced text. - added Tooltip class - added Button class, which makes managing interactive UI elements much easier

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs ;)

LD 43

My Base Code for LD43

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features: - a simple game loop - mouse/keyboard input processing - image/sound/webfont preloading - dealing with different screen resolutions

Additional classes for: - playing sounds (using SoundManager2) - loading and displaying PNG fonts - particle systems - pathfinding (using A*) - image processing class to generate 8-bit style graphics - utility functions for procedural map generation - simple one-body physics - a text class that is way more powerful than fillText() - scaling to easily display pixelart at various screen resolutions

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs ;)

LD 44

My Base Code for LD44

Once again I will be using my base code that I have built up since LD 26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features: - a simple game loop - mouse/keyboard input processing - image/sound/webfont preloading - dealing with different screen resolutions

Additional classes for: - playing sounds (using SoundManager2) - loading and displaying PNG fonts - particle systems - pathfinding (using A*) - image processing class to generate 8-bit style graphics - utility functions for procedural map generation - simple one-body physics - a text class that is way more powerful than fillText() - scaling to easily display pixelart at various screen resolutions

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs ;)

Ludum Dare 47

My Base Code for LD47

Though I won't have much time this weekend, I'll still try to find a few hours to create a small little entry for LD47. For that I'll once again will be using my base code that I have built up since LD26. It is written in JavaScript and can be used to create HTML5/canvas games. You can find the base code on github: https://github.com/ZYXer-/base-code-2d

Features: - a simple game loop - mouse/keyboard input processing - image/sound/webfont preloading - dealing with different screen resolutions

Additional classes for: - playing sounds (using SoundManager2) - loading and displaying PNG fonts - particle systems - pathfinding (using A*) - image processing class to generate 8-bit style graphics - utility functions for procedural map generation - simple one-body physics - a text class that is way more powerful than fillText() - scaling to easily display pixelart at various screen resolutions

I’m distributing the code under the GPL2 license, so feel free to use any part of it for your own project. And please – like always – report any bugs ;)