Rable's Recent Forum Activity

  • mrtumbles

    Thanks for the kind words! Yes it's my art. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> You can see more here if you want : http://store.steampowered.com/app/598490/

    I tried fontsquirrel and it seems to work just fine ! Thanks again !

  • Arima

    Did you manage to get what's in that tutorial to work in order to have the webfont in a game exported with NW.js, when the computer doesn't have internet access? It doesn't seem to work for me.

    If you need more details, I started a thread here. Seems like it's possible with a external tool though.

  • Thanks a lot, as it seems impossible to do the trick with C2, I'll use that tool.

  • Hi everyone,

    I referred to this tutorial to allow my game to be able to use a web font without internet access. For some reason it's not working with NW.js

    My code couldn't be simpler:

    To create diplomatacss.css , I simply went to this page and saved the page, then imported the css file into my project Files folder. Diplomata is a google font.

    The font is obviously not installed on my computer. When deactivating the internet connection and previewing the file or exporting via NW.js, the webfont isn't used.

    What am I doing wrong? :-/

    • Post link icon

    If my calculations are correct, the announcement should happen within the next round(random(30500)) seconds.

  • Hi, thanks for the recent updates.

    I have a problem with my SCML object disappearing as soon as it gets outside of layout (during a layout zoom-in). To be more clear, it's the small scml box object which gets out of layout bounds, but my whole (much bigger) object which disappears, so it is very visible.

    Is there any solution to this?

    Thanks a lot!

  • Maybe you could try this ?

    On animation combo1 finished >> play animation attack1

    I'm afraid the attack1 animation will play even if the button A isn't pressed again.

  • I wouldn't personally use a wait action at event 15. I learned the hard way that in this circumstance, a timer is generally superior.

    Place a timer behavior on your player object.

    replace the condition at event 15 by "Attack1count = 0" (instead of <= 1)

    replace "add 1 to attackcount" by "set attackcount to 1"

    replace the wait action by "start timer for 0.25 seconds"

    delete subtract 1 from attackcount

    add event :

    Player object, On timer --> set Attack1Count to 0

    event 17:

    add condition : Keyboard > on A pressed

    add action : set Attackcount to 2

    Depending if you want to allow the player to spam attack1 after combo1, you may want to add "start timer for 0.25 seconds" (or a different value) at event 17, so that attack 1 couldn't be launched before 0.25 second.

    I don't know if it's clear, I didn't tried it in the editor and I'm not 100% sure that I understand what you want to achieve, but hopefully it'll help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For some reason I can't see the end of your previous comment.

    Anyway, I made a capx for you in case you need it :

    https://www.dropbox.com/sh/5jrefml0l78w ... mqTGa?dl=0

    Just press spacebar to use the recall.

    Here is the image :

  • Ok, thanks for the info and suggestion.

  • In the browser object, you have an event "on went offline" and "on went online". Just start a timer when "on went offline" triggers.

  • I would make a bi dimensional array (or 2 arrays, one for X position and one for Y position). Every tick, push front the current X and Y position into the array. If you need to go back 5 seconds in the past, then you'll have 300 (60 tick per second * 5) entries in each array.

    Every tick, delete entries at index > 299 (if you don't need to recall farther than 5 seconds)

    When the ability is used, just load the values at 299 if they exist, or the highest index values if they don't (which means the player didn't played for 5 seconds yet). You probably have to empty the arrays, too.

    If you're unfamiliar with arrays, I strongly recommend reading this : https://www.scirra.com/tutorials/307/ar ... ers/page-1

    Hope it helps! Good luck!

Rable's avatar

Rable

Member since 6 Aug, 2014

None one is following Rable yet!

Connect with Rable

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies