FAQ (FREQUENTLY ASKED QUESTIONS)


     Have a question about PlayBasic ? - Well you've come to right place then. Here you'll find all of the most commonly asked questions, categorized for your convenience.


FAQ: Newcomer Questions
Revision: V0.21 - Last Updated: February 25th, 2013


Question: Do I have to learn some programming in order to use PlayBasic ?

    Answer:Yes - While PlayBasic was designed to incorporate as much game related functionality as possible (Graphics & Sound etc etc) at it's core, PlayBasic is a programming language. So in order to write games or applications, you'll have to at least learn some programming. There's no getting around this fact. That doesn't mean you have to be programming guru however, but A little knowledge can get you a long way!
    


Question: How difficult is PlayBasic programming ?

    Answer:Easy->Intermediate - PlayBasic is based upon the B.A.S.I.C family of languages. BASIC languages use a more English styled approach to the programming instruction names (the code we use), making them much more legible and easier to learn for new comers. So if you have some previous experience with another BASIC, this knowledge will no doubt be mostly transferable.

     If not, then there's lots of examples and tutorials in the HELP Files (See HELP -> ABOUT SECTION) and of course here on the forums.
    


Question: How do I write a Hello World Program in PlayBasic ?

    Answer:



PlayBasic Tutorials

    


Question: How long does it take to program a game in PlayBasic ?

    Answer:This is a really common question and it's easy to see why people ask it. But really, it's not something we can give a definite answer on. How quickly you can program a game relies upon; not just your programming skills, but your design, graphics, sound and organization skills also.

     One common mistake many new programmers make, is they design games that are beyond the scope of a single person (or even small team) to create, regardless of programming skill.

     If you're just starting out, then my advice is to keep your game ideas as simple as possible. As your skill set improves, so will your ability to build more complex programs efficiently.

     For example. Lets say a new programmer (with no previous experience) decides to try and remake the classic 'Pong' (by Atari) Video Game from the 1970's. While this might seem trivial for more experienced programmers, for a new user, it may take them a few weeks to grasp enough programming knowledge and programming concepts to build a working prototype of the game on their own. Alternatively, the more experienced programmers could probably build the same program in a few hours.
    


Question: Can I learn Programming if I'm a time poor / a slow learner / easily distracted ?

    Answer:Yes - Learning to program is just like learning any other skill. If you tell yourself you can't, you won't. Above everything else learning requires a commitment. So a big part of getting started, is simply making time to focus on learning (reading tutorials / help files / examples, asking questions and most importantly tinkering about with your own ideas). Initially, it's all going to seem too difficult, as there's a lot of tidbits we need to grasp all at once. But every time you learn something new, the mountain will slowly become a molehill.
    


Question: Where can I find Example Source Codes for PlayBasic ?

    Answer:You'll mostly find source code examples in the resource forum (Get Source Code) or on the PlayBasic.com Resources. But there's code examples spread throughout the entire PlayBasic forum.
    


Question:Where can I find PlayBasic tutorials ?

    Answer:The first place you should look is in the ABOUT section of the PlayBasic HELP files. To help you get started on your programming journey, we've included a number of comprehensive tutorials into the PlayBasic manual. These cover everything from Variables / Arrays / Types / Loops / Linked Lists / Maps etc through to some more advanced topics.

     Initially though, We strongly recommend at least reading the Variables, ArrayBasics, Comparisons, If / Thens & Loops tutorials from the PlayBasic Help section. These will give you a good kick start into not only writing your own programs, but understanding how other peoples programs work.

     Beyond that, We also have a dedicated PlayBasic Tutorial forum, located in the resources section of the forum.

     But be sure you check out the Game Design forum and of course the "How to Make Games In PlayBasic" FAQ.

PlayBasic Tutorials Forum Index

    


Question:I'm reading the forums/tutorials but why does some information seem to contradict other information ?

    Answer:Yeah unfortunately this is a common issue when learning a new programming language. It often occurs when a programmer asks for advice / help and get a broad spectrum of answers. Where perhaps the approaches or tips given seem to clash. What we have to remember, is that there's multiple solutions to any one programming problem. When combined with changes and advancements that might have been make to the programming language over time and we've definite source of confusion.

     For example, if you asked the question "How Do I Add One to a Variable In PlayBasic ?" say five years ago. Then you'd most likely get a couple of responses like ?

     Ie.

         Variable=Variable+1

     or

         INC Variable

     Since they were the only available options back then but Today, we've also got the ++ and += operators. So somebody today might now respond with.

         Variable ++

     or

         Variable += 1


     Wow, so there's four ways to performa simple addition ?, but which one if right ? Surprisingly, None of them! They're all valid. But you might read a tutorial or forum post on the subject, where various users prefer one approach over another. So it may just be a personal preference, or perhaps the material is obsolete. Now obviously, If simple programming problems can be the source of confusing answers, you can imagine that more complex programming problems, have many potential solutions.

     Knowing that, the best advice we can give you when asking questions, is be prepared to outline your problem in detail. The more information you give, often the more 'accurate' the response. All too often people ask vague / general questions and are surprised when they get a general answer. Perhaps there's 20 solutions to a general problem, but no ones going to go throw every possible combination at you, without trying to narrow down down what approaches fits your goal best.

     The forum moderators do try and 'update / cross reference' obsolete material when made aware of it. If you find some old post or example that you feel needs updating or cross referencing then Email Support.
    


