Latest Uploads
Bumble Bee

dna

Tires

dna

Guess The Remake

rychan

Julia Set Visualer

Andy_A

Julia Set Visualizer

Andy_A

image-07-0 ... -34-29.jpg

Jayenkai

Forum Home

PlayMyCode - Beta testers wanted

Page : 1 2

UserMessage
Posted : Thursday, 16 December 2010, 19:50 | Permalink
JL235


WW Entries : 7
I'm sure several members have heard me mention a site I'm currently building, PlayMyCode.com. It's a site where you can sign up, then create a new game project, write it's code, manage it's images, publish and then share it online all from our site.

The idea is to get away from messing with installing and distributing plugins, tools, libraries, IDEs and compilers. Everything is all wrapped seamlessly. Note that it doesn't support IE 8 or below (they don't have HTML5 support).

What am I after?

The site has just moved from alpha to beta. It's still got more features to be added and it's still got a few bugs in places, but today you can build games in this. So as it's usable we (me and my brother) are now looking for a small group of users to help test it out.

I'm looking for people to make content, find bugs and give feedback on the site. Anything you build is hosted by us on your behalf and you can then distribute it anywhere you want (i.e. embed it into your blog, or paste a link on facebook or twitter). Anything you build is also open source.

How?

We use our own Ruby-like language called Quby as it allows us to prevent certain features of JavaScript. This is for security reasons so in the future we can allow users to safely login via games. It also allows you to use classes and other features not present in JS.

The games automatically run on top of a HTML 5 canvas, and we provide simple bindings so you draw directly to it.

Examples?

A range of published examples are available on the sites play section. For each game you can then click on the 'code' button to see the source code behind it. You can also check out the sandbox where you can experiment and write code (but you can't save, for that you need to sign up an start a project).


If your interested then just go to the site, join up now and start building.

If you have any feedback or questions it might be best to post in this topic so others can see and discuss; but otherwise feel free to just PM me (there is also a contact e-mail on the site).

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Thursday, 16 December 2010, 19:51 | Permalink | Mark Here
CodersRule


*peers in* Oh hi there. I'd love to help you.
Homepage : http://tacosareawesome.com/
Posted : Thursday, 16 December 2010, 22:41 | Permalink | Mark Here
Evil Roy Ferguson


WW Entries : 3
Had a go with it for a bit and found two bugs, one major, one minor.

A Javascript injection bug:

Here it's just doing "alert" repeatedly, but it could do worse.

-->

More minor, // inside of string literals is probably not being handled correctly. The following line is an error because it thinks everything after the // is commented out:

-->

Overall, though, this is some very cool stuff you're doing. HTML5-based games are on the way in and this makes developing them much more accessible to non-web people. Quby seems like the start of a very nice language -- the static analysis features in particular please me.
Posted : Friday, 17 December 2010, 00:52 | Permalink | Mark Here
HoboBen


WW Entries : 9
Minor cosmetic issue

Highslide JS

-----
Posted : Friday, 17 December 2010, 00:59 | Permalink | Mark Here
HoboBen


WW Entries : 9
Your cookies are not set to work on both www.playmycode and playmycode.com; this leads to a confusing situation where you think you're logged in (and you are in another tab!) and clicking on "build" sends you to the sandbox instead.

-----
Posted : Friday, 17 December 2010, 01:06 | Permalink | Mark Here
JL235


WW Entries : 7
Thanks for the bugs. The injection one is now be fixed but I'll be fixing the second one when I get more time (it's a lot more tricky to do right).

In regards to the satic analysis; a few months ago I went out with some friends and met a guy in a bar who was a Film Studies student. I mentioned I was a web developer and he then ranted at me for the next 15 minutes about how irritating he found the lack of static analysis in PHP (he'd did some in his spare time).

If you remove a few exotic features (like eval) from dynamic languages, it makes them _much_ easier to predict and check.

@Ben, what version of FireFox are you running? That doesn't happen in mine.

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Friday, 17 December 2010, 01:51 | Permalink | Mark Here
HoboBen


3.6.6 / Windows XP
Posted : Friday, 17 December 2010, 02:17 | Permalink | Mark Here
JL235


WW Entries : 7
Does it occur on other dialogs, or was it just on that one?

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Friday, 17 December 2010, 02:47 | Permalink | Mark Here
HoboBen


WW Entries : 9
All of them. Firefox 3.6.12 on Linux has the same problem, to the extent that the title is completely hidden.

-----
Posted : Friday, 17 December 2010, 03:55 | Permalink | Mark Here
HoboBen


WW Entries : 9
Wishlist: be able to create an image and use drawPixel, etc on them. Perhaps to simplify the syntax changes, a "setDrawTarget" command so that the commands don't change.

-----
Posted : Friday, 17 December 2010, 03:59 | Permalink | Mark Here
JL235


WW Entries : 7
I'd probably just add the methods to the image class.

Currently you can draw to the canvas and then turn the canvas into an image. Downside is that you get the whole canvas and you need to use one of the drawImage functions to get the section where you drew.

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Friday, 17 December 2010, 04:19 | Permalink | Mark Here
HoboBen


Any plans for switch/case statements?
Posted : Friday, 17 December 2010, 04:41 | Permalink | Mark Here
JL235


WW Entries : 7
"Hoboben" Any plans for switch/case statements?

None.

My main issue is that I personally never use them. I just use if's instead. So they would be right at the back of features to add.

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Friday, 17 December 2010, 06:35 | Permalink | Mark Here
HoboBen


WW Entries : 9
I have a game of higher-or-lower that is buggy. If you run it with the console, the cards sometimes change their values to something else.

It's entirely possible that it's my fault though. How do you properly free things?

-----
Posted : Friday, 17 December 2010, 15:39 | Permalink | Mark Here
JL235


WW Entries : 7
HoboBen It's entirely possible that it's my fault though. How do you properly free things?

It's garbage collected. So when you no longer have a reference it's free'd.

I'll have a look through your code laterz, see if I can see the bug.

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Friday, 17 December 2010, 15:49 | Permalink | Mark Here
JL235


WW Entries : 7
As your building GUI components something that might interest you is that you can grab the do blocks attached to any function (if it's there).

For example instead of:
-->
you could do...
-->
If the last parameter in a constructor or method starts with an ampersand it will grab any associated do block. If the block is missing then you just receive null. You can then call this later using the Function methods in the API. Like:
-->
I really need to add the above to the docs (it's in the API but not in the Quby syntax section).

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Saturday, 18 December 2010, 00:50 | Permalink | Mark Here
JL235


WW Entries : 7
Ben I debugged your code. The issue was a logic error as you were playing a card when resetting (and so lost the current card).

My code changes are marked in the source below. They are each 1 line additions or removal. There are three of them:
-->

Otherwise it's a nice game, it'd be good to see it finished!
Highslide JS

You can also use spaces in project names, you don't need to use underscores.

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Saturday, 18 December 2010, 04:13 | Permalink | Mark Here
HoboBen


WW Entries : 9
Oooh thanks very much for fixing it. There's no way to rename the project at the moment though (and I don't want to upload 52 cards again!)

Btw, I just tested it on my iPod Touch; it's slightly slow (still playable), but the text is upside-down and outside of the box. Still, better than Flash!

-----
Posted : Saturday, 18 December 2010, 16:00 | Permalink | Mark Here
JL235


WW Entries : 7
Would you like me to rename it to 'Higher Lower' in the DB?

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Saturday, 18 December 2010, 18:33 | Permalink | Mark Here
JL235


WW Entries : 7
Btw you should probably remove the fps counter in the top left.

If you also use the User class in the docs you can save the users highest score to the server (if they are logged in).

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Tuesday, 21 December 2010, 03:15 | Permalink | Mark Here
JL235


WW Entries : 7
HoboBen Wishlist: be able to create an image and use drawPixel, etc on them.

It's not official (I haven't done the docs yet) but you can now get and set the pixels from an image.

-->
I will be adding 'getRed', 'getGreen' and so on later, and alpha must be a value from 0 to 1 (like with setColor and getAlpha functions).

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Tuesday, 21 December 2010, 04:07 | Permalink | Mark Here
HoboBen


WW Entries : 9
Neat! I was wondering why alpha wasn't working, too; I was expecting 0-255.

-----
Posted : Tuesday, 21 December 2010, 06:38 | Permalink | Mark Here
JL235


WW Entries : 7
HoboBen Neat! I was wondering why alpha wasn't working, too; I was expecting 0-255.

I am thinking of changing this for that very reason. It's more unified if they are all 0 to 255.

However on the other hand it makes it easier to do:
-->
then...
-->

Personally I'd rather have all three values as 0 to 1, but then it doesn't match paint apps that use 0 to 255. : (

-----
PlayMyCode.com - build and play in your browser, Blog, Twitter.
Homepage : http://www.StudioFortress.com
Posted : Wednesday, 19 January 2011, 15:23 | Permalink | Mark Here
Evil Roy Ferguson


WW Entries : 3
Sorry to necromance, but finally got a chance to play around with it. Made a game in a pretty short span of time.

So my feedback:
- I still like the language quite a bit -- for simple games it's a nice blend of Ruby and Blitz, although until it's a little bit more mature I would shy away from a larger project.
- I forgot how painful it was to work in one file -- do you expect to introduce multi-file projects at any point in the future?

Page : 1 2
Latest Posts
What's your project worth?
Jayenkai Fri 06:49
They Are Everywhere Gameplay Video at 2x Speed!
rockford Fri 05:59
What have you done? - July 2014
rychan Thu 11:32
Dig out the VCR!!
steve_ancell Thu 04:57
Google : LanguageName KnownCommand
dna Wed 13:26
Jay's New Lumia 1020
Jayenkai Mon 23:47
AGameAWeek Progress Report
Jayenkai Mon 14:49
Mog's Village
Jayenkai Mon 02:06
Ants?
steve_ancell Sat 13:22
More

Latest Items
Techy : Back from Game Dev Con!
Jayenkai Sun 15:52
Family : Sunday
Jayenkai Wed 02:31
Family : Good News (for once)
Kuron Tue 14:37
Showcase : Don't Tap The Zombies
therevillsgames Mon 15:26
Showcase : Mutant Monty
steve_ancell Wed 18:26
Blog : Update
Kuron Mon 12:52
Techy : New Laptop!?
Kuron Fri 14:52
Showcase : Ascension 2 Live Wallpaper
CodersRule Fri 12:48
Showcase : Saviors of Gundthor
CodersRule Fri 11:50
Showcase : Lava Monkey
rychan Tue 15:13
Blog : Mac Rant!
rockford Fri 13:48
Dev-Diary : Yup, another song
Kuron Wed 05:39
Pets : Old pic to share...
rockford Sat 16:01
Blog : EmuMenu
spinal Sat 10:07
Family : More bad news :c(
Kuron Mon 06:07
More

Who's Online
Jayenkai
Fri, at 06:49
Afr0
Fri, at 06:10
rockford
Fri, at 05:59
spinal
Fri, at 05:40
rychan
Fri, at 03:13
shroom_monk
Fri, at 02:45
steve_ancell
Fri, at 01:38
9572AD
Thu, at 22:40
HoboBen
Thu, at 22:02
Mog
Thu, at 21:17
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.