NEWS ARTICLES


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



 PlayBasic V1.44 Released

By: Kevin Picone Added: July 3rd, 2006

Category: All

PlayBasic V1.44 Released

This release represents another leap forward in PlayBasic core technologies, with many new invaluable expansions being added to PlayBasic engine. These extensions have seen the addition of Pixel Perfect and combination collision modes, Arrays fields in User Defined Types, more MMX and runtime optimizations. Giving you even more power for you buck!



Pixel Perfect Sprite Collision

With the addition of a traditional Pixel Perfect collision mode, PlayBasic's sprite collision engine arguably second to none. Not only does the engine handle pixel level intersections between rotated/scaled/flipped/distorted sprites. But it can also handle mixed intersections between sprites using vector collision and sprite pixels.

This gives users seven types of mixable sprite collision. Ranging from Rectangle, Rotated, Circular, Sliding, Sticky, Polygon Shapes (Convex, Concave, Complex!) and now Pixel Perfect. With the added combination of manual methods at your disposal for detecting things like if sprites are within regions / polygons / line of sight and the nearest collider. Which will simplify your AI programming dramatically.



Array Fields in Types ?

You might be familiar with user defined types being able to hold various types of individual data (integers/floats/strings) in the one unified collection. Often this is all that you need, but what if you want to a store a list of items inside your type ?. This is where Array Fields give us some added flexibility.

Array fields are defined just like regular fields. The only difference is we need to give PB the dimensions of this field. So if we were creating a type to hold the basic characteristics of a character in your game, then it might look like this.

code Example

Type Character
Status
Xpos,Ypos
ItemCount
Items$(100); defined a sub array array to hold this characters list of items
Endtype


Once a type has been defined to the compiler, we can create variables or even arrays (i.e. arrays in arrays) of this data type using the dim statement. You can then store and retrieve information from this array field just like any other field.




PlayBasic V1.44 Is Available Now

Well, while we continue brewing up the next PB update, PlayBasic V1.44 Demo+Retail editions(patches) is currently available for download on the homepage.

Download PlayBasic V1.44 Demo



PlayBasic V1.44 Patches

Signup and Download Latest Patches from our forum





 

 
     
 
       

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