Question: I think i've found a problem with PlayBasic, where can I post bug my reports ?

    Answer:If you've found a bug, then you should post a bug report on the PlayBasic Bugs forum / board. To do so, first read the submission guidelines carefully, if your issue isn't already listed then write a short concise post with sample code showing the problem clearly. We take eliminating bugs from the software very seriously, which is why the bug board is heavily moderated. So please do your due diligence when making submissions. The better your bug report, the more chance there is for a solution.

     If you're unsure about the behavior of your code, then it's probably best to post an excerpt in the beginners or general boards first. If you've found an issue that needs fixing, then a moderator will either post a report for you, or request you do so. Never assume we're aware of every little behaviorally oddity, we're not! So if you don't post, it's unlikely to get addressed.

     Can't find the Bugs forum ? - This bug forum is only visible to forum members. So sign up ! Don't send reports via email, they will not be answered.
    


Question: Advantages/Disadvantages of PlayBasic?

    Answer:


     Advantages:

     Fast compile and execute times, many built in commands, native world / camera / map support graphics commands, collision support (circle, rect, polygon shape, pixel perfect and combination's), tons of demo programs with source code and over 1200 pages of help files.

     But, the number one advantage is it's still being passively developed. In fact we've continued updating and improving the classic version of the product for almost ten years, even after it was discontinued, which is unheard of at this price point.

     Disadvantages

     Virtual Machine based, 2D / 2.5D Focused, lots of new jargon for new programmers to wrap themselves around and not as wide spread as other main stream languages such as Visual Basic.



    


Question: What's the difference between PlayBasic V1.64 and the prototype PlayBasicFX editions ?

    Answer:The main difference between the two editions is the interface/requirements they use for rendering.

     PlayBasic V1.64 and bellow editions use the DirectX / DirectDraw interface behind the scenes. Direct Draw is a very old interface today and was designed primarily for 2D hardware acceleration (blitter). Using it, ensures broad compatibility across virtually all pc's on the market, but you loose 3D acceleration. So PlayBasic V1.64 revisions are last edition that uses this interface.

     PlayBasicFX V1.7x (and above) are a complete rewrite and use the Direct 3D interface for rendering. While moving to the Direct 3D architecture means PB can take advantage hardware 3D acceleration technology found in the majority of PC's available today. The change of interfaces does mean some behavioral changes between the two editions. Effectively the Direct3D powered editions of PlayBasic are optimized for 3D hardware acceleration, over older fall back methods found in the older editions of PB. So it's not uncommon to have to alter old programs to perform better (or even work) with the new Direct 3D powered editions.
    


Question: I've seen some 3D demos, so what makes a PlayBasic a 2D language ?

    Answer:PlayBasic focuses on giving the user a set of built command sets that were designed to make 2D game creation easier. Incorporating such things as sprites / maps / shapes and various other 2D elements. These elements generally only exist on a 2D plane though.

     The demo's you may have seen, most likely build 3D scenes / objects using some of PlayBasic lower level polygon drawing commands. These commands require a lower level of understanding from the user and no doubt use features like vertex rotation, translation / clipping, user defined meshes and drawing of texture mapped triangles. While these can be used to replicate 3D scenes in PlayBasic 1.64 and bellow today, they should be considered experimental. As the rendering is missing perspective correct texture mapping and surface to surface intersection. (Ie. There's No (per pixel) z buffer). So these things are more for the hardcore / retro demo coders then new users.
    


Question: Can I use 3rd party 3D engine with PlayBasic ?

    Answer:Yes. Currently there's wrappers for ColdSteel and Blitz SDK avail. See the 3D development forum.

     Also, PlayBasicFX V1.7x prototype editions include a basic 3D engine.
    


Question: Can I make applications with PlayBasic or just games ?

    Answer:Yes you can. While PlayBasic was designed with a focus on traditional 2D graphics programming / gaming, you can also make regular applications with it. For example, I routinely use it for lots of none game related tasks, such as file & web site building processing.
    


Question: Can I sell my games made with PlayBasic / PlayBasicFX ?

    Answer:Yes. if you've created a game using the PlayBasic Retail edition, you can happily sell it. Royalty Free!
    


Question: Can I create a game creator or programming languages with PlayBasic / PlayBasicFX ?

    Answer:No, not without the appropriate licensing. Contact Kevin Picone to discuss terms.
    


Question: Is PlayBasic currently Object Oriented ?

    Answer:No. It's possible to The language is
    


Question: Are there plans to add Object Oriented support to PlayBasic ?

    Answer:Yes, but only in the longer term. It won't included for PlayBasic V1.64 revisions. We had been planning to introducing some light weight OO into classic versions of PlayBasic, but that's now being held over to future editions (V2.xx level revisions at least) .
    


Question: What is PlayBasic Syntax similar to ?

    Answer:PlayBasic shares syntax similarities with various BASIC dialects. The most obvious would be other basic gaming languages such as Amos (on the Amiga) and Dark Basic (PC). But there's also a hint of Visual Basic and even some C ism's also.
    


Question: Does the retail version build Machine Code EXE's ?

    Answer:No. Exe's run upon a custom Virtual Machine. The Retail version (See Retail FAQ ) of PlayBasic comes with two editions of the VM. A Release and Debug version. The Release has all 'safe code' (array bounds, media validity etc ) removed and therefore gives a higher code execute speed. Which depending upon the program can be anywhere from 1% to 20%. The Debug edition, will give approximately the same performance as running your project through the IDE.
    


Question: Will future version produce Machine Code Exe's ?

    Answer:Yes, it's certainly planned, But not in the immediate future.
    


Question: How do I compile a PlayBasic program ?

    Answer:The PlayBasic IDE/compiler package offers four compiler modes (in retail editions). Generally you'll be using the F5 function to compile and run your program as you make it. This option performs a memory resident compile and execution of the result, without having to drop an EXE file every time. If you want to build an EXE, the use the F4 option. This compiles the code and builds the EXE file.

     F4 = Compile + Build EXE (Retail Only)

     F5 = Compile + Run

     F6 = Compile + Run With Full Debug

     F7 = Compile + Run With Partial Debug (Recommended)
    


Question: How / where to buy PlayBasic ?

    Answer:You can secure order either through the Home Page or directly at shareit.com.
    


Question: How good is support ?

    Answer:Supporting a programming language is difficult, but we make a conscious effort to keep PlayBasic users informed of all developments in the PlayBasic world on the forums & home page. Forum members can access the PlayBasic blogs (we highly recommend you read it!) plus other things such as bug reporting and regular upgrade & enhancements through the maintenance boards. Active Members can also contribute to PlayBasic's development with feature requests and live beta testing.
    


Question: What's the purpose of the PlayBasic Forum ?

    Answer:While the PlayBasic developers use these forums to convey information to the PlayBasic user base (customers or otherwise), this is not an ask the developers site. The intended purpose of the boards is for PlayBasic users to interactive with other PlayBasic users. This interaction could be asking questions of each other, sharing game making tips / ideas / resources (graphics / music / sounds / code), posting WIP screen shots, code snippets or even tutorials to help others out.

     So in order to get the best out of this resource, then you should really need dive in and participate. Sitting on your hands certainly won't help making your game ideas a reality!
    


Question: Where can I ask questions about PlayBasic ?

    Answer:On our PlayBasic support forum. If you're completely new to programing, then the beginners board was made for you. Moreover, If your feeling a little more adventurous, then post a 'Hello World' thread in the introductions board. Tell us a bit about yourself (background, programming / game making objectives, favourite retro games, favourite console/hand held etc etc.. whatever takes your fancy really).
    


Question: I've made a Game / Demo / Application with PlayBasic, Where can I show it off ?

    Answer:If you've developed something in PlayBasic (any version), then make sure you show others in the community what you've been working on (or have completed) by posting a thread in the SHOW CASE board.

     We routinely highlight user games posted in the showcase forum, both through the PlayBasic IDE's new reader, and in the PlayBasic.com Gallery and on Facebook.
    


Question: Why should I buy PlayBasic instead of (some other game engine)?

    Answer:We're not into hype based marketing like some vendors in this market who're constantly selling you the dream without a hint of the reality. Therefore, you should purchase the language / tools that are the best fit for the types of programs / games you wish to create. That's really not something we can choose for you.

PlayBasic features

Downloads


    


Question:Can I expand PlayBasic via using my own DLL's ?

    Answer:Yes, although this currently limited to the Retail editions. The learning edition doesn't inlcude DLL support.
    


Question:Are there any commercial games done with PB?

    Answer:Some, but not many. Most people just make freeware games, check out the gallery
    


Question: What platforms are supported?

    Answer:Only Windows using DirectX at this time, other platforms might become supported in the future (Mac / Linux & Mobile platforms).
    


Question: Is PlayBasic ANSI BASIC compliant ?

    Answer:No.
    


Question: I've been testing some of the examples but can't to figure out how to Stop / EXIT them ?

    Answer:You can force most of the examples to stop by either pressing the ESC key or clicking the close icon [ X ]on the PlayBasic window (if it's in windowed mode)
    






     Can't find the answer to your question in the FAQ ? - Then make sure you sign up on our PlayBasic Forums and ask!

 

 
     
 
       

(c) Copyright 2002 / 2024 Kevin Picone , UnderwareDesign.com  - Privacy Policy   Site: V0.99a [Alpha]