rekjl's Recent Forum Activity

  • DUTOIT, hehe just in the nick of time. I just installed XAMPP and I think I stared at the instructions and guide for a solid 30 minutes with a blank mind. Hehe I will download instant wordpress now.

    Just had a look at it, and I just want to ask and see if I got the idea correct. Instant Wordpress is used to view wordpress websites. But it should work with html in general, that is why I will be able to test my html5 game by placing it into the correct instant wordpress folder?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • DUTOIT, thanks I really appreciate it! I will give C2 preview a few more tries, but if I can't I'll use your approach. Again, thanks! I think I must have gone a few years bald just last night <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Tekniko, yup I typed the exact url from the preview window, the one with my IP address along with the port number. Yes, I run the preview first before trying to preview on my phone. I tried refreshing on both ends as well, and even go a bit deeper into the game as well with no luck.

    lennaert, yup I run C2 as administrator every time.

    Ashley, thanks for that. Sorry, I am really bad at networking. I will try searching for information on checking the LAN ports. Will update as soon as I can.

    Thank you guys!

  • Ashley,

    I tried to do some research but with no luck, in the end I tried a few websites to check if my ports are open, using websites like canyouseeme.org and grc.com

    It mentioned that none of my ports were open. GRC mentioned that all my ports were in stealth mode, which they say is a good thing in terms of security, but I am wondering if this is also blocking the preview? They auto detected my IP address which is different from what I see in my network settings.

    Also, C2 preference options listed only one IP address which I selected. I checked my network connection and that is indeed the IP for my computer. My router uses a slightly different IP. But the correct one if indeed the IP for my computer right?

    Lastly, my phone uses the same wifi internet as my computer, and there is no problem accessing the Internet from my phone. So it shouldn't be a setting within my router right?

    Sorry, if I am rambling, I am a bit desperate. My game system is complete and I want to test to make sure it runs ok on the phone before making all the graphics for it.

    Would really appreciated any help on this <img src="smileys/smiley19.gif" border="0" align="middle" />

  • You could use lerp or a custom movement behaviour. I'll give you an example using the custom behaviour.

    var1 = 1

    Trigger once

    ..(set varx value choose (x1,x2...))

    ..(set vary value choose (y1,y2...))

    ..var1 = 0

    var1 = 0

    Trigger once

    ..(create object at x,y)

    ..var2 =1

    var2 = 1     

    everytick    

    ..(accelerate custom movement var3 towards (varx, vary)

    ..add 30 to var3 (adjust the amount here to vary the speed)

    object x = varx   

    object y = vary

    Trigger once

    ..set var1 to 1

    ..set var2 to 0

    ..set var3 to 0

  • Ashley, thanks, I will try researching for firewall settings and also take a look at my anti virus, perhaps it is blocking access. Will update as soon as I can here.

    Sorry, my fault for not explaining it clearly. I noticed people mentioning that our IP address are dynamic and can change, which could lead to problems previewing it. I checked and my IP address is the same and is the correct one set inside C2 preference.

    I have already set up C2 preferences according to the guide. Everything works perfectly on my computer end. Indeed the browser does not display localhost anymore, it shows my ip address.

  • Hi Ashley,

    I had a look at the page you recommended, and I tried the refreshing browser, checking firewall (did earlier from the initial setup), changed ports, running construct2 as admin, preview on lan (this was what I followed earlier, and review the hosts file. But still the same error on my phone's browser.

    I wanted to check with you, when you mention changing browsers, were you refering to the browser on my computer or phone? Cause there shouldn't be a problem on my computers side since it had no issues with C2 all this time. Also, when I try to preview it on LAN, my computer's browser is fine and runs the game with no issues, it's just that my phone gets the error message.

    Please do advice <img src="smileys/smiley19.gif" border="0" align="middle" />

  • Hi everyone,

    I followed the instruction from https://www.scirra.com/tutorials/247/how-to-preview-on-a-local-network/page-1 Everything went smoothly, except when I tried to view it on my phone, my phone browser says the webpage is not available. I read the comments at that section, and it seems a few had the same problem. A few mentioned that it might be due to the IP changing, I checked mine but it is still the same. I do not get any errors or problem viewing it on my computer.

    My computer and phone access the Internet through my wifi. I've never tried accessing either from the other through wifi or network so I am not sure if I was supposed to set something.

    I am really a noob at networks so please forgive me if I did a dumb mistake.

  • Thanks Colludium! Yeah that makes perfect sense!! Haha never thought of using the animation frames like that. No, it is just sprite objects so no worries on the tiled background. Again, thanks! <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Hi everyone,

    I've just finished the "programming" side of my game. All that's left now is creating and adding the graphics and audio. I've used simple sprites with solid colours but with the correct size in each layout. I will just add the graphics to the sprites and everything should be fine.

    However, there is one issue I just noticed.

    I've created a single sprite for all the floor in my levels....but I want them to have different textures throughout the levels.

    Can I make them unique, or make them an entirely new sprite object, without having to delete the old ones, create new ones and manually place them all over the layout?

    Any help would be greatly appreciated.

  • Hello Vaidher

    I have been using C2 for not too long now, and this is what helped me got started.

    The manual and tutorials are a wonderful place to start as Jobel has mentioned. There are many video tutorials as well, which should help you get familiar even faster. Also look for a set of video tutorial from Yann and Kyatric. It is really a fantastic set of videos that will help you get to understand most of C2's functions and how it works, while still being entertaining!

  • Thanks for sharing these useful knowledge! Hehe will surely help with keeping my event sheet organized, and a lot easier on the eyes!

rekjl's avatar

rekjl

Member since 13 Oct, 2013

None one is following rekjl yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies