DaVince's Example Files

From Spheriki

Jump to: navigation, search

This article is filled with all kinds of example games I made. Not only that, but some explanation goes with them, too. I hope it will be useful to all you newbies and novice scripters! :)

Comments? Use the talk page.


Contents

Common RPG stuff example pack

I made four example projects on how to do some common RPG stuff. The examples include showing a textbox, 'warping' from one spot to another, making a menu (custom code), and a simple event system.


Example 1 - simple text box & warp with effect

Download

This example file shows you how to do a simple warp (with graphical effect). It also shows you how to draw a text box on the screen.


Example 2 - Textbox waits for key & simple character selection screen

Download

In this example you will learn how to make the engine wait for a specific keypress, using two loops. You will also learn how to make a custom menu system that doesn't use the system script or Flik's script.


Example 3 - Event system

Download

You'll learn about a simple way to manage and alter your event stream in a game. It's very simple, so no cool extras, but it's functional.


Example 4 - The Menu Returns

Download

The menu system returns to show you how to change the menu code to make a game menu (or Pokémon style menu). Press escape to activate it.


Rotating & Bouncing image objects

Download

This example shows you how to use objects to make them work seperately, and how you could draw them all on screen.


Animation test

Download

This is code that shows how you can make an animation out of a bunch of images. It is timed by using SetFrameRate().

Personal tools