Cloud's Diary (Wip)


Yes, a quicksort would be better. How often is this code called and in which context? Perhaps better optimizations are possible.
 
In GLBasic you can use the SWAP command to swap values. You could then just use - SWAP drawlist[j],drawlist[j+1] and ignore the Val=bit completely.

You are also using "OR" 900 times every time you run this section of code - you'd be better separating them as the code reads "IF this OR that OR the other." It has to execute the whole line, whereas a standalone "IF" line terminates immediately if the IF is false. Or use CASE - pretty much of a muchness though.
 
@Magic Sam

I optimised this routine now, but i can test only on evening, but i will let you know the results. Many thanks.
[doublepost=1472235293,1472209160][/doublepost]yeeeeay xD
Cloud on :wiz: is now running on stable 60FPS!!

Quicksort was helping a bit, also the advices from "iprice".
But most time was wasted with very stupid fault of me:$ (drawing sprites where not needed :D)
 
Wow sounds good.
I would be glad helping to build a PND with your newer Files for the Repo.
Will try the newer SDL too because Vsync is not supported by the rescent aviable Version.

I do not know anything with programming but i am glad when i can Help :D
 
Hi all

Here you will find a developement build for :wiz:.
It's the first level now incl. BGM.
Push button "A" to make a drop.
With "SELECT" you can change between 3 types of button layouts:
1: Southeast=RIGHT
2: Southeast=RIGHT+DOWN
3: Southeast=DOWN
feedback is welcome

Information for :p&|a: i will separate to Pandoraforum

Thanks for everyones help :)
 

Attachments

  • cloud 000.020.zip
    3.3 MB · Views: 891
upload_2016-9-2_20-34-55.png


:) just give me a week, as i am focusing more on :wiz: at the moment.
But i will not forget :p&|a:

EDIT: 09.09.2016 -> https://pyra-handheld.com/boards/threads/cloud-wip.78089/
 
Last edited:
Back
Top