KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

KiXtris - Arcade days revisited
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    KiXforms Forum Index -> Fun & Games
View previous topic :: View next topic  
Author Message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Wed Jun 21, 2006 8:37 am    Post subject: Reply with quote

Yap,

had to work all saturday and the days before were also extremely busy for me .

In the mean time I have the thing at least not dying silently on entering the name to the hs table, well, it doesn't update the table as a side note ...
Think I have used some workarounds that are no longer supported nowadays ...

Will update you and the rest this week ... I half promise that Rolling Eyes

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Thu Jul 19, 2007 2:52 pm    Post subject: Reply with quote

Back in business after more than a year Huge Grin

Shawn wrote:
Why not just let the events happen by themselves - does this make things better or worse:


It would surely improve performance but would introduce kind of cheat:
One would be able to move a brick after it hit the ground all the way from left to right before the next collision check would happen.... On very rare occasions one may also be able to move a brick through another one.

Will check the timer thing Jooel mentioned, and re-check the sequence of things to happen (should give me quite a headache after 3 1/2 years Head Hurts )

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Fri Jul 20, 2007 6:53 am    Post subject: Reply with quote

Hmmm ....Shawn, can you verify that one can't change an object's event assignment on the fly?

bogus code:
Code:


select
    case this
        $timer.Ontick = "Do this"
    case that
        $timer.Ontick = "Do that"
    .
    .
    .
endselect

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Fri Jul 20, 2007 9:38 am    Post subject: Reply with quote

YUK! Dizzy

I have introduced three different timers for Left-, Right- and Up-Key.
It seems to happen that other events interfere with the KeyState loop.
The worst effect is rotating bricks leaving artefacts at the current position which other bricks collide with.

I think that introducing timers for KeyState handling require a complete redo of the logic used. Mad

Think I will first take care of the Highscorelist bug (Enter closes the parent form)

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Fri Jul 20, 2007 11:33 am    Post subject: Reply with quote

Hey Cappy - yeah, one can change the event handler on the fly - do it all the time.
Back to top
View user's profile Send private message
benny69
KiXforms Advocate
KiXforms Advocate


Joined: 30 Oct 2003
Posts: 567
Location: Lincoln, Ne

PostPosted: Fri Jul 20, 2007 11:55 am    Post subject: Reply with quote

I also can verify that, that is one of the things that makes KFD possible.
_________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)
Back to top
View user's profile Send private message Send e-mail
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Fri Jul 20, 2007 12:06 pm    Post subject: Reply with quote

Strange thing ... didn't work for me in this case.
Must be me then.

Hey, I fixed the Highscore Table form bug (Entering a Name destroyed the complete form): I used .Dispose to 'hide' the textbox and the label which used to work in a recent build but nowadays destroys the complete thing Very Happy


K, I'll attach v. 1.02a which fixes several things with the current dev build but not yet have a timer driven KeyState loop

Enjoy

[edit: LOL!!! For the first time I managed to clear the complete grid before level end and what did I get? array reference out of bounds Tired ... Will fix and update]

[edit again: Now fixed]



KiXtris.kix
 Description:

Download
 Filename:  KiXtris.kix
 Filesize:  924.93 KB
 Downloaded:  1416 Time(s)


_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Fri Jul 20, 2007 3:44 pm    Post subject: Reply with quote

K,

fixed the array reference out of bounds thing.
Above attachment is updated.
And to celebrate my first 'No line left on end of level' I added an additional 5000 points of level bonus on these occasions Cunning

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Fun & Games All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group