View Full Version : SaveOurCities with tbgl/UI/OS :)
Lionheart008
14-11-2008, 22:53
hi dear thinbasic friends,
this one is a new little update of my Intro scene (preview) for the Save_our_Cities_Game I will create the next weeks and month...
- add new "OS" info box (if windows XP / -cannot test it for Windows Vista- works on your pc) before game-intro starts
- new "help" info box ...
- "fps" infoline
- "dimension" tube, but it may decrease the velocity of scene objects (???), I don't know...
all work in progress...
nice evening, make critics if you like it or not... but it's just the intro scene...
ps: there is much work to left for the original game scene (must laugh!)... but a new space scene will come with planets and some more fantastic atmospheres :)
bye, Lionheart (Frank)
Petr Schreiber
15-11-2008, 00:05
Hi Lionheart,
nice demo, it reminds me of 80's, don't know exactly why :)
One thing - although it runs 250FPS on my PC, the movement does not seem smooth.
Do you use TIMER function somewhere in your code?
Petr
Lionheart008
15-11-2008, 00:13
hi petr:)
yes, timer functions... and not smooth...
a) for the UI dialog (callback function), I am thinking it's ok...
CASE %WM_TIMER
RenderMyImage(hCtrl)
CASE %WM_CLOSE
TBGL_ReleaseCanvas(hCtrl)
DIALOG KILL TIMER CBHNDL, %myTimer
and
b) hmh, perhaps this one is so mad...
TBGL_PushMatrix
TBGL_Translate sin(timer+i),cos(timer+i),-i*2
TBGL_Rotate 90,1,0,0
TBGL_Torus 0.25,6
TBGL_PopMatrix
thanks for testing the example :)
- you cannot sleep??? must laugh... thinbasic it's really a time killer (very nice one!) ;)
Lionheart :D
Michael Clease
15-11-2008, 00:18
Must admit I dont understand what its supposed to do but it runs and the FPS jumpes from 70 - 250+.
Petr Schreiber
15-11-2008, 22:31
Hi Michael,
I get the pumps too, but Lionheart send me the code and I think I know the reason, there are few oddities in code ( nothing terrible ).
Petr
Lionheart008
18-11-2008, 17:47
hi dear thinbasic friends, now again a little update for the demo_intro_preview (SOC 009c) of save our cities, it's just ready the Intro-Scene... :)
A) some movements/changings of objects and a new spaceship are included...
- new movement of the galaxy with a special (very simple) trick ;)
- new open window when you are pushing the StartLevel button (but without function)
- the fps rate pumping was improved a little ( I hope so...)
- when your pushing the space bar the scene tilt ;)
- new blending function ("B") included and Filter ("F), and Light on/off ("L") Keys
(perhaps the blending functions causes some strange fps ratings...) but I have done it as a good example to understand all these stuff ;)
B) after this intro-scene I will make up my mind for laserbeam weapons and open a new tbgl scene with the space-entity with objects... that will take some days I am sure... I would like to create a scene with space ships landing on planet and flying through cities...
best regards, I am glad when you are testing the scene and make some critics... :)
best wishes, Lionheart (Frank)
good evening :)
Petr Schreiber
18-11-2008, 18:06
Hi Frank,
it starts to look like some hallucination ;D
I don't know how the actual game will look, but if you will keep the output that complex, it could confuse some players.
I think it is better to use blending effects as spice, not main ingredience.
I am looking forward to next release.
Thanks,
Petr
EDIT: As I read my post, it sounds quite rude. It was not meant to be "evil"
Michael Clease
18-11-2008, 18:26
Sometimes less is more!