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 - sentenza

Pages: 1 2 3 4
1
Thank you. I assumed the connect to be synchronous, while it turns out to be asynchronous.
So I experimented a bit and found out I can actually check for a result while creating - I just have to wait long enough for the connect to complete. This works better in establishing a proper flow than in the alway blocks.

2
Hi,

I'm trying to set up a simple connection test, but I'm running into a strange problem: the extension appears to connect just fine, yet all checks return a negative result. I set up a simple block that connects and then tests for various results, but every check returns false - while the debug log shows the connection was successful  ???
Am i missing something?

[LOG] [Flash] scripts.SceneEvents_0#init(104): Not connected
[LOG] [Flash] MyNuggeta#readMessages(124): Nuggeta:  (Debug)[Flash] [StartResponse --> _StartStatus=StartStatus.READY| _PlayerSessionType=PlayerSessionType.ANONYMOUS| _Player=[NPlayer --> _storeId=540730800cf294add5436731| _ID=140975731233412642| _Name=Anonymous 140975731233412642| _Connected=true| _Lang=en_US| ]| ]

3
Ask a Question / Re: HTTP server Maker?
« on: June 19, 2013, 01:31:26 am »
Thanks Sentenza, are you on Linux? Windows 7? Other? I just uploaded the files that I wanted to access through the game to the servers, and gave the URL to a url Get block. Perhaps a Stencyl Flash game run on Windows 7 needs a crossdomain file where as a Stencyl Windows game run on windows 7 doesn't (my experience), or a flash game run on Linux doesn't (Captain's experience).

I'm on linux. It's a check built in the flash library, I even tested it in a pure haxe app - the flash application won't connect to a server different from the one it's running on unless it can retrieve a policy file from it.

http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html

4
Ask a Question / Re: HTTP server Maker?
« on: June 18, 2013, 12:55:43 am »
I can confirm that HTTP requests work in flash as long as you put a proper crossdomain.xml file in the webserver root. How did you set up the server?

5
Ask a Question / Re: Bullets aren't colliding with enemies and players
« on: April 13, 2013, 05:21:44 am »
Ok, let's recap:

- in bullets, you need to have:
     1. the 'inflicts damage' behavior, with an appropriate damage value set
     2. a collision event, set to kill themselves on collision with player or enemies (otherwise they will bounce off)
- in players and enemies, you need the 'health' behavior - its builtin collision check should detect the 'inflicts damage' in the colliding bullets and apply appropriate damage to the actor

Missing collision check in bullets can explain why they bounce (they don't know they are supposed to vanish after impact otherwise) but damage should happen anyway. Try adding a debug print to the collision event in health to check if it is executed.

6
Ask a Question / Re: Bullets aren't colliding with enemies and players
« on: April 12, 2013, 03:33:04 am »
'Inflicts damage' does not actually do anything, it only sets damage values. You have to check for collisions yourself and apply the appropriate damage - you need the 'Health' behavior which automatically reads damage values from 'inflicts damage'.

7
News / Re: Stencyl 3.0 - Design Once. Play Anywhere.
« on: February 05, 2013, 09:35:53 am »
In that case, why would it be a such a big problem if someone steals your game? If you can prove you're the rightfull creator, any website the thief put your game on has the duty to remove it and punish the uploader because he defiles your copyright. And with bad luck the thief has to pay, which can be a lot. I think we can all agree there are endless lots of possibilities to crack a game into pieces, but at the end it would be for nothing.

Having a right and being able to enforce it are not the same thing. Suppose your work was completely ripped and published on a site in any given foreign country - your country's laws do not apply there. Sure, there are international agreements on intellectual property rights, but now you need lawyers - can you afford to take legal action to someone in Ukraina or China? Prevention is always better :)

8
News / Re: Stencyl 3.0 - Design Once. Play Anywhere.
« on: February 05, 2013, 02:56:06 am »
You shouldn't worry to much about it guys. Yes, HTMl can be copied, but nowadays you can adjust rights to your files in your FTP client. This way you can make sure people only read your files or even cannot reach them. And also, PHP isn't visible in a source code. You can play with that as well. And maybe, for those who own Visual Studio, you can create an Silverlight APP wich can be run in your browser. Good thing is, it contains all your files and no-one should be able to acces them. It's like flash actually.

HTML5 is executed in the browser, so all of it is visible to the user by definition. Just click 'Viev source' from the browser menu.

But the main drawback fot HTML5 is that Microsoft still refuses to support WebGL, which means your game can't be played by IE users. So, right now, flash is still the best option for a cross-platform web game.

9
News / Re: Stencyl 3.0 - Design Once. Play Anywhere.
« on: February 04, 2013, 01:32:01 am »
I'm pretty sure people can decompile your SWFs and do exactly what you just mentioned.

Yes but that requires skills, while any random idiot can cut&paste your HTML5 code.


10
News / Re: Stencyl 3.0 - Design Once. Play Anywhere.
« on: January 29, 2013, 08:19:23 am »
It's good enough for an open source project, it's not good enough for a business. In business people want a committment from the company not from any random user who may or may not know what is going on. When the company is silent people are going to suspect something is wrong, no matter what users can say. You are not required to like it - it is just the way things are.

Do microsoft give you weekly updates as to why the latest version of their software is running late?

The smaller you are, the harder you have to work to keep customers. And you may notice that even someone as big as Microsoft continuously pushes news and press releases to keep people (and stockholders) happy - uncertainty means losing money.

The fact is, as you are telling us, there are already regular updates for the subscribers. It's not like Jon should be forced to waste time preparing some special boring report on purpose - we are talking a five-minute cut&paste from the already written reports. Even if 9 out of 10 peope will not understand a single thing, it will be enough to reassure everyone that things are moving.

11
News / Re: Stencyl 3.0 - Design Once. Play Anywhere.
« on: January 29, 2013, 07:20:15 am »
Well yes, that's the point. Not every day, but at least once a week, even if it is only a progress report it will show people that the thing is actually going forward.

and the posts from beta testers saying this exact same thing on the forums isn't good enough - you'd prefer to drag the big guy away from his work and get the word from the boss himself?

It's good enough for an open source project, it's not good enough for a business. In business people want a committment from the company not from any random user who may or may not know what is going on. When the company is silent people are going to suspect something is wrong, no matter what users can say. You are not required to like it - it is just the way things are.

12
News / Re: Stencyl 3.0 - Design Once. Play Anywhere.
« on: January 29, 2013, 07:14:05 am »
and for a business company missing not one but two release dates and then keeping everyone in the dark about what is going on is nearly suicidal.

I was never aware of a release date for 3.0,  nothing was set in stone, at least AFAIK.

There was an announcement for summer 2012, and then an announcement for Q4 2012. In business words are stones.

13
News / Re: Stencyl 3.0 - Design Once. Play Anywhere.
« on: January 29, 2013, 05:58:00 am »
Maybe Jon should do a blog post every day saying:  "Fixed some bugs, still more to fix" to keep the non subscribers happy?

Well yes, that's the point. Not every day, but at least once a week, even if it is only a progress report it will show people that the thing is actually going forward.

Stencyl is not a clan of open source users, it is a business company making business - and for a business company missing not one but two release dates and then keeping everyone in the dark about what is going on is nearly suicidal. People are not going to just wait in blind faith, they will wonder if you are another Duke Nukem Forever and go somewhere else. Keeping prospective customers informed is literally a matter of life and death for a company.

14
Resolved Questions / Re: Get url
« on: January 21, 2013, 06:01:04 am »
It doesnt throw me an error when exporting for Windows and it works for localhost ( surprisingly, it does not work for file:// though, this is really weird ).

Unfortunately, its something i want to be able to do in flash :\.

It is indeed a flash security restriction - if you want to connect to any other server than the one the swf is hosted on, you need to install a "crossdomain.xml" file on the *destination* server:

http://webdev-il.blogspot.it/2011/07/what-is-crossdomainxml-file.html

15
Ask a Question / Re: Make HUD render on top of foreground elements?
« on: January 14, 2013, 06:24:59 am »
"Send to front" does actually work, you need to put it in ''when updating", so that it costantly jumps on top of everything else.

Pages: 1 2 3 4