Home Page Downloads Order Community Support
 

 

 
 

 

 

 

 
 

News Articles


    What's News in the PlayBasic world ? - Find out here.




 PlayBasic V1.65C BETA #20 (29th Dec,2017)

By: Kevin Picone Added: December 29th, 2017

PlayBasic V1.65C BETA #20 (Retail Compiler Only Beta) - (Avail for Registered Users ONLY) (29th Dec,2017)

     V1.65C Beta #20 virtually concludes the V1.65 clean up. In this build we are running on the new VM only. Which means all new instruction set and all new inner workings of PlayBasic... In this last build we're reconnected the Vm with the legayc debugger, which was previously rigidly hooked to the legacy VM making it break in later builds. In this version is almost back to normal, I say almost as the old interfaces are still there and there many be some routines still using them, but I'll tackle that in the clean up when building a release version in the new year.

     The new runtime brings us more number crunching performance, standard instruction set and is now separate from most of the command sets (some are built into the VM.. like strings or array commands) the generally command sets could be swapped without needing to constantly update the runtime. There's some features of V1.64P that are NOT in the new VM, which are mainly some of the compiler optimizations that it would make to user byte code, one that comes to mind is the serialization of the Type / Structure accesses.. Which can give a massive performance benefit in code that focuses it's accessed on one structure of data.. I'm going to include this in V1.65, but wanted to get it working first.. then we can add some of my list of tricks

     Anyway, have fun.. there's bound to be some DEBUG messages etc in this.. but it's the future !

See Work In Progress Thread for downloads and more information.

Link     




 Ideas For Making a game Video Series

By: Kevin Picone Added: December 7th, 2017

PlayBasic Live: Making a Game series - So what type of game prototype ??

I would like to make some more video series that show hands on, line by line coding of a game.. but what game(s) would be interesting ??

The thing to consider is the series need to be interesting enough for people to want to watch, not require tones of media, or if so, there's enough free media packs out there that we can use to build a working prototype and supply the media to user so they can 'see' how things are used..


Related Links:

- Rygar Arcade

PlayBasic Video Blog Ep #0006 (2017-12-09)


Visit the thread to add your ideas what types of games we should make for our tutorial series
Link     




 PlayBasic LIVE : Intro Converting Amos To PlayBasic

By: Kevin Picone Added: December 3rd, 2017

PlayBasic LIVE : Intro Converting Amos To PlayBasic (2017-12-03)

     Welcome... Today we'll take a look back at a free tool created to help Amos & AmosPro programmers begin the conversion process to PlayBasic. The tool is simply called AmosToPlayBasic and can be found on our forums and includes conversion support for the core Amos to PlayBasic syntax through to exporting the various hidden data banks within Amos such as Sprites/Pictures/Samples and Music modules.

         Note: Later in the video we go through how to improve the conversion by adding your own Amos command tokens to the instruction sets.

Video:



Link     




 PlayBasic Challenge #29 - Checker Board effect

By: Kevin Picone Added: October 25th, 2017




Challenge #29 - Checker Board effect


This challenge is to create one of the classic demo scene effects which I refer to as checker board, but it might be called something else (see video for example). The objective on the surface seems simple, but if you just draw layers of BOX you'll run into fill rate bottlenecks the more layers you add.. So perhaps there's another way of create the same effect without just drawing all the layers..

So for those that take this challenge on, you'll learn many fundamentals ranging from 2d drawing primitives / optimization / culling. Which will of course l translate into your everyday BASIC programming skills.

Good luck !

Example:

Link     




 PlayBasic LIVE: Creating a library (Xml Parser)

By: Kevin Picone Added: October 19th, 2017

     Welcome, in this series of videos I take a step by step approach to creating function library in PlayBasic. The created library loads and parses XML files and is largely build on the fly, with no planning, so it's warts and all, but the goal here is to give you a birds eye view of how you might go about building your own libraries. Have fun !

Watch On youTube PlayBasic LIVE: Creating a library (Xml Parser)

For Source codes and videos PlayBasic Live: Creating a library (XML Parser) Series

Link     




 Solution to the starting module Win32DPNetgame error

