Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Roadcat

Pages: 1 2 3
Ask a Question / Re: HTTP Cookies
« on: February 28, 2013, 10:44:41 am »
POST is much more secure than GET, which is visible on the URL. I'd send the scores using the POST to URL function and then have some PHP code on the server that accesses the scores using $_session - that way you could post the data along with the players name, times, levels, etc and still break them down into separate fields on the server. You could even use random numbers in fields before and after the scores to obfuscate things or use a formula to hide things - send score /4 +27 for example in the midst of other numbers and use the session array to break it down into fields and then just decode the score field on the server.

Well done, guy! That's great game-play! It's got that "Let me just try once more - I know I can beat that score" appeal to it. Great music too. The only thing that frustrated me was the doule jump off the walls didn't always register... also why the Z to swap keys mid-game?

Ask a Question / Re: Adding title page to game.
« on: February 27, 2013, 05:06:41 am »
Add a new scene, set it as the starting page and put whatever you want on it (and a way to advance to the next scene) On the dahsboard -> scene page you can choose your starting page by selecting it and clicking on the button at the bottom right. Advance to the next scene is done in events -> scene -> gameflow

Ask a Question / POST data to URL block not giving expected results
« on: February 27, 2013, 04:51:11 am »
Hi Stencylers,

I'm trying to use the post data to URL block, but something isn't right and I expect it's my grasp of php  ::)

I'm simply posting the data to the URL (in this instance it's an Attribute, but the file on the server doesn't use it so I can't see that being the issue.

The PHP simply returns a string, but I've attached that file too.

I've checked and double checked the URL. When I run the scene with the console open I get the "enter pressed" msg fine, but the next line reads function Function [] ()
See the 3rd screenie. I'm using Stencyl 3, so is this something I'm doing wrong or a bug?

Resolved Questions / Re: GET/POST data to URL block
« on: February 27, 2013, 03:38:33 am »
Scrap this, I was being incredibly blonde!  :o

Ask a Question / Re: Console Function Message
« on: February 27, 2013, 03:36:36 am »
Anybody have any ideas on this? I get it in the console when trying to return a response from a PHP script on a webserver and wandered about it.

Resolved Questions / GET/POST data to URL block
« on: February 26, 2013, 06:26:04 am »

I would love to see the POST data to URL block changed to be either GET or POST. I'm busy setting up scripts to link to a database and while the code will ultimately use POST (to keep the data less visible to the player) having an option to use GET at this point would make debugging much, much quicker.

Resolved Questions / Re: Something invisble on my scene blocking me
« on: February 11, 2013, 11:36:38 pm »
Are you doing anything with a camera actor that may have a collision boundary on it? If so it'll show up when you run the game in debug mode.

Suggestion Archives / Boolean checkbox to switch off parallax scrolling
« on: February 07, 2013, 01:21:25 pm »
There are several situations where it would be desirable to have the background scroll at the same rate as the layer that the player is on. Currently this is done in code by trial and error; adjusting of the sprite scrolling speeds, but it can be problematic when scrolling in more than one direction is possible. Pretty please can we have a checkbox to turn parallax scrolling off ?  :D

I think Hectate is right. The problem is in the line:

The 2 brackets are the wrong way around. It should read:

Attached is a game that throws the error on compile.

Fixed Bugs (3.x) / Error when compiling Actor of Group Enters Screen Event
« on: February 07, 2013, 07:00:56 am »
When creating a new event:
Actor ->Enters or Leaves the Scene or Screen ->Member of Group
Stencyl throws an error stating that there is an unmatched { when compiling. I have attached screenshots of the error message, stencil blocks, logs and the code create under the 'Preview code' button.

I could possibly see it working in Stencyl3 using haxe code blocks.

It would be a bit clunky but would work like this: when the player opens the game you do a URL call to your server. The game checks a integer game variable (the release version number) against a release variable on your server. If the 2 numbers don't match then prompt the user to download the new version before the game runs. I can't think of a tidy way to get it to update dlc automatically though.

Windows / Mac / Flash / HTML5 / Re: CMYK
« on: January 30, 2013, 02:59:09 pm »
Hehe, clever. Great art-style and fun game-play. Have to agree with spoogob though, once you die it's not obvious how to restart. Also I had one collision that didn't register where I shot a stapler - maybe check the collision shape?

Ask a Question / Re: Returning to a scene as it was
« on: January 30, 2013, 02:52:22 pm »
I'm afraid it's not as straight forward as you would like it to be.

The problem is that the only thing that carries between levels (scenes) is global variables (Game attributes). You have a few options; use the same ring but record the X,y coords (or UID - bigger chance of issues) in a list, where the list is a game attribute and then delete the rings in the list (that have been picked up) when you load the scene, or make each ring a separate actor (name them ring1, ring2, etc) and have a boolean (true/false) variable on each one to record if it has been collected or not - the easiest option for your kids to understand, but the heaviest on framerate as you'll have loads of actors.

Pages: 1 2 3