AnD4D's Recent Forum Activity

  • Ashley - Just so I know, if you have a layer transparency set to say 50%, but then have that invisible, will that cause a performance hit?

    I have done this as I have invisible boxes as collision, but want them transparent so I can line them up perfectly in layout view.

  • Colludium Thanks for the heads up. My biggest concern of late is whether or not this plugin works with the Wii U exporter, but haven't had it installed since I got my Dev Kit. I'll give it a go, but trust Ashley's ability to make everyone happy.

  • I'm afraid I don't remember. I haven't used this in several months. For me it just didn't allow me to run a project when I tried to use it, so I ended up uninstalling. I thought it was permanently broken. Apparently it works now though but with errors?

  • Ashley - This plugin broke a few versions ago

    Plus, it's just an edited version of the official Sprite font plugin, and you asked for people not to edit official plugins. I've kind of been waiting around about 5 months for this, so I guess it depends on a person's patience as to how urgent it is. For me, I'm working on a very very text heavy game, so with SpriteFont as it currently stands, I'm constantly having to make a change, preview the layout, get to the point where the text is visible, find something wrong with it, go back to the project to make another change, and repeat. The beauty of this one is the fact that we could preview it in the editor, and make changes in real-time without the need of using messy arrays, etc... but like I said, it's currently broken, and it seems the original poster hasn't been around in a looooong time.

    If you need to make it more elegant, that's fine by me, but I really would appreciate it.

  • Ashley, is there any chance of this update coming to the official plugin any time soon? I've been working on other aspects of my game recently with the belief that this may be happening. Creating Sprite Fonts seems to be a bit of a chore for me at the moment, and people seem to be enthusiastic about this change.

    If the plugin is already there, and the editor has already said he'd be happy with a change, would it be a quick change, or a massive, time-consuming one?

  • Have you tried using the "preload" function from the audio section?

  • You do not have permission to view this post

  • Nitro187

    Mine's pretty straight forward.

    For yours, I would list it as:

    1 1345 Matt Car 56 Green

    2 2345 Chris Truck 93 Red

    3 23255 Laura Train 15 Blue

    4 92234 Ashley Bike 134 Yellow

    5 7346 Sam Plane 99 Purple

    Note the score first.

    Then I include a 6th element in the array which is the new one, so for example:

    6 1000000 AnD4D Plane 10 Green

    Then I run the data sort command, which puts them into ascending order based on the first element in the array:

    1 1345 Matt Car 56 Green

    2 2345 Chris Truck 93 Red

    3 7346 Sam Plane 99 Purple

    4 23255 Laura Train 15 Blue

    5 92234 Ashley Bike 134 Yellow

    6 1000000 AnD4D Plane 10 Green

    Sadly in the opposite order I want them, but then I delete the top array, and just load the data into the text file in the order I want them displayed.

    That make sense? I know you already have your method, but there's no harm in sharing in case anyone else comes along to this thread.

  • I'm interested in ordering an array from highest to lowest as well for a leaderboard table, so I too would like to know how to do this.

    At the moment I'm toying with checking if each number is higher than the next, and if it is, move the array over to a new one, and delete the line from the old array and repeating, but it's not working as planned.

    I'm still amazed we don't have a function like "Randomize array" or "Sort Array by descending" so it's actually useful for scoreboards.

    *In addition, I think it would be useful to be able to choose which column of the array you'd like to sort by. For example, maybe I want the player's names to be alphabetical, or even part of their score. At the moment, we are limited to the very first part of each array.

  • How far have you gotten so far? Can you post a capx?

  • Although you may be very much against this, Ashley :s setting the CSS to ensure that all colours are transparent, and the outline and border to none has given me exactly what I needed. The Educational game involves quickly typing out the answer to as many sums as possible, so the text box is always in focus and the mouse isn't used until the game ends.

    Sure, it's not a very good game, but it pays the bills

    Thanks for your help, and sorry for all the hassle!

  • Ashley - Thanks for the response, I appreciate your reply.

    My client wishes to have their custom font appear on an educational game, and they want their current 640x480 flash game upscaled to an 1080p HTML5 game but with strict instructions that the new game visually looks the same (but better). Unfortunately I can't achieve this with the current text box, as they currently have a transparent background to their textbox allowing them to show textures behind the text. I hate reinventing the wheel when the more efficient tool is so close to what I want it to do. One of the levels is based on a space background, so having a floating white box just looks out of place, which is the reason as to why I'm trying to combine it with the text object or sprite font.

    I've never actually needed to make proper use of the Text Box in a game before, but they've agreed to a £3200 quote for one program, and a £720 quote for 1 of 6 other games and so I'm pretty keen to get the function in place.

    Sorry for chasing so much! I know it's a pain, but I'm hoping there's an easier method. Would an opacity setting be possible? Am I correct in thinking a 0% opacity object is still rendered?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
AnD4D's avatar

AnD4D

Member since 4 Nov, 2011

Twitter
AnD4D has 3 followers

Connect with AnD4D

Trophy Case

  • 13-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
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies