Drawing speed

The current version of my game in the app market has a problem with the low display rate. I studied and determined that the speed problems are caused by drawn stacked objects. Remove the background image has solved the problem at all levels except those containing a sprite object that contains three shape objects that draw circles of low opacity on top of the other. Having this sprite object just draw a circle at a time fixed speed on these levels as well.

So, the long and short, if it is that performance seems to suffer greatly from drawing objects in a hierarchy. Is it possible to have a background image without loss of performance so much? Thank you.

Joe, you should put it in your file AppName - App.xml, as follows:


        Whatever.swf
        false
        landscape
        gpu

Make sure you have the captialization so right.

Tags: BlackBerry Developers

Similar Questions

  • I'm reading the data (speed rate and flow) of a table and it plot in a graph.

    I'm reading the data (speed rate and flow) of a table and it plot in a graph. I need to draw two values of l/min (speed) to the same speed. How can I do using a loop for?

    There is no need actually to use a loop FOR this. And using a graphic waveform isn't the type of field for this, for a waveform you a (Start), the dT T0 (greatness not) and table D (Data), this isn't what you want unless you know precisely the measure will take place according to an orderly disposal, you'd want a xy chart so that you can trace the measures where they occur in the axes X and Y of preference.

  • Highlight upward speed

    Hi Visual Programming Champions!

    Im working on a school project, I make espresso vending machine.

    in any case... I wonder if there is a way to speed up execution of the execution of climax?

    I just need it to be a little faster...

    Thanks for your reply.  If I get a

    Normal
    0

    fake
    fake
    fake

    MicrosoftInternetExplorer4

    / * Style definitions * /.
    table. MsoNormalTable
    {mso-style-name: "Table Normal";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style - noshow:yes;
    "mso-style-parent:" ";" "
    MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
    MSO-para-margin: 0;
    MSO-para-margin-bottom: .0001pt;
    MSO-pagination: widow-orphan;
    do-size: 10.0pt;
    do-family: "Times New Roman";
    MSO-ansi-language: #0400;
    mso-fareast-language: #0400;
    mso-bidi-language: #0400 ;}

    satisfy the answer, I'll send you a drawing of a spider seven legs.

    Alex Tressapos

    This request has been popping up regularly since I started coding in LabVIEW.

    Bold, I would like a speed control that wolud allow me also to go back in time to examine what I've missed. But unfortunately, it is not possible (yet).

    The best I can do is suggest you set a breakpoint after the boring stuff, but before the game, you are interested.

    I wish I could give a better answer.

    Have fun!

    Ben

  • How to make a graph FFT show imaginary multiples of 1 x speed in LabView

    I use LabView to analyze vibration of a turbocharger and display it on a FFT graph. I want the program to do is automatically draw lines on the x-axis of the graph and show possible 1 x, x 2, x 3... the vibration depending on the speed of the engine. For example, if the speed of the motor is 10 kRPM then 1 x is 166,6 Hz and 2 x will be 333,33 Hz and so on. It's like having the grid lines on the x - axis that will move with speed. Is this possible?

    I am using LabView 2010.

    Here go us

  • Circle quick algorithm (Bresenham?) drawing to transform circular Hough

    I worked on a circular Hough transformation algorithm for circle detection and I am interested in finding ways to make a little more efficient. At high level, I implement some queueing of client/producer model between the data collection and analysis/filtering, but I think that the circle of operation for the accumulation of Hough of drawing could use some breaking in. That's where I'd love help from you, the experienced programmers of LabVIEW.

    I used simple trigonometry draw pixels with some angular resolution, but I think using a circle drawing algorithm as the algorithm of circle in the middle (variation of Bresenham circle) is probably smarter in the end. The abomination of hidious of LabVIEW script I created for her, however, is not complete as quickly as I had hoped. I followed the C code written here: http://members.chello.at/~easyfilter/bresenham.html

    You can find the attached VI. It takes in a matrix of pixels in an image binary (0 to 255), with the edges and draw circles centered on each pixel 255 with the given radius. "Drawn" circles are simply a list of coordinates, the output array. Anyone have any suggestions on how to improve this VI? Or maybe even some input to the notion of transformation of Hough set?

    Hi Vekkuli!

    I have, but a few recommendations for this function. Mind you, this is just my point of view, there could be more advantageous alternatives.

    1. For the calculation of the pixel when you used the formula nodes. I think it's a little overdosed because it's only in addition/subtraction, so you can just do that in LabVIEW.
    2. When collecting the coordinates, try to avoid using registers at offset and table build to add new items in each iteration. Because arrays are dynamic data types, this causes the compiler to allocate a new, bigger memory, copy the entire table with the new elements, and then free the old memory. Do what each iteration is quite a Devourer of performance. A better approach would be to use indexing or concatenation of tunnels.
    3. Borrowing tunnels of indexing to collect data also added, advantage to the outer loop (the iterate over all pixels) paralellizable, which could be a big performance increase, assuming a multi-core PC.
    4. You can get a possible increase in speed by drawing octants instead of quadrants, creating 8 points at each iteration.

    I also tried my hand to implement this algorithm that creates a circle, here is the result:

    On the transformation of Hough, there are examples of LabVIEW implementation, made at the University of Texas. You will find them here.

    I hope this helps.

    Kind regards:

    Andrew Valko

    NOR Hungary

  • calculation of the average value of the sorted data and polar route drawing

    Hello

    I did a VI that calculates the average value of the wind rotor/speed-ratio in the sections of 30 degrees (wind direction). He also called the polar plot of calculated data. Everything works, but I would like to make more detailed calculations and drawings, by increasing the resolution to 1 degree, or...

    Problem is VI, I did, is not easy on a large scale. At the moment, I have 12 parallel structures of switch-box to calculate the average value and build the array function to collect data calculated for Polar plot to draw the image in real time. I know it's probably the worst way to do it, but since I have done a few things with LV, it was the only way I managed to do what I wanted.

    Now, if I continue in same way to reach my goal, I have to create 360 Parallels switch-case structures... that are crazy.

    Something like the calculation of the average of the table or matrix (zero/empty values should not be calculated on average) inside the loop or similar way would probably be the best solution.

    So, polar plot drawing is not a problem, but creating a reasonalbe average metering system is. Any ideas?

    I would also like to rotare northward to the top (0 deg), and degrees of increase in a clockwise direction on polar ground dial plate (as on the compass).

    VI on the attachment. (simplified version of the complete system)

    I have signals:

    -Wind speed

    -wind direction

    -Rotor speed

    I want to:

    -calculate the average value of the speed of the wind / rotor - ratio in sections (5 degrees, 1 degree)

    -Draw a polar path of the wind rotor/speed-ratio of averages in propotion of wind direction

    I'm using LabView 2009

    Thank you very much.

    It is closer to what you're looking for?

  • How can I programmatically draw new circles on an image control

    Hi, I'm fairly new LV and programming in general. I'm creating a program to get better. In this program, I have balls bouncing around on an image control. I use a table to keep track of the ball position (x, y) and the other to follow their speed. I want that whenever a ball reaches the border of the image, it splits into 2 balls. My problem is that I can't find a way to programmatically add these new balls for each draw circle screw must be serialy connected and then drawn on the image. What Miss me?

    You need to iterate over your table of bullets.  This means that the use of automatic indexation.  Now, you have no reason of wire with a value of N in the loop For.  And wiring of this value to the array Index function gives you invalid data it's either nothing, or the ball even if it exists in the table.

    I cleaned up a few other things in your code.

    1 cancel the function.  No need to multiply by-1.

    An array of Index 2.  It is expandable.  Drag the bottom border down.

    Your next bit of code to add would be where you decide to add another ball and put it in the Position and speed tables.

  • Draw a model of State-space

    Hello!

    I'm doing a project and I'm stuck and I am in need for some help.

    I made a State-space model that I use for this project. I used Matlab (with and without simulink) to simulate this model and to trace its behavior. But when I want to do this in LabVIEW, I'm stuck.

    I don't want to use Mathscript, because, while it would in Matlab.

    Does anyone have any ideas of how I can simulate and draw my state space model in the parameters of the matrix that I?

    ________________

    Look at the setting, I want to draw x.

    Well, you can check if you have by looking meny help > about LabVIEW... You should see this icon if you have the CD & SIM module (of course, the logo must be 2009 in your case):

    Again, if you haven't and you're academic, try to talk to your administrator and check its availability. If you are a student, the student version of LabVIEW also have this software.

    Doesn't depend on any other software other than LabVIEW MathScript RT Module (not the "Matlab Script node") and it allows to compile m-code directly in LV in general, its speed depends on the type of code you have.

    CD & SIM module can be considerably fast, but again, it depends on what kind of code you are using. The function of the State space in control and the Simulation loop has good performance compared to the linear Simulation.vi CD.

  • New case in the action engine has a radical effect on execution speed. Even after it is deleted.

    I use a motor of Action to collect, analyze, and write data queued in for use elsewhere in my program. Data packets are 67 bytes long and arrive at 1 kHz, so the speed of execution is important enough.

    In its original form EI was an average of 80-90 uS by running and had no problem keeping up. Adding a box empty to the structure immediately slowed down execution of EI to 440 uS by iteration, even when the empty case is never called. Embarrassing question is that after the empty case is removed and control the enum back to its original state, the runtime remains to be 440 us instead of 80.

    The four original cases were intact. All the world run into this kind of behavior before? I know that LabVIEW much changing helpful code in the background - change the representations of data, moving around the benefits of memory buffer... - but I can't understand what could happen in this case.

    If you want to play 'spot the difference', I enclose my AE for channel 1 (duration of execution 440 uS) and channel 2 (running time 80 uS).

    Comparing them side by side with buffer highlighted benefits I can't find those 260 uS.

    (I know it's a lot of queues. I can't be helped; the project requires data signals 11 1 kHz to draw at the same time, for each of the two channels.)

    Hi, Alex.

    As I understand, you are dealing with different sizes of table stored in the shift register. Check your section Initialize - in a VI you initialized with 1000 elemenths and table in an another VI with 5000 elemenths. That makes the difference:

    See attached VI.

    Andrey.

    PS

    Moreover, it is a good idea to post fully functional example, without SubVIs missing, etc.

  • System.Drawing.Graphics


    Just out of curiosity, what should you do with this class in terms of design? The LabVIEW <-->.NET interface is not known for his speed, then you can consider using the native drawing tools in LabVIEW.

  • speed problem

    I bought hp 15-d103tx 14 this month. There i5 4th gen processor. When I copy files with size 2 gb, speed is like 3mbps, I think that it's slow. And the continuous speed fluctuating. Help, please. Thank you.

    Hello sami.

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the Forums of HP, I would like to draw your attention to the Guide of the Forums HP first time here? Learn how to publish and more.

    I read your post on how the processing speed of your laptop is slower than expected, and I would be happy to help you in this case!

    To increase the speed and effectiveness of your laptop, I advise you to follow this document on improving system performance without adding memory (Windows 8). This should contribute to the transformation on your computer.

    To help you, I will need to know:

    • If your computer has completed all its important updates of Windows.
    • If you have updated your drivers from HP the HP SupportWizard.
    • The programs that you try to run simultaneously.
    • Installed programs that appear whenever you turn on the laptop.

    Please re-post with the results of your troubleshooting, as well as the information requested above. I look forward to your reply!

    Concerning

  • Issues of speed and bios USB

    Dear Experts!

    I have a HP Compaq dc7600 small factor of my machine, with a unique design and the State of the housing. My question is that I use my win7 on it, but USB is not handled properly. I may be able to keep the device run faster the message, but if I know that USB 2.0 connectors, you need to use it but not at full speed. Idea?
    And another question can I post messages disappear at startup? Connected permanently front USB not display, and the chassis fan not (really they are not connected, the fans go to the thermometer to control information, before us, because you don't need kids )

    Hello donmacko,

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the Forums of HP, I would like to draw your attention to the Guide of the Forums HP first time here? Learn how to publish and more.

    I understand that you are having problems on your desktop with the speed of your USB ports, and I would be happy to guide you to a resolution!

    I'm sorry, but to get your question more exposure, I suggest posting in the trade forums, since it is a commercial product. You can do it

    http://h30499.www3.HP.com/T5/business-PCs-Compaq-Elite-Pro/BD-p/BSC-271

    I hope this helps!

    Concerning

  • you just bought a 3 surface thought is the surface pro 3. I'll still be able to draw on the surface 3?

    I really want to a computer that allows me to draw and paint. I'll be able to do it on a surface of Microsoft 3?

    Absolutely, he should be able to handle this with apps like fresh paint or my last favorite, sketchbook (of Autodesk, makers of AutoCAD and other popular software titles).

    3 of the Surface is slower because it uses a low cost (and decrease the speed) processor, but it doesn't have a cooling fan since this chip works without a lot of heat, so it has the advantage of greater autonomy.  I've just price it and see how it works for you, you probably have some time before you can exchange it at the store.

  • Alienware 17 R2 (early 2015) freezes when fans went to max speed

    Shortly after startup & at random subsequently, my 17 R2 crashes when the left fan runs at maximum speed for a few seconds is then immediately freezes again when the right fan runs at maximum speed for a few seconds. Anyone know what's the deal?

    4980HQ, 16GB mem, 980 M

    Thank you all for your help. All my questions have been answered. Phone info Technical Support, video test "Cannot run" is a software problem with the test itself and will be fixed with the next update for it. The PC freeze is intentional Alienware BIOS programmers to ensure operation correct fan and only happens once per boot. My heat problem is partially due to the insufficient power of the 180 Watt power brick. The laptop was trying to squeeze more power from 180W power supply he could provide. That it caused the current limit, stop the power supply when the laptop has attracted 197 watts while playing games (by my measurement with an ammeter of work). This required that I unplug the power supply from the wall outlet to restore power. I have since received a 240-watt replacement power supply. Still, the system gets very hot but not like it was before. The power of the laptop now pull it at 227 Watts during the game. The draw excessive is a serious problem and will damage the power brick, if this happens too often, it would be in my case. It could also have negative effects on the laptop itself over time due to the hunger of power system. The battery took full charge for about 20 minutes before she reached 20% of power and strangled all for giving me the time to close everything and restart. So if anyone out there knows a power problem, you must contact the technical support and replace your power brick with a brick of 240W power 180W. My system is as follows.

    Windows 8.1, CPU - 4980HQ, 16 GB of memory, nVidia 980 m, 256 GB SSD, 1 TB of HDD, USB 3.0 Blu - Ray external USB 3.0 external 2 TB HARD drive.

    PS - The ammeter is calibrated every 6 months & is correct. 01%

  • Trolling after the marks left by the drawing tools.

    After update to animate CC today, I noticed a problem which is severely moving down my workflow.

    After every race I do (whether with the brush, brush or pencil tool), there is a second 1-4 break that occurs before the program completely ends to treat STROKE and the registrant on the canvas. This makes it very difficult to predict the consecutive brush strokes and also animate very slowly.

    Similarly, the program seems to take its sweet time after I click on a box to fill with the paint bucket tool, especially when close gaps is turned on. The program takes anywhere between one and ten seconds to determine if the form can be filled in, then fills or not. During this long break, I can't do anything in the program and have no other choice but to wait and see what happens.

    Someone has an idea of what I can do to fix the lag spikes?

    I use Windows 10 and the latest version of Adobe animate CC.

    A few new features.

    I found the cause of brush lag spikes. Make sure that when you use the Paintbrush tool to enable 'painting as a Fill. Make sure that the object drawing mode. This greatly improved the recording of brush speed.

    However the fill tool still has considerable lag. Has anyone found a way to make work more quickly without having to turn off the narrow gaps?

Maybe you are looking for

  • HP 6005-t: AMD Phenom II X 6 1090 t. Black Edition in a HP 6005-T motherboard?

    This model is the full size PC 6005-T and I'd like to put my amd ahtlon x 6 1090 t. inside. I know that there could be a problem if it does not FIT because of 938 pines against 939 so I'd be careful to see that he does and maybe a power issue 95w (?)

  • Fatal error for version Skype 6.18

    Hello everyone, I recently noticed (lika many other users) that older versions of Skype are no longer supported and cannot connect. So I decided to download and install the latest available version, only to receive a very strange error at startup: "u

  • Update keeps repeating

    KB2756918 recent update installs successfully, but when I turn on, update prompt is displayed again.  What happened three times and there are now three showing in the history of the update.  Y at - it an easy solution for this please?

  • For Windows vista: Startup Repair couln t repair problem

    I am trying to repair a laptop from a friend, but I'm new to this kind of thing and it's a problem starting. I don't think I have a hardware problem because I have the video but I can't load the operating system and I ranstartup repair, but he could

  • Post-it notes 'compatibility mode' delivers on Storm

    We have a recurring problem with OS 4.7 and the storm. It goes like this: a customer has a curve (or other older device) and the modernization of a storm. When they migrate to the new device, he puts on our OS version 4.2 of the application to the st