Sharing my game, a clone of the VVVVVV platformer; full source code and melonJS highlights

225 views
Skip to first unread message

Alexandre Dantas

unread,
May 14, 2014, 6:55:12 PM5/14/14
to mel...@googlegroups.com
Hi guys!
First, thanks for all the help you're giving on this group.
It is an indispensable tool to learn melonJS - countless times
I saw questions answered here that helped me so much...

Okay, on the last few days I made a low-resolution clone of
the VVVVVV game, called it WWW (as in 6 Vs packed by two).
For those who don't know, it's a retro platformer on which you
cannot jump; instead you avoid obstacles by inverting the
gravity. I know it sounds strange, but it's highly addictive and
everyone should give it a try.
Now, I'm not just shamelessly promoting myself; I learned a
lot of melonJS while developing this game.
Unfortunately I didn't found many games made with melonJS
with available source code.

So I want to share this knowledge I learned with you guys.
I'm pointing some highlights of what I did on my code and 
I hope you all can learn a bit and improve it too.
So fork it, copy it, share it, do anything you'd like with them:
Phew! I know it was a lot, hope I'm not wasting too much space on the server ;)

Chris Jones

unread,
May 15, 2014, 8:29:30 AM5/15/14
to mel...@googlegroups.com
Dude.. this is excellent. VVVVVV was an AWESOME game and this is a great start. It isn't a fluid as that game yet, but dear lord. I envy this. Congrats on something that takes me RIGHT BACK to the game.. and in fact makes me want to play it on my 3DS when I get home.


--
You received this message because you are subscribed to the Google Groups "melonJS - A lightweight HTML5 game engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to melonjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

melonJS

unread,
May 15, 2014, 10:35:43 PM5/15/14
to mel...@googlegroups.com

Very very nice ! I’m not sure I actually ever played the original one to be honest, but once I got used to the control and the gravity change, it was really fun :P

Also, did you notice the melonJS gallery, we try to put as much game there that include source code, and if you are ok I’ll probably add yours as well !

Thank you again for sharing your game here, and as well for the very interesting development feedback .

To unsubscribe from this group and stop receiving emails from it, send an email to melonjs+unsubscribe@googlegroups.com.

melonJS

unread,
May 15, 2014, 10:37:02 PM5/15/14
to mel...@googlegroups.com

Alexandre Dantas

unread,
May 15, 2014, 11:47:03 PM5/15/14
to mel...@googlegroups.com
Wow, I'd be very happy to have it displayed on the gallery!

I hope to create more levels and make it more interesting; anyway it was a nice experiment and I definitely fell in love with melonJS.
To unsubscribe from this group and stop receiving emails from it, send an email to melonjs+u...@googlegroups.com.

Alexandre Dantas

unread,
May 15, 2014, 11:57:30 PM5/15/14
to mel...@googlegroups.com
Thanks, your feedback meant a lot to me!
I absolutely love VVVVVV and it was very fun to create this little experiment.

I want to create the platforms and inversors soon! With those I can
finish "copying" the standard levels.
Also, it would be nice to add support for loading user levels on-the-fly.
What do you think?

Alexandre Dantas

unread,
May 17, 2014, 4:20:49 AM5/17/14
to mel...@googlegroups.com
Hello, everybody!
I just implemented a couple of things you might find interesting.
They're thoroughly commented and, as usual, you can freely use
those on your games:
  • On this commit I made the player able to walk slowly when you hold Shift. It's a simple feature that's also simple to implement. Now a challenge would be the opposite - holding Shift to make it run.
  • I created a little class called RepeatableSpriteObject that extends SpriteObject; with it you can create entities on Tiled that repeat a sprite along it's area. So, for example, instead of placing spike by spike you can create a large area and it would have lots of spikes - less entities means more performance!
  • Finally, I made three different types of platforms: a regular platform (when you step on it, it blocks your way), a vanishing platform (that disappears after a while when you step on it - used me.Tween for animation) and a movable platform (that moves according to a specified area on Tiled - both horizontal and vertical).
To make those I had to explore a lot of the melonJS' source code.
I recommend everyone to do so once in a while; it's nicely coded
and there's lots of stuff to learn from there.

Jay Oster

unread,
May 17, 2014, 12:32:06 PM5/17/14
to mel...@googlegroups.com
Hi Alexandre,

RepeatableSpriteObject sounds really great! We might want that functionality built into melonJS by default. ;) ImageObject is already repeatable, but we can make TileObject do it as well.
Reply all
Reply to author
Forward
0 new messages