-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|627|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-




Teasy

Designing a NES themed game for Blitz

3rd August 2009

If you have Blitz3D, you can output the scene to a texture (for any size you need), then draw that to the screen as a sprite/quad (for any resolution you want).


Teasy

A couple of questions

25th July 2009

Just sharing alternatives (Image.gif)


Teasy

The Powerbars

25th July 2009

Brilliant idea, Jay! (Image.gif)


Teasy

A couple of questions

30th June 2009

Jayenkai:
[code]
Type SIZE
Field Width
Field Height
End type
Function GetSize.SIZE( file$ )
Local size.SIZE
Local width, height
size = New SIZE
; fetch dimensions
..
width = ..
height = ..
; fill object before transport
*snip*


Teasy

timing problem

2nd March 2009




Teasy

timing problem

24th February 2009

Well, I guess that's because 1000 / 30 = 33.3 :)
E.g. Frames, ticks, seconds, FPS (Hz), etc.
Ah, to make the 2nd program more precise, try change this:
[code]
If (MilliSecs()-TIME)>=1000
TIME=MilliSecs():FT#=1.0
EndIf
[/code]
Into this:
[code]
D*snip*


Teasy

timing problem

19th February 2009

Off-topic: Following rules
Hey Hotshot m8 :)
You are a mindreader!
Only a few days before you wrote that I was working on it :)
It's progressing, but slowly :(
I guess I could post some first chapters somewhere if you'd like.
Please PM or email me ab*snip*


Teasy

Following rules

19th February 2009

For some reason people like posting a lot of off-topic stuff in threads (Image.gif)
I don't know whether I should follow the trend, completely ignore the off-topic post in the middle of a thread, or send PMs instead.
I guess I will do a little of both *snip*


Teasy

timing problem

18th February 2009

Yes, that's the beauty of examples 3a, 3b and 4 (Image.gif)
Enjoy ;)
Well, I have some more tutorials and stuff on my Blitz website: Linky
I think Decls (userlib declarations) are only available in later versions of Blitz3D and BlitzPlus. Maybe also*snip*


Teasy

timing problem

16th February 2009

Another example, but simple, using a Blitz Timer.
Also based on the timer itself.
The problem here is that the code will wait long times, which is time that could be spent on something else :P
This is due to WaitTimer, which simply sits and waits.
But,*snip*


Teasy

timing problem

16th February 2009

Basically the same as example 3, but without any Timers, e.g. everything manually, so you can see what happens 'behind the scenes'.
Using maths to find the number of frames, for maximum precision, though more CPU intensive, due to floating point division.*snip*


Teasy

timing problem

16th February 2009

Same as example 3a (high precision), but using Delta timing.
Only the line with TimerDelta is altered.
Example 3b
[code]
Include "TimerSystem 4b.BB"
; Sychronize time before creating timers
MilliSecs = MilliSecs()
; Create a timer at number of FPS
*snip*


Teasy

timing problem

16th February 2009

High precision example, using a timer based on seconds.
More CPU intensive though, due to the floating point division (or multiplication, in next example).
See example 3b for same as this, but using Delta timing (only 1 line is changed!) :)
Example 3a
*snip*


Teasy

timing problem

16th February 2009

Same as before, but using a higher precision (x10).
Note that examples 1 and 2 are very inprecise because they are not directly depending on seconds.
See next example for a better approach.
The reason why this is inprecise is because 1000 / 30 (or 300) *snip*


Teasy

timing problem

16th February 2009

Modified your code (from email) to use a single timer at predefined interval.
Next example shows the precision.
Example 1
[code]
Include "TimerSystem 4b.BB"
SetBuffer BackBuffer()
; Sychronize time before creating timers
MilliSecs = MilliSecs()
; C*snip*


Teasy

timing problem

16th February 2009

As you referred to my Timer System in email, I'll give some examples with and without my Timer System :)
Btw, I've updated my Timer System here at SoCoder to the latest version, with some new handy functions :)
Linky to code snippet
Direct copy/paste:
*snip*


Teasy

timing problem

16th February 2009

Well, as MilliSecs returns a value in milliseconds, the maximum precision is milliseconds.
But you can use any interpolation ('cut up') value which can make it seem as if the precision is higher :)
Below I'll post the stuff I was going to email to you :)*snip*


Teasy

Command and Conquer Save Game Backups...

16th February 2009

In C&C1 (on PC in 1994) each savegame is a single file with the format "SAVEGAME.???" which is simply sequential starting at "000".
I usually just extract them from a backup savegame archive straight into the game folder :)
(Heck, I'm still listening to *snip*


Teasy

Loading JPG's faster

20th January 2009

Another work-around is something that Snarty (from way back) used to do which is basically making your own LoadImage.
1) Either load the JPG in manually or use a DLL or someone else's JPG loader (I bet there's one already somewhere).
2) Copy the entire p*snip*


Teasy

Program For Peace

14th August 2008

Ah, I think that will change in the next 4000 years :)
For which we, and all other inspired people, lay the foundation right now (Image.gif)


Teasy

Program For Peace

14th August 2008

I've found that everywhere there's no war, there's peace.
And even in those places where there is war, there's peace amongst the majority of places and people.
So I believe it's not even needed to achieve world peace, as it's already here! (Image.gif)


Teasy

adnormal program termination on End?

3rd August 2008

Hey, I've noticed that there are various ways your own Blitz code can trigger various Windows failsafe mechanisms, all the way up to blue screens (Image.gif)
What I would do, is try running the program on someone else's computer, to see if the same erro*snip*


Teasy

What are you working on at the moment?

3rd February 2008

To go back on-topic..
Some screenies of experiments with faces :)
(Image.png) (Image.png) (Image.png) (Image.png) (Image.png)


Teasy

....?

3rd February 2008

Yeah, that sounds easy enough.
And then we can even use the code box as an actionlist/todo (Image.gif)


Teasy

....?

3rd February 2008

Cool, yeah..
I've added the option to my actionlist (so I don't forget)
to try and see how it will work in practice
to turn a full-fledged project into a CampFire :)
The current CampFires are quite small,
so I'm curious what will happen with something*snip*

Newer Posts More - Older Posts