Please login or register.

Login with username, password and session length
Advanced search  


For WME related articles and tutorials visit WME Resource Center.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - CMK2901

Pages: 1 2 [3]
Technical forum / AddScore function...
« on: January 27, 2007, 01:25:52 AM »

I'm implementing a simple scoring feature in the game, but I'm still a bit foggy on how to use your own functions.  I've created a pretty simple function for adding to a score text, but I'm not sure WHERE to put it and HOW to use it.  I tried sticking it in the game.script file and calling it from a scene object script, but it didn't work.  I guess I'm not sure if I have to add an "#include" everywhere I want to use it (a bit tedious) or somehow attach it to a game would be ideal if I could somehow stick the function onto the Game object and just call Game.AddScore() when I need it.  Is this possible?

Technical forum / Re: Can't get TTF to Display
« on: January 27, 2007, 01:21:45 AM »
Thanks a lot, it works now.

Technical forum / Can't get TTF to Display
« on: January 26, 2007, 08:32:34 AM »
There's probably just a stupid mistake somewhere; maybe someone else can catch it.

I've imported a .ttf font and created a .font file with the following definition:

Code: [Select]
  SIZE = 12
  FILENAME = "fonts\scifi2.ttf"

  COLOR { 0, 0, 0 }
  ALPHA = 255

The required font, "scifi2.ttf", is definitely in the fonts folder.  However, the game is using a default font when I preview it or use it in game.  Am I missing something?

Ah, yes.

I was using an 800x600 render from Blender in .PNG format, though .TGA format had same problem (didn't try BMP).  The image was greyscale (PSP tells me they are 8-bit).  The image would display mostly correct, but there were black dots/lines which appeared randomly across the picture, mostly in bright areas.  Converting the PNG file to 24-bit color (but still in black and white) seemed to fix the problem.  Doing this does increase the file size a bit (about an extra 70kb), but otherwise, it's fine.

Technical forum / Switching to Wintermute...and perhaps a mild Bug Report
« on: January 25, 2007, 03:45:06 AM »

Just a few hours ago, actually, I discovered Wintermute and have been a bit on the fence about converting my current project to use it...I'm currently using Adventure Game Studio.  The game I am working on is an FMV adventure, and could greatly benefit from Wintermute's Theora video features and higher resolutions, but I have to admit I don't like the idea of learning a new engine.  Before I switch to Wintermute, I was wondering if there are any notable features of AGS that I could possibly sorely miss in Wintermute...I'd hate to put all my files into Wintermute only to find a key feature is missing.

Also, maybe a bug report, but my game is entirely greyscale (50's sci-fi b-movie vibe) and I noticed that the backgrounds display incorrectly in-game.  This was easily fixed by changing the file to 24-bit color from greyscale, but I figured that might just be an overlooked bug.

Pages: 1 2 [3]

Page created in 0.049 seconds with 19 queries.