Uncheck "Enable Scripting" in the application properties. If you have it enabled and you don't use any python scripts the game will crash after ~700 objects are created or destroyed. The crash won't occur when you have scripting enabled if some python scripts are run periodically.
You need to add an event to plot your objects on the minimap.
Something like this should work:
+ System: Always (every tick) -> Minimap: Clear terrain -> Minimap: Draw terrain Sprite with scale 2 [/code:3trlf03s]
You need to use a plugin to be able to change keys in game, either of these plugins should work.
Input System Plugin
Custom Controls Plugin
It will affect only the player colliding.
Develop games in your browser. Powerful, performant & highly capable.
Just add a private variable to the enemy sprite. That way each enemy will have their own hp.
The Ghost Shooter Tutorial covers how to do this.
[quote:3mypuo6u]Why did the state of the global variable change the number of records though?
It seems to be a bug with the SpriteFont object since it only happens when they are global.
Uncheck 'global' for the spritefont objects and the objects won't disappear.
Z Elevation just changes the visual distance the object is from the camera. Collisions aren't scaled when the Z Elevation is changed. You can change the camera distance with the application property "Eye Distance (3d)". Z Elevation can effect the draw order of objects if the layer property "3d layering" is enabled. An object will appear to be double size if it's Z Elevation is half the eye distance.
A blinking cursor is pretty easy. Here's an older example that I had kicking around:
http://dl.dropbox.com/u/5426011/examples/NumberInput.cap
Here's a example with all the required python files:
http://dl.dropbox.com/u/5426011/examples3/cursor.zip
made in 0.99.96
If you don't mind using python and have ctypes installed you can change the windows cursor for your app with this:
First add the window plugin to your cap. Then add this script:
from ctypes import * cur=windll.user32.LoadCursorFromFileA(r'C:\WINDOWS\Cursors\banana.ani') windll.user32.SetClassLongA(Window.AppWindow, -12, cur)[/code:3rgqnlqv] Put the script as a subevent of "Start of Layout" or some other event so that it is not run every frame. It only needs to be run once.
As an alternate to the editbox you can input numbers with the mouse&keyboard plugin.
Here an example to give you some ideas. It shows two methods that do the same thing.
http://dl.dropbox.com/u/5426011/examples3/NumberInput2.cap
Member since 15 Jun, 2009