Search found 31 matches

by Kruno
Sun Apr 06, 2014 1:56 pm
Forum: General Discussion
Topic: PB's simple optimisations maybe a saving grace
Replies: 3
Views: 1733

PB's simple optimisations maybe a saving grace

http://channel9.msdn.com/Events/Build/2014/4-587

It is a talk about compiler optimisations and how next generation CPUs are able to see further into the code than before, thus allowing certain optimisations to get in the way of a faster program.

I remember every so often Fred bringing up the topic ...
by Kruno
Sun Aug 18, 2013 8:14 am
Forum: Feature Requests and Wishlists
Topic: It is possible the IDE / FormDesigner turn opensource?
Replies: 21
Views: 4621

Re: It is possible the IDE / FormDesigner turn opensource?

Was there any point during the development of the PB IDE you guys wanted to use something like the Eclipse platform?
by Kruno
Fri Jul 26, 2013 5:06 am
Forum: Feature Requests and Wishlists
Topic: More blog posts
Replies: 10
Views: 3915

Re: More blog posts

I have enjoyed reading the technical blog posts about PB. I too vote this request up.
by Kruno
Tue Jul 16, 2013 3:27 pm
Forum: Announcement
Topic: PureBasic 5.20 beta 20 is out
Replies: 360
Views: 142303

Re: PureBasic 5.20 beta 6 is ready to test !

"DisplayTransparentSprite" no longer works inside a [Start/Stop]Drawing block. My code works perfect without [Start/Stop]Drawing, and so I am happy to take it out.

Has something happened to the underlying API? Is it because of DirectX 11 that we no longer need [Start/Stop]Drawing?

Nice work PB ...
by Kruno
Thu Jul 04, 2013 6:32 am
Forum: Coding Questions
Topic: PB 5.20 - Color in DisplayTransparentSprite()
Replies: 10
Views: 5909

Re: PB 5.20 - Color in DisplayTransparentSprite()

Is there an update on this? It would be nice to be able to have colored sprites.

You can have coloured sprites as the user above you has posted.


Alpha.i = 128

DisplayTransparentSprite(ASpriteNo, 0, 0, Alpha, #Red) ; Set the colour here
DisplayTransparentSprite(ASpriteNo, 0, 0, Alpha) ; Draw ...
by Kruno
Thu Jun 13, 2013 5:15 pm
Forum: General Discussion
Topic: 5.12 Release?
Replies: 2
Views: 1727

Re: 5.12 Release?

I know for a fact that 5.12 is coming out this time next week, and it will have OOP support to its fullest. PB will become the next Smalltalk.

Sorry, I thought this was a funny response.
by Kruno
Sun Jun 09, 2013 12:42 pm
Forum: Off Topic
Topic: Secret to success in programming
Replies: 49
Views: 8479

Re: Secret to success in programming

I do not know about any one else but I seem to use a combination of pen & paper, various different pieces of software, such as mind mapping, general diagramming inc. UML, Excel, and ToDo lists.

I find that a combination of things facilitate my brain usage differently, and therefore I can never just ...
by Kruno
Tue Jun 04, 2013 9:20 pm
Forum: Coding Questions
Topic: ProcedureReturn with pointers
Replies: 2
Views: 788

Re: ProcedureReturn with pointers

Thanks for clearing that up. :)
by Kruno
Tue Jun 04, 2013 8:43 pm
Forum: Coding Questions
Topic: ProcedureReturn with pointers
Replies: 2
Views: 788

ProcedureReturn with pointers

In the manual it mentions that if you do not specify a return type that anything could return.
It also mentions you should not mix integers with pointers because of obvious issues with portability, i.e. win32 & win64 integer types and pointer sizes.

I like being able to return a pointer.
Can I ...
by Kruno
Sat Jun 01, 2013 8:59 pm
Forum: General Discussion
Topic: PB thoughts
Replies: 3
Views: 1460

Re: PB Rant

I forgot to rename my title to "PB thoughts" right after I hit submit. :P

I am just a little overexcited. I haven't been a big fan of BASIC other than QBASIC because it was the first language I had ever used when I was 9. It is very exciting to see a viable version of BASIC that has been around a ...
by Kruno
Sat Jun 01, 2013 2:01 pm
Forum: General Discussion
Topic: PB thoughts
Replies: 3
Views: 1460

PB thoughts

I realise the open source PB thing didn't work out so I am not suggesting it. If a few selected members of the PB community had access to a source control PB it would mean quicker bug fixes for small issues. A fix here, and a fix there would help Fred over the long run and because it is only a few ...
by Kruno
Fri May 31, 2013 7:26 am
Forum: Feature Requests and Wishlists
Topic: Lambdas and/or inner procedures?
Replies: 0
Views: 579

Lambdas and/or inner procedures?

Any chance? :wink:
by Kruno
Fri May 31, 2013 7:24 am
Forum: Coding Questions
Topic: Does FlipBuffers block?
Replies: 3
Views: 912

Re: Does FlipBuffers block?

FlipBuffers() blocks to wait for a vblank if vsync is enabled. I'm not sure what you're getting at here when it comes to your FPS counter.

I was checking to see how long the event loop is taking. It was 66ms and I wondered why. I set the frame rate to 15fps. I just used the timer to tick off when ...
by Kruno
Thu May 30, 2013 1:55 pm
Forum: Coding Questions
Topic: Does FlipBuffers block?
Replies: 3
Views: 912

Re: Does FlipBuffers block?

Just found out that it indeed does block. I timed it myself.

Time to remove the FPS counter and add my own timers.

Thanks EllapsedMilliseconds! :)
by Kruno
Thu May 30, 2013 1:17 pm
Forum: Coding Questions
Topic: Does FlipBuffers block?
Replies: 3
Views: 912

Does FlipBuffers block?

I can simply use a timer to simulate the draw fps, but the answer to this question could save me 30 seconds worth of effort.