Julz57

Members
  • Content count

    23
  • Joined

  • Last visited

  1. I think I posted this into the wrong section before. Hope I am correct now. and yes a noob. ======= hi, Been reading about basic game function, engine, cycles, FPS and refresh rate and now wondering how Phaser manages all of these, if at all. Game design is usually enabled so that the game cycle and FPS do not interfere with other too much so code works the same (aka similar playability but with varying graphical experiences) for different systems of ranging capacity. But I have not read anything about this optimisation for Phaser games. Is this because the frame rate is controlled by refresh rate of the web browser used by the player and therefore out of design control? I have been reading Phaser game code on different sites and nowhere have I seen this optimisation implemented. While surfing I actually came across a site with a series of playable examples and associated coding (minor snippets really and minimal graphics) which seemed to stall and were jerky during play. This was in stark contrast to all my other experiences with Phaser code examples. I was using a Samsung Tab A at the time. So the question above came to mind much later as the dust was settling after a session of hunting out information. So how does Phaser deal with the above and optimisation for a multitude of systems of varying capacity? Does it 'sleep' in between cycles when CPU calculations are not required to conserve battery power? Thanks
  2. hi, Been reading about basic game function, engine, cycles, FPS and refresh rate and now wondering how Phaser manages all of these, if at all. Game design is usually enabled so that the game cycle and FPS do not interfere with other too much so code works the same (aka similar playability but with varying graphical experiences) for different systems of ranging capacity. But I have not read anything about this optimisation for Phaser games. Is this because the frame rate is controlled by refresh rate of the web browser used by the player and therefore out of design control? I have been reading Phaser game code on different sites and nowhere have I seen this optimisation implemented. While surfing I actually came across a site with a series of playable examples and associated coding (minor snippets really and minimal graphics) which seemed to stall and were jerky during play. This was in stark contrast to all my other experiences with Phaser code examples. I was using a Samsung Tab A at the time. So the question above came to mind much later as the dust was settling after a session of hunting out information. So how does Phaser deal with the above and optimisation for a multitude of systems of varying capacity? Does it 'sleep' in between cycles when CPU calculations are not required to conserve battery power? Thanks
  3. What is TypeScript? And other matters

    @samid737 Thanks. yes I have been reviewing all the examples at Phaser.io as well as others on different websites. The graphics tinting of sprites and background colour changes are probably the two greatest options in Phaser for the required games. Thinking they will be super fast especially given that most sprites will be grouped as well. Only a palette of 4 colours which I am sure can be further optimised at some stage if need be. Some of the game examples are also awesome and easily adapted to my needs. Thanks for the offer of help. I like trying to do things on my own which is good and bad. Sometimes it is just getting my foot into the door before it closes. And hopefully it doesn't close too fast and break my toes. LOL. Sometimes I feel so close to being there and next it is like I am in a different country. Having no formal training in coding makes things interesting at times. My profession was the antithesis of that of a programmer but then logic is logic. I am currently learning the language let alone the rules. Delphi coding was relatively easy for me as the rules were VERY flexible. I could fudge my way through it all! One of my other problems is that I am using a laptop that died during its last Windows 10 update and I have installed Linux Lite to have something while travelling. Making everything just a little more awkward as not sure of the set up processes for installing programs etc. Linux and Windows OS are like chalk and cheese. Windows is the chalk but its taste is familiar so I have adapted to it. But will be home soon and this time will be used for reading as much as possible about Phaser coding, games cycles, game logic, game design,..... so not wasted really. Cheers
  4. What is TypeScript? And other matters

    Hi, Thanks for both posts. I went to the link to game mechanics and found it very good. The link there to game design fundamentals was great as well. So thanks for the links. Will use them as a reference and will need to read again to try to fully grasp all the concepts of game mechanics and design. Loved the examples there as well. Yes I keep trying to start, read too much, get confused and repeat the cycle again and again and again. ;( Even tried to load Phaser Editor onto my system but could not get it going with Linux Lite as the OS. Tried the additional commands in the Command line to set it up but keep getting errors. Have already messaged about this and I know it is not your issue here. I am very new to Linux also as I only managed to revive the laptop I am typing on just before heading away for a holiday. I never thought that I would have the good fortune of finding Phaser whilst away. So at least one REAL positive there. So while i try to work things out I think I will fiddle in Sandbox and see what I can do there. So again thanks for the posts. Hand holding of noobs is cherished by the noobs!
  5. @Arian Fornaris Yes I think i just need to get my fingers dirty and get going. Does using the editor allow working with code written in saw TypeScript or other examples posted in tutorials. I am thinking No as all needs to be complied via the Phaser engine but will ask anyway. Thanks again
  6. Ok all, ANOTHER dumb question(s(?)). I keep reading about Phaser, JavaScript, TypeScript and Nodejs and this and that and how all somehow magically integrates with Phaser, compilers and web pages (HTML5) to simplify the programming. Well I am not a magician and I don't even have my outfit yet. Think Harry Potter meeting Hagrid for the first time. I'm Harry and Hagrid is Phaser. Diagon Alley is where these magical tools reside and I'm still waiting for my ticket to catch the Hogwarts Express where all will be revealed. So I'm excited, a little(?) bit unsure and looking forward to learning so much but I haven't even got a single thing for Hogwarts. I do have a Public Library card, aka Google, and have been using it. I'm looking to use Phaser Editor which will simplify things under the bonnet for me. Is that my ticket to Hogwarts? So do I need to worry about the above or just go for it and get my fingers dirty with coding? And then just pick things up along the way as my needs grow? I'm afraid that I could keep procrastinating for ever about my best entry point into Phaser. Help! I think that I have answered my own question but second opinions appreciated. Thanks PS: Anyone from Slytherin need not respond
  7. Hi @Arian Fornaris No I haven't used the editor yet. I always scan through documentation first to get an idea of what, where, how and why. Just an old habit. I tend to get an overview and then jump in. So I saw the exceptions listed in the Phaser editor documentation link that you provided. For example not recognising the '.' and needing to use '_' in some cases for autocompletion. You said it was just an executable file so I can just download it and save in my file system and it will work? Thant sounds just too easy to be true and my kind of installation. This would reduce the fear of the risk of my Linus distro crashing irreparably. I worry about the things that I do not know or understand. Linux and Windows are different executables? Presume yes. Are the help files inbuilt or a separate download? The exceptions listed was in your link why I was interested in Sandbox. Using two tool instead of just one. I really don't think my coding is going to be very complex so perhaps I am worrying about nothing? The most complex aspects will be the HTML API calls to Save and Load/Read files. And from you say this will be simpler in Phaser editor. Only .txt files in any event. Cheers
  8. Hi @samid737 and @samme Yeah, love the page flipping demo.LOL. Last time I programmed a game is was done with page flipping to increase performance but this version is even better.
  9. Thanks again. Have been in contact with Arian and I suspect using both will be the best. This way I can use the auto complete of Sandbox on top of what his editor does. His simple approach to keeping all files together and packaging them will be marvelous for my needs. Both are good products and getting the best of both worlds is the ideal solution. I am nervous about installing his software Editor on my laptop (Linux Lite) as they warn anything not approved by them for their distro can cause a system failure. I had enough trouble just rescuing this laptop from a Windows 10 upgrade so will wait until I get home in 2-3 weeks. Will keep busy reading about HTML and Phaser and also keep going through Phaser examples. Forever learning and having fun(?)
  10. Hi matt, I've had a look at the help filefor phaser editor and have noticed repeated statements as to not doing exactly what phaser engine aants or likes as well as some .auto fill commands missing. So not sure now. Went back to the sandbox and that looked a lot cleaner in documentation and fully integrated. Am I correct in saying this? It would make life simpler but then perhaps not if I need to know what phaser code should be to compensate for the anomalies of phaser editor. Have spent a lot of time Googling and looked at cloudeflare, cdn ,... so what was chinese before is becomkng intelligible . The acronyms used are the most daunting component of getting started. Without an insight into those it is all gibberish and meaningless. A bit like wanting to get into a building with a 10m high wall surrounding it and no gate to walk through. Yes frustrating for experienced users but even more frustrating for noobs because we can hear you from the outside but can't get in! One query with the sandbox. Where and how does it save the files to? There is no Save button. Presume it defaults to the directory where the web page resides and places it all there when Run is launched. Loved its built in code completion which seemed vastly superior to phaser editor. A fair comment? Thanks again. Will contact you re the other matter directly.
  11. Hi Matt, All beginning tomake sense now. My biggest hurdle was realising what something like Js Bin will do. Namely a webpage and coding repository all in one. And so this was the 'page' you were talking about and yes I could see the 'cdn' when loading from off site. It was one of those light bulb moments and things began to fall into place. Yes still a few steps to get to using phaser but well on the way. So thank you very much for your help. More than happy to help with info about the 'bonky' eye along with resources and second opinions. I am sure that I can demystify the medico speak for you and put things into perspective. Did so for many years as this is/was my domain. You can contact me on my email directly which i presume you have access to as an administrator. It would a pleasure to return the favour. Getting back to Phaser I can see there is still some learning for me which I will pick up over time. Yes your proposed path is still a it of a 'geek speak' nightmare for me but now have the gist of the processing being applied so not as scary. Adrian from Phaser editor has contacted me and I think my easiest path will be to start with an all in one package. I can start getting my hands dirty and coding instead of trying to go through the process of setting up. Still happy to go through it with you as a noob to create a tutorial for ABSOLUTE dummies like me if you are interested. Lecturing to students, my peers, other professionsand the public was one of my pleasures in my career. It was a skill used daily when helping my patients understand under their visual problem, illness and treatments. So well practiced in the process so to speak. Again thank you so much. Be in touch if i can help.
  12. Ok Matt, I think the light is beginning to shine for me. I've been Googling JS script coding and found freebies like JS Bin which is used for testing and debugging web based scripts. So is this the page I am meant to copy the Phaser link to and then i see it all on 'my web page'? Sorry for being such a pain in the arse but it is all Chinese with a little bit of English as the fog clears.
  13. Yes can download the file and save it but then 'include as a script tag in the page". WTF! I need a cook recipe to start with pictures!!! Once in I'll have a shit load of fun. Ok am thinking a script tag is part of a HTML page but where do I find, create, get access to this page. Herein is my dilemma and reflects my poor knowledge of HTML and JS. I use Firefox as my browser but beyond that nothing more in terms of HTML application, let alone what you say is easy. Easy if you know how but not when you have no idea. Agree that just getting my hands dirty and start coding is a good idea once I know how I am going to do it. And so I go around in circles as I do not know where to get off. I thought it might be a good idea for me to do a tutorial "Getting started with Phaser for ABSOLUTE dummies" and publish for others like me who are intimidated by the starting process. It would also help me BETTER understand what I am doing and hopefully help others. Interested in co-authoring? If not know someone who might?
  14. Thanks Matt, The Phaser Editor has been recommended to me so will probably go down that path to simplify things. Just a few questions though. Does it get updated as new versions come on stream. I'm seeing a lot about Phaser 3 being in the pipeline. So to wait or not? An IDE is??? My understanding is that it is a coding shell reducing effort and simplifying the processes as all are combined into one entity. If it is a program then is it OS dependent or rendered by the browser? I can't find info on this. Is installation easy for a noob? I gather there must be support for this somewhere. Getting the programming structure up and running is a bit daunting but slowly getting there. Other than that liking Phaser more and more. Doing background reading aka Game-Development-for-Human-Beings-ebook and HTML concepts on 'Tutorial Republic'. I know you said js is forgiving but starting on the right foot is always an advantage down the track. Bad habits can be difficult to break. I taught myself Delphi by buying a book on it and reading it from cover to cover. Took me two weeks to go through, back and forth, and my wife thought I was mad. So never had any formal training in coding. Would you recommend anything on game design logic? I'm thinking that the planning stage should be the longest and most demanding. Once concepts are honed then the coding is the simple(?) part especially if the planning takes into account the software's capabilities. So like Delphi I will read and read until things begin to come together and then start getting my fingers dirty on the keyboard. Also thinking from the promos for the Phaser editor that multilevel games are possible along with loading and saving data. Already been given a link to 'HTML5 local storage' which I reckon will meet my needs: hence reading Tutorial Republic. Also thinking heaps of tutorials and examples to get me going once my initial hurdle of understanding the development environment as cleared in my mind. A really great community here. I'm lucky that I don't have to reinvent the wheel as in a game concept. I'll just clone and reformat to my 4 colours and bingo, it's done. Sounds quick and easy when I say it. Cheers
  15. What types of files can Phaser Load and Save?

    Thanks for the advice. Will chase up the tutorial and look into the editor. Currently caravaning on East cost of Australia so will wait until I get home to do formal installs. Yes agree that Phaser is a great game engine. Easy but very flexible. Just visited the tutorial that you advised. It will be a great resource for me. Thanks again