Search found 28 matches

by mothdragon
Tue Jul 31, 2012 9:08 am
Forum: GUI Toolkit & 2D Graphics
Topic: Emptying the Key Buffer
Replies: 1
Views: 24085

Emptying the Key Buffer

How do I go about emptying the Key Buffer so that the same key press isn't reacted to by two different things?
by mothdragon
Sat Jul 28, 2012 11:32 pm
Forum: eC Language
Topic: Converting numbers to strings...
Replies: 1
Views: 22995

Converting numbers to strings...

Hi, just a quick question... How do I convert a number to a string? For instance, I have an integer, and I want to display that in a Label. But the Label::caption requires a string of characters or a literal string.... Going through the API I've found various methods to convert a string to a number,...
by mothdragon
Sat Jul 28, 2012 10:46 pm
Forum: General Discussion
Topic: Facebook API
Replies: 3
Views: 39376

Re: Facebook API

The big reason that I'm interested in Facebook, is because of the advertising, and the traffic. The advertising is already there and expected, so it's not like "adware." And because of the traffic, it has the potential for reasonable income while still making the app free for everyone. If ...
by mothdragon
Fri Jul 27, 2012 10:17 am
Forum: GUI Toolkit & 2D Graphics
Topic: Scaling Sprites
Replies: 2
Views: 26748

Re: Scaling Sprites

Oh I found it. Its the Stretch() method in the Surface Object. Guess I was looking in the wrong spot, I had been looking at the Bitmap Object... :oops:
by mothdragon
Fri Jul 27, 2012 9:42 am
Forum: GUI Toolkit & 2D Graphics
Topic: Scaling Sprites
Replies: 2
Views: 26748

Scaling Sprites

I thought I remembered at one time having come across some kind of scaling function for Bitmap Objects, but I can't seem to find it now... Is there a scaling function (either up or down) that can be used when displaying a Bitmap, or a portion of the Bitmap(ie sprite)? What I want to do is to take a ...
by mothdragon
Mon Jul 23, 2012 11:08 pm
Forum: GUI Toolkit & 2D Graphics
Topic: Displaying Sprites
Replies: 3
Views: 29384

Re: Displaying Sprites

I suppose that's reassuring, but that really confuses me... I've attached a .7z of my project.

**Correction, I attempted to attach the .7z file... but I have no idea where it went, and no link appeared in my post. I'll email it to you directly.
by mothdragon
Mon Jul 23, 2012 9:34 pm
Forum: GUI Toolkit & 2D Graphics
Topic: Displaying Sprites
Replies: 3
Views: 29384

Displaying Sprites

Okay, so this isn't all of the executable code, but it is the pertinent stuff. All of this code, in my mind should result in the displaying of a 72x72 graphic, from a tile sheet where the tile in question is from (0,0) - (71,71)... I've adapted this from the KBState sample, but so far as I could tel...
by mothdragon
Fri Jul 20, 2012 7:35 am
Forum: General Help
Topic: Design Advice
Replies: 3
Views: 27425

Re: Design Advice

So then if I'm keeping all of my program within one Window, how do I get the contents of the different forms to be in the same Window?
by mothdragon
Thu Jul 19, 2012 9:24 pm
Forum: General Discussion
Topic: Facebook API
Replies: 3
Views: 39376

Facebook API

Okay, I admit I haven't looked much into this yet, but in order to use the Facebook API it's recommended that you use Flash or Java or some other some such. Apparently, only the insane are likely to try doing it in C++(though a few have)... So... How easy would it be to use the Facebook API with eC?...
by mothdragon
Thu Jul 19, 2012 9:10 pm
Forum: General Help
Topic: Design Advice
Replies: 3
Views: 27425

Design Advice

Hi guys, I'm working on a Maze game right now, and having a hard time shaking my procedural history (and my DOS history)... Trying ever so hard to embrace this OOP philosophy, but just can't seem to get it... So I thought I'd ask for some design advice.... In my head the general thinking for this is...