By: Kevin Picone Added: October 16th, 2017

     if you're trying to re-install PlayBasic and getting an error like the following "Error Starting Module 'Win32DPNetGame'" then this should help you.

    Terl said "I had the same problem at first but found the solution: You need to enable DirectDraw. Go to control panel>programs>programs and features, under that is "turn windows features on or off. Look for section for legacy, expand it and check direct play. All will work fine then."

    We hope that helps...

Read Thread-> Error starting module Win32DPNetgame
Link     




 PlayBasic Tutorial: From Variables To Arrays (Intro To Arrays)

By: Kevin Picone Added: September 21st, 2017

PlayBasic Tutorial: From Variables To Arrays (Intro To Arrays) 2017-09-17

    Welcome programmers, in this tutorial we're going to introduce the concept of arrays starting out from variables. So first we build a simple game loop that controls two characters using only variables. The characters are represented on screen as filled circles. After we get up to speed with the variable version we then move onto how we can use parallel integer arrays to store the various properties of the characters. The array version can control as many or as few characters as you like, which is the benefit of Arrays over Variables

Want to learn 2D game programming ?


Video:



Example #1 - Variables Example

PlayBasic Code:
   Xpos1  = 400
   Ypos1  = 300
      
   Xpos2  = 100
   Ypos2  = 100

      
   setfps 20   
      
  do    

    cls rgb(10,20,40)

	; Draw circle 1        
     Circle Xpos1,Ypos1, 32, true
   
     Xpos1 = Xpos1 + 2
     Ypos1 = Ypos1 - 4
  
   	Xpos1 = WrapValue(Xpos1,0,800)	  
    	Ypos1 = WrapValue(Ypos1,0,600)	  
   
   

	; Draw circle 2      
     Circle Xpos2,Ypos2, 64, true
   
     Xpos2 = Xpos2 + 2
     Ypos2 = Ypos2 + 2
    	Xpos2 = WrapValue(Xpos2,0,800)	  
    	Ypos2 = WrapValue(Ypos2,0,600)	  
  
     sync
  loop
  
 



Example #2 - Arrays Example - Using Parallel Arrays To Store Character Properties
PlayBasic Code:
 Setfps 20

   Number_Of_Characters = 50 

   dim Xpos( Number_Of_Characters  )
   dim Ypos( Number_Of_Characters  )
   dim size( Number_Of_Characters  )
   dim Xspeed( Number_Of_Characters )
   dim Yspeed( Number_Of_Characters )
   dim Colour( Number_Of_Characters )
   
   
   for lp = 1 to Number_Of_Characters
 	     Xpos(lp)  = rnd(800)
 		  Ypos(lp)  = rnd(600)
 		  Size(lp)  = rndrange(16,50)
  		 Xspeed(lp) = rndrange(-5, 5)
   	 Yspeed(lp) = rndrange(-5,5)
   	 Colour(lp) = rndrgb()
   next
   
   
  do 
  	
  	   Cls rgb(0,400,20)
  	   
  	   for lp=1 to Number_Of_Characters
  	      
  	      Radius = Size(lp)

  	      circlec xpos(lp),ypos(lp),Radius,true,Colour(lp)
  	      
  	    //  xpos(lp) = Xpos(lp) + Xspeed(lp)
  	    //  ypos(lp) = ypos(lp) + Yspeed(lp)
  	      
  	      xpos(lp) = wrapvalue(xpos(lp) + Xspeed(lp) , -Radius, 800 + Radius)
  	      ypos(lp) = wrapvalue(ypos(lp) + Yspeed(lp) , -Radius, 600 + Radius)
  	        	      
  		next
  	  	
  	   Sync
  	loop

Link     




 PlayBasic (retro) Video Gallery

By: Kevin Picone Added: July 22nd, 2017

     PlayBasic (retro) Video Gallery

     Hi, just wanted to let you know that we've been creating lots of videos of some the older PlayBasic game / demo projects from over the years. Check em out on the forums.

     Watch PlayBasic (retro) Video Gallery

Link     




Viewing Page [1] of [27]

Back - Next

 

 
     
 
       

 

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