Search found 13 matches

by mahan
Tue Nov 15, 2016 9:42 am
Forum: Game Programming
Topic: Rendering text on screen (bitmap font)
Replies: 8
Views: 11855

Re: Rendering text on screen (bitmap font)

MrTAToad wrote:I've got the base system going for proportional bitmap font system, and as such it works well.
Sounds useful. Is this something you'd care to share?
by mahan
Tue Jul 19, 2016 7:45 am
Forum: General Discussion
Topic: Newbie Questions
Replies: 10
Views: 6554

Re: Newbie Questions

For example, suppose I want to embed a calculator on a web page (maybe a very complex one). I would normally write this in pure Javascript. Can I use Spiderbasic instead? I'm not entirely sure what "windowed" applications are in the context of web pages. Well Windowed means that SpiderBas...
by mahan
Thu Jul 14, 2016 7:21 am
Forum: Tricks 'n' Tips
Topic: ISO8601 WeekOfYear() function
Replies: 0
Views: 2252

ISO8601 WeekOfYear() function

The WeekOfYear() function is a complement to the existing Date()-functions in the library. In some regions, such as the Nordics, the week of the year (or more commonly referred to as just the 'week') is widely used for time planning. Link to more info: https://en.wikipedia.org/wiki/ISO_week_date Fun...
by mahan
Mon Jul 11, 2016 11:23 am
Forum: Coding Questions
Topic: Resize Event
Replies: 4
Views: 2322

Re: Resize Event

This is probably due to code generation optimization in PB, where PB-functions that are not "called" by PB-code are not included in the generated target.

Is it possible to use the internal functionality of PB to achieve what you want? Like BindEvent or something?
by mahan
Sat Jun 18, 2016 2:43 pm
Forum: General Discussion
Topic: Export & Debug
Replies: 1
Views: 1740

Re: Export & Debug

Usually following how languages/compilers/IDE's traditionally work an "export" (or "release compile" etc.) means you somehow prepare your application for shipping. Part of preparing for shipping includes removing debug information . The idea behind "debug" is to provide...
by mahan
Tue May 17, 2016 6:54 am
Forum: Game Programming
Topic: Rendering text on screen (bitmap font)
Replies: 8
Views: 11855

Rendering text on screen (bitmap font)

I've created a small lib for SpiderBasic to render text based on bitmap fonts on the active "Screen". The project (with a small demo) is available here: https://github.com/mahan/bitmapfont Since SpiderBasic does not support the command ScreenOutput() like in PureBasic for drawing operation...
by mahan
Wed Mar 30, 2016 7:19 pm
Forum: Feature Requests and Wishlists
Topic: A way to detect exported state at runtime?
Replies: 2
Views: 1770

Re: A way to detect exported state at runtime?

Thanks Fred, that works perfectly for my use case. :)
by mahan
Tue Mar 29, 2016 10:24 pm
Forum: Coding Questions
Topic: Something wrong with Static
Replies: 4
Views: 2900

Re: Something wrong with Static

Suggestions:
  1. Try using EnableExplicit, work out all the declarations, and see if you find any problem.
  2. Reduce complexity, until you pinpoint the problem.
Remember: A good bug report is the minimal program that exhibits the issue.
by mahan
Tue Mar 29, 2016 8:30 pm
Forum: General Discussion
Topic: SpiderBasic 1.30 final is out !
Replies: 19
Views: 8359

Re: SpiderBasic 1.30 final is out !

Fantastic amount of awesome improvements in 1.30!

Thanks a lot, Fred!
by mahan
Tue Mar 29, 2016 8:27 pm
Forum: Feature Requests and Wishlists
Topic: A way to detect exported state at runtime?
Replies: 2
Views: 1770

A way to detect exported state at runtime?

This is a combined question and request: Is there a way to detect at runtime that the running application has been exported? (Menu->Compiler->Export) I'm thinking about things like debug code or for instance special development functions like auto-login when running the application from the IDE, but...