AllanR's Recent Forum Activity

  • I just checked in the older r225 stable version I am currently using and it does seem to limit the depth to 100 sheets. So it appears to have been this way for quite a while...

    you can add as many array files as you want, so you could have New_Array_100.json, New_Array_200.json, etc...

  • I had to solve this problem for a project last year...

    it does get a little tricky - you have to watch if the mouse is moving or not.

    I used one button object, each with an instance variable identifying its position number.

    if the user presses a key on the keyboard (up arrow, down arrow) set a flag to start ignoring the mouse and move the Selector based on its last position. The Enter key will trigger the selected button.

    if the user moves the mouse, then stop ignoring the mouse and set the selector based on the mouse position. A mouse click (or Touch) will trigger the selected button.

    https://www.rieperts.com/games/forum/MenuSelect.capx

    EDIT: the only place it might get a tad un-intuitive is if the mouse is over a button, but then the user uses the keyboard to change the selection. If the user presses Enter, does it execute the selected button or the one the mouse is over? Or if the user very carefully presses the mouse button without moving the mouse, should the selected button get executed or the one the mouse is over?

  • in the first event you are waiting 1 second before starting the audio playback

    but in event 3 (every tick) you are calculating a width for the bar based on the audio tag that hasn't started yet. the entire eventsheet is executed every tick (about 60 times a second), so it will try to set the width and fail until the sound is finally started.

    instead of "every tick" you may want to use "is 'player' playing" - (then calculate width)

    is there a reason you are waiting a second before starting the sound?

  • just realized that will only work in C3...

    for C2 you need to add the Browser object and do it like this...

  • it definitely gets a little tricky to do it with events... but it is quite easy with javascript:

    toFixed does the rounding and will keep the number of decimal places in the round brackets.

  • the links don't seem to work...

    you might want to use clamp to limit right hand position.

  • shared hosting

    no other options were checked.

  • I put your project on the Netfirms site. Overall, I slightly prefer HostPaPa. I have used a variety of other hosts as well without much trouble.

    I didn't configure anything, just dragged the exported project to the site with my ftp program.

    I exported using the simple minification.

  • I use Netfirms and HostPapa the most.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • here is an image of the changes I made:

    for minification I normally do Simple. Advanced could possibly cause trouble with scripts and plugins.

    I don't know much about video compression, but the shorter and smaller the file, the better.

    The reason I suggested Sprites instead of Tiled backgound is that you can reduce the size of the image and then stretch it to fill the same dimensions as the current images. Tiled backgrounds will repeat the image. Otherwise I don't think it would make a difference.

  • when I tried to load your project from your server I got a Forbidden error - it would not let me see anything (trying to access from Canada)

    I downloaded your file and exported it and put it on my server - you can try it here to see if there is any difference: (it was exported before I added "trigger once")

    https://www.rieperts.com/meta

    after running, I noticed it was generating thousands of errors and warnings. it was constantly trying to exit fullscreen mode.

    on your botones_barra_superior event sheet you have events 4 to 9 running every tick. If pantalla_completa is 0 then it tries to leave fullscreen every tick and that causes an error if it isn't in fullscreen mode.

    you should add a "trigger once while true" to each of those events, or structure it some other way so that the events only run when needed.

    my iPhone 5s couldn't play the gregor game until I added the trigger once conditions. (it would give an error and restart the project from the beginning)

    the video is pretty large (34 MB) and the images in the game could be a lot smaller, and you may want to try making them sprites instead of tiled backgrounds.

  • I played around with the file and changed a few minor things that made it run much better on my iPhone X.

    without any changes I was getting 41 fps running in remote preview. And the motion was very choppy.

    I then changed the text object to only update every 0.5 seconds (instead of every tick)

    I changed the Compositing mode to Standard (instead of low latency)

    that made it run buttery smooth at 60 fps

    I also changed the physics event sheet to use "on touched sprite" instead of "on tap gesture", which made it much more responsive when trying to give the impulse to the objects.

AllanR's avatar

AllanR

Member since 21 Nov, 2013

Twitter
AllanR has 23 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies