rho's Forum Posts

  • thanks! good point re capturing their info. i'm going to have to think how to do that as some of them are not physically close.

    R

  • well assuming that you can construct the PHP (a there are some available scripts to do it), you can construct a request to the C2 game. The browser object will let you access the request string or perhaps more usefully just the parameters you are passing in the string

    for example

    http : //xxx.xx.xxx/game/index.html?player_uid=1000000&token=844682844042&seed=662838

    hope that helps a little

  • after it has been exported, the number of event sheets is irrelevant.

    so your answer is yes, it is possible, and definitely not a good thing.

    however too many event sheets becomes unwieldy due to limitations in the C2 editor, which I believe is one of the things they plan on fixing in C3.

  • Hi,

    I'm still plugging away at my multi-user game (no need to discuss that here) but I was hoping to do some early stage alpha-testing. I have a small number of testers from a variety of backgrounds. I was wondering if there was a better way to structure the testing? do you just let them loose or do you direct them to specific elements? How much do you tell them in advance?

    if there was any advice or websites that you could point me to, I'd appreciate it.

    Ronan

  • 1600x900 but I configured it to be an optional download rather than embed the hi-res image in the game.

    probably not the most efficient use of memory but for the moment it works.

  • yes, very possible. However I do not recommend using C2 as the backend server, but just as the client/browser side of the game. SQL+scripts (perl/php/ruby take your pick) will work much better.

  • it can if you can write your own extensions... but that's beyond me. I'm sure there's been something similar on the forums before.

    R

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • the problem is not the ability of the editor or the code, it's really a problem of how well you can organise your events. If you end up with hundreds of event sheets, it can become VERY difficult to track down where each bit of code lies, do you really know whether you've caught all references to an object or a variable before you delete it.. etc.

    The C2 editor doesn't provide the development support needed to help you with large projects... it does not stop you, but it is limited in the things that help make your life easier. It's one of the reasons for C3 I believe.

    If however you can structure you code in such a way that it's pretty much a common core with data for 1000's of levels, then you don't have a problem at all!!! try to keep to good programming practice, and you'll be fine.

  • strange.. Windows10 has really worked well for me... made my 2 year old laptop that much better to use.

    I've found edge to be found, but I currently prefer IE11 because it can still go full-screen. Edge is a work in progress.

    compared to the limited hardware platform that apple supports, and the lack of support for old hardware in android, I think Microsoft is doing a pretty decent job.

    I think edge needs a little more time, but so far, I'm happy with what I'm seeing.

    PS: I definitely think IE11/Edge is faster than chrome for most of the websites that I use.. a big change from a few years ago.

  • Ashley, I did a bit more digging... and I had protected my dev-site with a .htaccess control.

    removing the htaccess controls allowed the game to run. somehow the permissions granted to access the index.html and other scripts did not follow through to the sub-directories.

    given that, I suspect it could be more to do with the edge engine than the C2 code.

    R

  • Ashley

    I discovered this problem too on my build... confused the life out of me.

    I'm using a Windows 7 machine with IE11. running from the C2 it runs fine, but when exported and uploaded, it freezes. I went into the debugger console and there's nothing wrong there. I changed the browser emulation from EDGE to 10, and it started working.

    I'm not sure how to dig through the full programme as it's only the uploaded version with the issue and not the "run layout" version. If you have any pointers on how to track the problem down, I'll go digging. The console is not reporting any errors.

    As it stands, this is a major problem. I'll not freak for the moment as I'm sure it will be fixed..

    Found some more information...

    Creating AppCache with manifest: 'http://XXX.XXX.XXX.XXX/nebula_rebuild/offline.appcache'.

    AppCache Fatal Error

    WEBGL11135: getContext: Context attribute depth:false is not currently supported

    Error loading image 'http://XXX.XXX.XXX.XXX/nebula_rebuild/images/galaxy_enemies-sheet0.png': [object Event]

    Error loading image 'http://XXX.XXX.XXX.XXX/nebula_rebuild/images/galaxy_enemies-sheet0.png': "

    [object Event]{AT_TARGET: 2, bubbles: false, BUBBLING_PHASE: 3, cancelable: false, cancelBubble: false, CAPTURING_PHASE: 1, constructor: Event {...}, currentTarget: HTMLImageElement {...}, defaultPrevented: false, eventPhase: 2, isTrusted: true, srcElement: HTMLImageElement {...}, target: HTMLImageElement {...}, timeStamp: 1434912294476, type: "error"}

    for information, if I go to the image referenced there, it exists.

    I hope this makes more sense to you than to me

    R

  • there are 2 ways that I have used

    you can add a variable to your objects (for example USAGE) and give it a value for each of your layouts or sub-layouts in your GUI. Then when you are running through your objects, only destroy those with the right value in the variable. It's pretty efficient.

    the second mode is to use containers. all the parts of the gui construct are loaded at the same time and destroyed at the same time. load one, get them all, destroy one, destroy them all. it's a bit messy if you have multiple gui structures using the same objects, but it is a very quick way to build or destroy a multi-object combination.

  • with C2 it is not necessary to be able to code however my opinion is that it is highly valuable if you can code.

    More important than coding however is computational thinking... constructing the appropriate logic structures, understanding program flow, things like if-then-else, the use of variables - that is valuable and that is the bit that translates from one programming language to another.

    how long does it take... well i'm teaching 7 year olds using studio.code.org and they recommend 20-100 hours but I suspect an adult can do it faster. they capture a surprisingly large number of the core issues you need to understand. so 100 hours to learn basics.. a programming language has its own terminology and behaviours which will take longer, but you can start with easier ones.. but yup.. many hours to perfect, but you can get a good distance with a small investment.

    think of it like a sport... first you learn rapidly how to play the game.. picking it up quickly and doing the basics well.. after that improvement is slow.. but noticeable

  • not an expert... but if it has "something like" a copy-righted material then you are into the area of derivative works and they fall under the original copy-rights. There are regional variations in the rules around them and there are allowed usages such as for parody, etc... however my mildly-educated laymans perspective of it is that if it's recognisable as "something like", then it's likely to be in dodgy territory.

    your only argument against this is that something like pacman has become so universal and has been historically unprotected, that it is now public domain... this is not the case here.

    PS: there is also the useful fact of life, suing you costs... for hobbyists they are likely only to tell you to stop using it, if they detect you, and if you are using it in a relatively harmless way - and detection is very unlikely if you have a small group of viewers or you are very small scale. However if you are confusing or damaging their brand (which happens when you get popular) or trying to leverage their brand to YOUR commercial success, they will hit you hard

  • personally I'm not big into regex but there are regex expressions that will strip out non numeric characters. however the prolem there is guaranteeing that what is left behind is what you wanted.

    if you know the string format... eg "level *** then you have other options, You can split the text string using TOKENAT, or you can split using LEFT, MID, RIGHT. Lots of options. once you have the string subset, use INT (string) to return a numeric value.

    reading the manual helps

    https://www.scirra.com/manual/126/system-expressions