May 18, 2013, 12:13:34 AM
News
:
Amos To PlayBASIC V0.27
-
Export & convert Amos / AmosPro source code + Media to PlayBASIC
(16th,May,2013)
Home
UnderwareDesign
>
PlayBASIC
>
Resources
>
Source Codes
>
PlayBasic Source Code Index
Pages: [
1
]
« previous
next »
Author
Topic: PlayBasic Source Code Index (Read 4627 times)
Member
Development Team
PlayBasic Source Code Index
«
on:
July 11, 2008, 07:27:30 PM »
Visit
http://www.playbasic.com/sourcecodes.php
for more source codes
PlayBasic Source Code Forum Index
Last Updated: 16th,Sep,2012
Browse Source Code Forum
Screen
Changing Screen Styles (in windowed mode)
Full Screen Windowed Mode
Retrieving a list of all supported screen modes
Screen/Image Direct Memory Access
Screen To Front
Setting Playbasic Screen Windows Icon
Game Maths & Game Physics
Bouncing Ball (Gravity)
Moving a fixed distance towards a target
Moving Object Between Two points
Moving Platforms
Moving a character/object in any given direction
Percent inside a range
Line Intersect Circle (Ray intersection)
Calc Ray Reflections
Get Decimal places
Fixed Point library
Get Sign Bit from Integer
Using Sin/Cos to make an object oribit
Check If a point is inside a box/rect region (Manual PointInBox)
Optimization Ideas - Manually Finding The Closest Object
Spanned Jump
Simple Rope Demo
Arrays / Lists / Types
Lists
Type List Example
Linked List of Typed Pointers
Generic BaseList
Manual Link List Control
Sorting
Bubble Sort Typed (Character) Array
RAddix Sort
Better Bubble Sorting
Quick Sort Typed Arrays
Misc
Array Allocation Management Examples
Passing Arrays into functions by Reference
Load TextFiles To String Array
Type Collections / Inheritance
Get Array Pointer
Load & save Integer Arrays
UNDim all arrays
Dynamic Array Allocation
Swapping Typed Cells In Arrays
Rotate 2D Arrays
Strings / Text / Parsing
Parse Properties from a tag (XML)
Checking e-mail address syntax in PB
Trim Right Word
PackedBin - Bin$() replacement
Split To Array On Word
Convert RGB colours to/from Delimited Strings
Dictionary Searching
UFF - poor man's XML
Quines(self-reproducing code)
Formating Floating Point Numbers
Word Wrap
-
A Smart Word Wrap
FindChr - Find the next occurrence of a character within a string
Convert Forum Posts To Html(limited)
Load File To String & Save String As File
Encrypt Strings / Simple Game Data Protection
Programming Concepts
Local Variables
Job Processing
Manual Type Caching
Dynamically Creating Object From Data Statements
Entity Example (Loading Game Levels)
Abstraction Layer
Triggers Time Based Model
Fonts
Bitmap Font example
Custom Bitmap Fonts
Loading Bitmap Fonts With Alpha Channel
Images
Introduction To Animation
Load Image Strip/Pages to an Array
Soften Image With Alpha Channel
Convert Text into an AFX image
Alpha Channel
Display a Loading Screen while loading image media
Safe Images
ScaleImage Replacement
Draw Mirrored Image Section
Calc Used Image Memory
Drawing a Grid (graph paper)
Using FreeImage to Load Images with Alpha Channel
Load GIF into PB
Storing Images in data statements
Create Picture collage
Detecting the RGB pixel format mask
Creating Mip Maps
SyncImage
Hex grid images
Custom Scroll Image
Create Shadowed Image
Create Mirrored Image
Image data file save-load
Global / Local Animation
Palette Mapped Image Functions
Image Spooling (Scrolling Terrain Data Via Streaming)
Make Shadowed Thumbnail
Sprites
Animation
Duncki's Sprite Animation
Collision
Walking On Sprites
Walking On Sprites (Collision Map)
Sprite Collision With An Image Mask
Sprite Collision (Pixel Perfect) using Shapes
Shape Sprite Collision
Misc
Rotate Sprite To Point (turn sprites towards a point)
Sprite Handles & Rotation
CenterSpriteHandle on X and Y axis separately
Drag Sprites
Dynamic Sprite & Image Creation
Sprite Flip & Sprite Mirror
Dark Basic Styled Sprite Command
Sprite Local Data
Z Depth Perspective For Sprites
Colours (RGB)
The RGB() function
Detecting RED, GREEN & Blue in pixels
RGB to HSL
Simple color picker
Depth Cued Perspective Boxes (RgbDepthCue)
Graphics (Dot / Line / Box / Polygons & Shapes
Shapes
Explode Shape
(Vector Explosion)
Draw Vector Shapes
ImportShape From RasterToVector
Using Shapes For Dot Particles
Shape Confetti
Shape Clock
Misc
Draw a Glass Sphere
Using TextureQuad to Scale Images
Drawing a Checker Board
Superellipses / Supershapes on the fly
Fat Lines
Silly Paint
Drawing a Heart
Bezier curves
Circle Tech Demo
Make Bordered Box
GUI / MENU
Bubble Tip For PB
Vista-style popup window for your game/application
simple windows
MenuGUI
Windows Menu DLL
Text PopUps
Make and use Slider Bars
Menu pop up
MessageBox Library
4 Way Menu Pop Up/Dialog
Custom File Select Dialog/File Request
Pop up Text Reader
Drag Rectangles/ GUI Selection
Action GUI
Graphical Effects
Particle Candle
Sample Sinus Wave for Beginners
Applying a Classic Sine wave effect to an image [size]
TV Static / Black & White Random Noise
Sunny 2d Fractal Mountain
Scrolling Tile Fade
Video feedback copyrect screen effect
Anti Aliased Shape Rendering Effects (line mode)
2D Particles Example
Video FeedBack
BlitImageAlphaMultImage (Per Pixel Image Colouring)
Image Fading using BlitImageAlphaMultcolour
Sinus Bob Chain
Star Fire Particles
Textured Twister
Fireworks
Twitch Face
Snow
Mandelbrot fractal
Water Line Effect
Fire
motor-engine 001
Grassy Field Depth trick
Heat wave
Z rotate / Zoom Example
Cached Sprite Rotation
Scrolling Cubes
Spinning BackDrop
Simple Sinus Plasma
Barber Shop Scroller
Motion Blur Via Alpha Channel
Blurring an Image
Cross Fade with Static
Floor Lighting & Fake Shadows
Vortex
Mirrored Floor
Sparkler
Perspective Parallax
Banner Fade In/Out Effects
Unlimited Bobs/Sprites Illusion
Timer Based Reveal Effects
Meta (phong) Blobs
Multi Layer Gouraud + Sprite Filtering Effect
Blur-O-Vision
Mip Mapped Image Zoomer
Gouraud Radar
Cross Fade (By Pixel)
Textured Tunnel
Rotated Column
Point Lighting an Image
Tree Parallax
Game Mechanics
Animation
Understanding Motion
A.I
Character Avoid Player
Character Avoid Player(2)
Field Of Vision / Field Of View (FOV) (Game AI)
Line Of Sight - (Clever Coders Challenge #10)
Movement Path Library Example
A* (Astar) path finding demo
Snakes with independent bob movement
Card Shuffle
Collision
Advanced Platform Collision
Platformer Pixel Collisions Via Ray Casting
Spacial Partition (inter object) Shape Collision
Mario Demo / 2D platform Game
Platform Game Movement Based on Ray Intersection
Controls
8 Direction / Way Movement Example
8 Direction / Way Movement Example with jumping
Gun Sight
Timing
Consistent Game Timing (Timer Based Movement)
Timer Based Movement Example
Timer Demo
Basic timed movement
Timer Based Movement with Vsync Tweening
Vsync / Frame Rate Scaling
Timer Based Life Spans
Misc
A Simple Game Frame Work
High Score Management Library
Linked List / SpriteHit Game Frame Work Example
Isometric
Shadow Of The Beast demo
500 Rebound Sprites
Selective Tile Map Refreshing
Random Terrain Generator for 2D Artillery Game
beat'em up AI!
2.5D Rugby
Ideas for Managing A Character Inventory (Typed Arrays)
Image Spooling (Scrolling Terrain Data Via Streaming)
Object Management
Score Board / Hi Score Table
Sample Games
Boat Racing
Duck Shoot (Shooting Gallery)
Text Adventure (Basic framework)
ASCII based Shoot-em-up (port)
JetPak Source (PB1.60)
Jigsaw Puzzler
TicTacToe
Another Rebounding Ball Example
Mouse Buster
A simple game 1: Pong
Tetris Clone
The molecule game
Play Frogger
Play Sobotage
Acey Ducey - An exciting Card Game
Card Match (Memory Game)
Very Basic Lunar Lander
Snake Tail Game Example
ROCK, PAPER, SCISSORS
The Game Of Memory
2D Platformer Revisited - Parallax Version
Shoot The Alien
Tron
Tetris
Puzzle 15
Matopeli
Example Tools
PhotoView Source
(
Screen shots
)
Cameras
Smoothly Scroll my Camera
Wrap Scrolling
Using Cameras to Follow player's
Basic Cameras
Maps & Worlds
Play Mapper Loader V0.01
Loading Exported Play Mapper Mini Levels
ASC II Maps
Copying Tile Data With Wrapping
Universal TileLoader
QueryWorldRegion
Convert Map To Collision Worlds
Sprite to world alignment
Function to use different block image grids
4 Way Map Movement (Moving through tunnels)
3D Programming
Simple Direct X File Loader (Direct 3D)
3D City Scape
Perspective Platformer Demo (Using Perspective Sprites)
3D Terrain (Using Perspective Sprites)
3D Dot Sphere
Manual Projection/Scene Perspective
Input / Keyboard / Mouse / Joystick
Inputbox 2.0 for PlayBasic
Inputbox for PlayBasic
Infinite Mouse Control
Overriding the break key
MouseWheel
Key names from Scancode
Custom Input
Extended Custom Input
Capture Mouse Movements
Mouse Key Pad
Input Gathering
Sound & Music
Playing Random Music
Files / Disc
Make Relative Path
Function To Create Sequential Filenames
File And System Dates
GetAllFilesInDir
Small bitmap images to Data file
Creating Your Own Basic File Format Example
Compare Files
Check If Device Is Writable
Copy Bytes Between Files
Buffered file copy (copy data in blocks)
Get All Files In Folder (Sorted)
Compare Files
Duplicate File Remover
AVI Streaming
Writing AVI (movie) Files
Saving Frame Sets (Making Videos)
Data
Using Restore To Search For String Labels
Memory & Banks
LoadBank / SaveBank
Load/Save Saving String Data Via Banks
Timer() / Time / Date
Convert / Get Numeric Date from Date
Using Timer() to create delays in your program.
Timer Demo
Function to convert Time Milliseconds to Hours,Minutes & Seconds
Banshee Studios Timing routine
Analogue Clock
Day of the week calculator
Perpetual Calendar
Compiler / RunTime
Enumerate Errors
Simple Formula Evaluation / Compilers
Debugging
Managing the PB Debugger's Trace Mode
Logging Library
Looking for More PlayBasic Source Code ?
Check out the
Source Code Forum
for more snippets...
Logged
Kevin Picone
www.UnderwareDesign.com
Pages: [
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> News
=> General Support
=> Chat
=> Competitions
===> CasualCreations
===> HeroesQuest
===> Ballistic Blasters
===> RetroRemakes
===> CleverCoders
-----------------------------
PlayBASIC
-----------------------------
=> FAQ
=> Beginners
=> Game Design
=> 3D Development
=> Show Case
=> Resources
===> Source Codes
===> Tutorials
=====> BASIC_GAME_PROGRAMMING_FOR_BEGINNERS
===> User Sites
===> Graphics, Music & Sound
=> Tools
===> PlayMapper
===> PlayShape
===> PlayFont
===> PlayPackager
-----------------------------
Dtab
-----------------------------
=> About
=> General
=> Tuition
-----------------------------
Dedicated Forums
-----------------------------
=> Games And Apps
Loading...